Public Types | |
typedef GeoDescription | Description |
Public Member Functions | |
GeoReader (ReadGeo *) | |
virtual | ~GeoReader () |
virtual void | _open () |
virtual void | geometry_engine (Scene &, GeometryList &out) |
const char * | filename () const |
bool | readTextureWCoord () |
virtual bool | enableAxisKnob () |
virtual void | get_geometry_hash (Hash *geo_hash)=0 |
virtual int | knob_changed (Knob *k)=0 |
virtual void | _validate (const bool for_real)=0 |
virtual void | append (Hash &newHash)=0 |
virtual Iop * | default_material_iop () const |
Protected Attributes | |
ReadGeo * | geo |
Friends | |
class | ReadGeo |
Reads data from a geometry file.
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.
|
virtual |
The destructor must close any files (even though the ReadGeo may have opened them).
|
virtual |
This is called before the first call to geometry_engine(). It should do any expensive setup.
|
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().
|
inline |
The filename
|
inline |
read texture texture w coord
References DD::Image::ReadGeo::readTextureWCoord().
|
inlinevirtual |
enable the axis knob or knot for the current plugin This is a temporary hack fix until per-mesh animation over-rides can be introduced.
|
pure virtual |
Get the geometry hash.
Referenced by DD::Image::ReadGeo::get_geometry_hash().
|
pure virtual |
Implements the knob_changed callback for readers.
|
pure virtual |
Implements the _validate callback for readers.
|
pure virtual |
Has the state chnaged?
|
inlinevirtual |
Default material
References DD::Image::SourceGeo::input_iop().
©2020 The Foundry Visionmongers, Ltd. All Rights Reserved. |