PolyVox
0.2.1
Open source voxel management library
|
This class represents a voxel storing only a density. More...
#include <Density.h>
Public Member Functions | |
Density () | |
Constructor. | |
Density (Type uDensity) | |
Copy constructor. | |
template<typename CastType > | |
Density (const Density< CastType > &density) | |
Copy constructor with cast. | |
bool | operator== (const Density &rhs) const |
bool | operator!= (const Density &rhs) const |
Density< Type > & | operator+= (const Density< Type > &rhs) |
Density< Type > & | operator-= (const Density< Type > &rhs) |
Density< Type > & | operator/= (uint32_t rhs) |
Type | getDensity () const |
void | setDensity (Type uDensity) |
Set the density of the voxel. |
Static Public Member Functions | |
static Type | getMaxDensity () |
static Type | getMinDensity () |
This class represents a voxel storing only a density.
Detailed description...
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
Definition at line 96 of file Density.h.
Referenced by PolyVox::DefaultMarchingCubesController< Density< Type > >::convertToDensity(), and PolyVox::Density< Type >::Density().
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |