Nuke binary plugins 15.0.5
 
Loading...
Searching...
No Matches
DD::Image::GeoReader Class Referenceabstract

#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 Iopdefault_material_iop () const
 
 mFnDeprecatedInNuke14 ("geometry_engine(Scene&, GeometryList&) has been deprecated, use getScene() instead.") virtual void geometry_engine(Scene &
 

Public Attributes

GeometryListout
 

Protected Attributes

ReadGeogeo
 

Friends

class ReadGeo
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ GeoReader()

GeoReader::GeoReader ( ReadGeo i)

Subclasses should have constructors that match Reader_Description::constructor.

◆ ~GeoReader()

GeoReader::~GeoReader ( )
virtual

The destructor must close any files (even though the ReadGeo may have opened them).

Member Function Documentation

◆ _open()

void GeoReader::_open ( )
virtual

This is called before the first call to geometry_engine(). It should do any expensive setup.

◆ filename()

const char * DD::Image::GeoReader::filename ( ) const
inline

The filename

◆ readTextureWCoord()

bool DD::Image::GeoReader::readTextureWCoord ( )
inline

read texture texture w coord

References DD::Image::ReadGeo::readTextureWCoord().

◆ enableAxisKnob()

virtual bool DD::Image::GeoReader::enableAxisKnob ( )
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.

◆ get_geometry_hash()

virtual void DD::Image::GeoReader::get_geometry_hash ( Hash geo_hash)
pure virtual

Get the geometry hash.

Referenced by DD::Image::ReadGeo::get_geometry_hash().

◆ knob_changed()

virtual int DD::Image::GeoReader::knob_changed ( Knob k)
pure virtual

Implements the knob_changed callback for readers.

◆ _validate()

virtual void DD::Image::GeoReader::_validate ( const bool  for_real)
pure virtual

Implements the _validate callback for readers.

◆ append()

virtual void DD::Image::GeoReader::append ( Hash newHash)
pure virtual

Has the state chnaged?

◆ default_material_iop()

virtual Iop * DD::Image::GeoReader::default_material_iop ( ) const
inlinevirtual

Default material

References DD::Image::SourceGeo::input_iop().



©2024 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.foundry.com