#include <SNOW_Solver.h>

Public Member Functions | |
| GETSET_DATA_FUNCS_V3 (SNOW_NAME_DIVISIONS, Divisions) | |
| GETSET_DATA_FUNCS_V3 (SNOW_NAME_SIZE, Size) | |
| GETSET_DATA_FUNCS_V3 (SNOW_NAME_CENTER, Center) | |
| u8 | getVoxel (int x, int y, int z) const |
| void | setVoxel (u8 voxel, int x, int y, int z) |
| void | collapseAllTiles () |
| void | pubHandleModification () |
Protected Member Functions | |
| SNOW_VoxelArray (const SIM_DataFactory *factory) | |
| virtual | ~SNOW_VoxelArray () |
| virtual void | initializeSubclass () |
| Set initial values on all the geometry attributes. | |
| virtual void | makeEqualSubclass (const SIM_Data *source) |
| Makes this geometry equal to some other SIM_Geometry. | |
| virtual void | saveSubclass (ostream &os) const |
| Saves our attributes, and our internal data if it has been set. | |
| virtual bool | loadSubclass (UT_IStream &is) |
| Loads our attributes and internal data if it was set when we saved. | |
| virtual void | handleModificationSubclass (int code) |
| virtual int64 | getMemorySizeSubclass () const |
| virtual void | optionChangedSubclass (const char *name) |
| virtual GU_ConstDetailHandle | getGeometrySubclass () const |
Definition at line 136 of file SNOW_Solver.h.
| SNOW_VoxelArray::SNOW_VoxelArray | ( | const SIM_DataFactory * | factory | ) | [explicit, protected] |
| SNOW_VoxelArray::~SNOW_VoxelArray | ( | ) | [protected, virtual] |
| void SNOW_VoxelArray::collapseAllTiles | ( | ) |
| GU_ConstDetailHandle SNOW_VoxelArray::getGeometrySubclass | ( | ) | const [protected, virtual] |
This function is called by getGeometry() to return the actual geometry data. The default implementation returns an empty geometry.
Reimplemented from SIM_Geometry.
Definition at line 709 of file SNOW_Solver.C.
| int64 SNOW_VoxelArray::getMemorySizeSubclass | ( | ) | const [protected, virtual] |
Override this function to return an accurate representation of the amount of memory used by this piece of data. The size of subdata should not be included in this calculation.
Reimplemented from SIM_Geometry.
Definition at line 1016 of file SNOW_Solver.C.
| HDK_Sample::SNOW_VoxelArray::GETSET_DATA_FUNCS_V3 | ( | SNOW_NAME_CENTER | , | |
| Center | ||||
| ) |
| HDK_Sample::SNOW_VoxelArray::GETSET_DATA_FUNCS_V3 | ( | SNOW_NAME_SIZE | , | |
| Size | ||||
| ) |
| HDK_Sample::SNOW_VoxelArray::GETSET_DATA_FUNCS_V3 | ( | SNOW_NAME_DIVISIONS | , | |
| Divisions | ||||
| ) |
| u8 SNOW_VoxelArray::getVoxel | ( | int | x, | |
| int | y, | |||
| int | z | |||
| ) | const |
| void SNOW_VoxelArray::handleModificationSubclass | ( | int | code | ) | [protected, virtual] |
Override this method to customize the behavior when our internal data changes. The code parameter is a data type specific value which can be used to indicate the type of change that has occurred. The default implementation deletes all subdata that was created with the deleteifmodified flag turned on. Remember to call the base class implementation.
Reimplemented from SIM_Data.
Definition at line 1035 of file SNOW_Solver.C.
| void SNOW_VoxelArray::initializeSubclass | ( | ) | [protected, virtual] |
Set initial values on all the geometry attributes.
Reimplemented from SIM_Geometry.
Definition at line 900 of file SNOW_Solver.C.
| bool SNOW_VoxelArray::loadSubclass | ( | UT_IStream & | is | ) | [protected, virtual] |
Loads our attributes and internal data if it was set when we saved.
Reimplemented from SIM_Geometry.
Definition at line 963 of file SNOW_Solver.C.
| void SNOW_VoxelArray::makeEqualSubclass | ( | const SIM_Data * | source | ) | [protected, virtual] |
Makes this geometry equal to some other SIM_Geometry.
Reimplemented from SIM_Geometry.
Definition at line 908 of file SNOW_Solver.C.
| void SNOW_VoxelArray::optionChangedSubclass | ( | const char * | name | ) | [protected, virtual] |
Invoked when our parameters are changed, we use it to invalidate our array.
Reimplemented from SIM_OptionsUser.
Definition at line 677 of file SNOW_Solver.C.
| void HDK_Sample::SNOW_VoxelArray::pubHandleModification | ( | ) | [inline] |
| void SNOW_VoxelArray::saveSubclass | ( | ostream & | os | ) | const [protected, virtual] |
Saves our attributes, and our internal data if it has been set.
Reimplemented from SIM_Geometry.
Definition at line 934 of file SNOW_Solver.C.
| void SNOW_VoxelArray::setVoxel | ( | u8 | voxel, | |
| int | x, | |||
| int | y, | |||
| int | z | |||
| ) |
1.5.9