Classes | |
class | Description |
Public Member Functions | |
GeoReader (ReadGeo *) | |
virtual | ~GeoReader () |
virtual void | geometry_engine (Scene &, GeometryList &out) |
const char * | filename () const |
bool | readTextureWCoord () |
Protected Member Functions | |
virtual void | _open () |
Protected Attributes | |
ReadGeo * | geo |
Friends | |
class | ReadGeo |
The ReadGeo creates one of these for each file it reads. Each different file type is a different subclass. Each subclass defines a Reader_Description object, all of these are searched to figure out what subclass to use.
The base class for GeoReader both provides default implementations and serves as the "NullReader" that is used when the type cannot be figured out.
GeoReader::GeoReader | ( | ReadGeo * | i | ) |
Subclasses should have constructors that match Reader_Description::constructor.
GeoReader::~GeoReader | ( | ) | [virtual] |
The destructor must close any files (even though the ReadGeo may have opened them).
void GeoReader::_open | ( | ) | [protected, virtual] |
This is called before the first call to geometry_engine(). It should do any expensive setup.
void GeoReader::geometry_engine | ( | Scene & | , | |
GeometryList & | out | |||
) | [virtual] |
Read geometry from the file into the local GeoInfo geometry data structure.
References DD::Image::Op::debug().
Referenced by DD::Image::ReadGeo::create_geometry().
const char* DD::Image::GeoReader::filename | ( | ) | const [inline] |
The filename
bool DD::Image::GeoReader::readTextureWCoord | ( | ) | [inline] |
read texture texture w coord
©2009 The Foundry Visionmongers, Ltd. All Rights Reserved. |