HDK_Sample::SNOW_Visualize Class Reference

#include <SNOW_Solver.h>

Inheritance diagram for HDK_Sample::SNOW_Visualize:

SIM_Data SIM_OptionsUser

List of all members.

Public Member Functions

 GET_GUIDE_FUNC_B (SIM_NAME_SHOWGUIDE, ShowGuide, true)
 GET_GUIDE_FUNC_V3 (SIM_NAME_COLOR, Color,(1, 1, 1))
 GET_GUIDE_FUNC_B ("usebox", UseBox, false)

Protected Member Functions

 SNOW_Visualize (const SIM_DataFactory *factory)
virtual ~SNOW_Visualize ()
virtual void initializeSubclass ()
virtual bool getIsAlternateRepresentationSubclass () const
virtual void initAlternateRepresentationSubclass (const SIM_Data &)
virtual SIM_GuidecreateGuideObjectSubclass () const
virtual void buildGuideGeometrySubclass (const SIM_RootData &root, const SIM_Options &options, const GU_DetailHandle &gdh, UT_DMatrix4 *xform, const SIM_Time &t) const

Static Protected Member Functions

static void createBoundingBoxGuide (GU_Detail *gdp, const UT_BoundingBox &bbox, const UT_Vector3 &color)


Detailed Description

Examples:

SIM/SNOW_Solver.C.

Definition at line 202 of file SNOW_Solver.h.


Constructor & Destructor Documentation

SNOW_Visualize::SNOW_Visualize ( const SIM_DataFactory factory  )  [explicit, protected]

Examples:
SIM/SNOW_Solver.C, and SIM/SNOW_Solver.h.

Definition at line 1056 of file SNOW_Solver.C.

SNOW_Visualize::~SNOW_Visualize (  )  [protected, virtual]

Examples:
SIM/SNOW_Solver.h.

Definition at line 1063 of file SNOW_Solver.C.


Member Function Documentation

void SNOW_Visualize::buildGuideGeometrySubclass ( const SIM_RootData root,
const SIM_Options options,
const GU_DetailHandle gdh,
UT_DMatrix4 xform,
const SIM_Time t 
) const [protected, virtual]

Override this function to create custom guide geometry for this class. This method should add geometry to the gdp (if supplied), not alter anything that is already there. The xform will always default to an identity matrix. The gdp pointer or the xform pointer may be null, in which case the other should still be calculated.

Reimplemented from SIM_Data.

Examples:
SIM/SNOW_Solver.C, and SIM/SNOW_Solver.h.

Definition at line 1178 of file SNOW_Solver.C.

void SNOW_Visualize::createBoundingBoxGuide ( GU_Detail gdp,
const UT_BoundingBox bbox,
const UT_Vector3 color 
) [static, protected]

Examples:
SIM/SNOW_Solver.C, and SIM/SNOW_Solver.h.

Definition at line 1107 of file SNOW_Solver.C.

SIM_Guide * SNOW_Visualize::createGuideObjectSubclass (  )  const [protected, virtual]

Override this to create a custom SIM_Guide subclass. The SIM_Guide class controls how requests for guide geometry are translated into actual geometry creation.

Reimplemented from SIM_Data.

Examples:
SIM/SNOW_Solver.C, and SIM/SNOW_Solver.h.

Definition at line 1098 of file SNOW_Solver.C.

HDK_Sample::SNOW_Visualize::GET_GUIDE_FUNC_B ( "usebox"  ,
UseBox  ,
false   
)

HDK_Sample::SNOW_Visualize::GET_GUIDE_FUNC_B ( SIM_NAME_SHOWGUIDE  ,
ShowGuide  ,
true   
)

Examples:
SIM/SNOW_Solver.h.

HDK_Sample::SNOW_Visualize::GET_GUIDE_FUNC_V3 ( SIM_NAME_COLOR  ,
Color  ,
(1, 1, 1)   
)

Examples:
SIM/SNOW_Solver.h.

bool SNOW_Visualize::getIsAlternateRepresentationSubclass (  )  const [protected, virtual]

Override this method to return true if your data type is built on demand. This is true for data that is just an alternative representation of some other data. This has several consequences. First, it implies that the data can be rebuilt from other data on the object, therefore it is not saved to disk. Also, it is assumed to be represent its parent data, so any modifications to the parent data cause this data to be deleted. If you override this method, do not call the base class implementation.

Reimplemented from SIM_Data.

Examples:
SIM/SNOW_Solver.C, and SIM/SNOW_Solver.h.

Definition at line 1274 of file SNOW_Solver.C.

void SNOW_Visualize::initAlternateRepresentationSubclass ( const SIM_Data  )  [protected, virtual]

Override this function if getIsAlternateRepresentationSubclass() is overridden to return true. This function is used to initialize the alternate representation based on the data to which it was just attached.

Reimplemented from SIM_Data.

Examples:
SIM/SNOW_Solver.C, and SIM/SNOW_Solver.h.

Definition at line 1280 of file SNOW_Solver.C.

void SNOW_Visualize::initializeSubclass (  )  [protected, virtual]

Override this method to set this data to its default empty state. Remember to call the base class implementation. The default implementation clears all subdata, and if the data is a subclass of SIM_OptionsUser, calls initializeFromParmDefaults().

Reimplemented from SIM_Data.

Examples:
SIM/SNOW_Solver.C, and SIM/SNOW_Solver.h.

Definition at line 1266 of file SNOW_Solver.C.


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

Generated on Thu Jan 31 00:34:38 2013 for HDK by  doxygen 1.5.9