k3d::ireset_properties Class Reference

#include <ireset_properties.h>

Inheritance diagram for k3d::ireset_properties:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void reset_properties ()=0

Protected Member Functions

 ireset_properties ()
 ireset_properties (const ireset_properties &)
ireset_propertiesoperator= (const ireset_properties &)
virtual ~ireset_properties ()

Detailed Description

All nodes must provide sensible default values for properties, but some nodes may be able to provide better default values depending on their inputs.

For example, a node that manipulates NURBS knot vectors may set an initial vector based on the order of an input curve. A node that modifies mesh texture coordinates would pick a default coordinate array to modify, out of the arrays available in an input mesh, etc.


Constructor & Destructor Documentation

k3d::ireset_properties::ireset_properties (  )  [inline, protected]
k3d::ireset_properties::ireset_properties ( const ireset_properties  )  [inline, protected]
virtual k3d::ireset_properties::~ireset_properties (  )  [inline, protected, virtual]

Member Function Documentation

ireset_properties& k3d::ireset_properties::operator= ( const ireset_properties  )  [inline, protected]
virtual void k3d::ireset_properties::reset_properties (  )  [pure virtual]

Implementations should update property values using whatever logic is appropriate. Note that this is the only time (other than in a constructor) when a node is allowed to modify one of its own properties!

Implemented in module::nurbs::edit_knot_vector.


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

Generated on Mon Mar 21 07:41:59 2011 for K-3D by doxygen 1.6.3