#include <GeoReader.h>
Public Types | |
typedef GeoDescription | Description |
Public Member Functions | |
GeoReader (ReadGeo *) | |
virtual | ~GeoReader () |
virtual void | _open () |
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 |
mFnDeprecatedInNuke14 ("geometry_engine(Scene&, GeometryList&) has been deprecated, use getScene() instead.") virtual void geometry_engine(Scene & | |
Public Attributes | |
GeometryList & | out |
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.
|
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().
©2024 The Foundry Visionmongers, Ltd. All Rights Reserved. |