COPASI API  4.40.278
CLImageTexturizer Class Referenceabstract

#include <CLImageTexturizer.h>

Inheritance diagram for CLImageTexturizer:
[legend]

Public Member Functions

virtual CLTextureSpecoperator() (const std::string &filename, const std::string &basedir)=0
 

Static Protected Member Functions

static std::string to_absolute_path (const std::string &filename, const std::string &basedir)
 

Member Function Documentation

◆ operator()()

virtual CLTextureSpec* CLImageTexturizer::operator() ( const std::string &  filename,
const std::string &  basedir 
)
pure virtual

Implemented in CLSimpleImageTexturizer.

◆ to_absolute_path()

std::string CLImageTexturizer::to_absolute_path ( const std::string &  filename,
const std::string &  basedir 
)
staticprotected

Takes a filename and tries to find out if it is a relative or an absolute path. If the file can not be found either way, an empty string is returned.

References CDirEntry::makePathAbsolute().

Referenced by CLSimpleImageTexturizer::create_texture_for_image().


The documentation for this class was generated from the following files: