#include <SNOW_Solver.h>

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_Guide * | createGuideObjectSubclass () 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) |
Definition at line 202 of file SNOW_Solver.h.
| SNOW_Visualize::SNOW_Visualize | ( | const SIM_DataFactory * | factory | ) | [explicit, protected] |
| SNOW_Visualize::~SNOW_Visualize | ( | ) | [protected, virtual] |
| 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.
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] |
| 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.
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 | ||||
| ) |
| HDK_Sample::SNOW_Visualize::GET_GUIDE_FUNC_V3 | ( | SIM_NAME_COLOR | , | |
| Color | , | |||
| (1, 1, 1) | ||||
| ) |
| 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.
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.
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.
Definition at line 1266 of file SNOW_Solver.C.
1.5.9