#include <SIM_SolverSNOW.h>

Public Member Functions | |
| int | getXDivisions () const |
| void | setXDivisions (int divisions) |
| int | getYDivisions () const |
| void | setYDivisions (int divisions) |
| int | getZDivisions () const |
| void | setZDivisions (int divisions) |
| 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 GU_ConstDetailHandle | getGeometrySubclass () const |
Definition at line 135 of file SIM_SolverSNOW.h.
| SNOW_VoxelArray::SNOW_VoxelArray | ( | const SIM_DataFactory * | factory | ) | [explicit, protected] |
| SNOW_VoxelArray::~SNOW_VoxelArray | ( | ) | [protected, virtual] |
| void SNOW_VoxelArray::collapseAllTiles | ( | ) |
Definition at line 460 of file SIM_SolverSNOW.C.
| 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 149 of file SIM_SolverSNOW.C.
| u8 SNOW_VoxelArray::getVoxel | ( | int | x, | |
| int | y, | |||
| int | z | |||
| ) | const |
Definition at line 124 of file SIM_SolverSNOW.C.
| int SNOW_VoxelArray::getXDivisions | ( | ) | const |
Definition at line 76 of file SIM_SolverSNOW.C.
| int SNOW_VoxelArray::getYDivisions | ( | ) | const |
Definition at line 92 of file SIM_SolverSNOW.C.
| int SNOW_VoxelArray::getZDivisions | ( | ) | const |
Definition at line 108 of file SIM_SolverSNOW.C.
| 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 453 of file SIM_SolverSNOW.C.
| void SNOW_VoxelArray::initializeSubclass | ( | ) | [protected, virtual] |
Set initial values on all the geometry attributes.
Reimplemented from SIM_Geometry.
Definition at line 322 of file SIM_SolverSNOW.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 394 of file SIM_SolverSNOW.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 333 of file SIM_SolverSNOW.C.
| void HDK_Sample::SNOW_VoxelArray::pubHandleModification | ( | ) | [inline] |
Definition at line 152 of file SIM_SolverSNOW.h.
| 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 361 of file SIM_SolverSNOW.C.
| void SNOW_VoxelArray::setVoxel | ( | u8 | voxel, | |
| int | x, | |||
| int | y, | |||
| int | z | |||
| ) |
Definition at line 133 of file SIM_SolverSNOW.C.
| void SNOW_VoxelArray::setXDivisions | ( | int | divisions | ) |
Definition at line 82 of file SIM_SolverSNOW.C.
| void SNOW_VoxelArray::setYDivisions | ( | int | divisions | ) |
Definition at line 98 of file SIM_SolverSNOW.C.
| void SNOW_VoxelArray::setZDivisions | ( | int | divisions | ) |
Definition at line 114 of file SIM_SolverSNOW.C.
1.5.9