Quantized Hermite data object that stores compressed intersection information (offsets and normlas) for the up-wind edges of a voxel. (Size 10 bytes)
More...
#include <Hermite.h>
Quantized Hermite data object that stores compressed intersection information (offsets and normlas) for the up-wind edges of a voxel. (Size 10 bytes)
clears all intersection data
Vec3s getNormalX |
( |
| ) |
const |
|
inline |
- Returns
- uncompressed edge intersection normals
Vec3s getNormalY |
( |
| ) |
const |
|
inline |
- Returns
- uncompressed edge intersection normals
Vec3s getNormalZ |
( |
| ) |
const |
|
inline |
- Returns
- uncompressed edge intersection normals
float getOffsetX |
( |
| ) |
const |
|
inline |
- Returns
- uncompressed edge intersection offsets
float getOffsetY |
( |
| ) |
const |
|
inline |
- Returns
- uncompressed edge intersection offsets
float getOffsetZ |
( |
| ) |
const |
|
inline |
- Returns
- uncompressed edge intersection offsets
bool hasOffsetX |
( |
| ) |
const |
|
inline |
- Returns
- true if this Hermite object has intersection data for the corresponding edge.
bool hasOffsetY |
( |
| ) |
const |
|
inline |
- Returns
- true if this Hermite object has intersection data for the corresponding edge.
bool hasOffsetZ |
( |
| ) |
const |
|
inline |
- Returns
- true if this Hermite object has intersection data for the corresponding edge.
bool isGreaterX |
( |
const Hermite & |
other | ) |
const |
|
inline |
Edge offset greater-than comparisson operators
- Note
- is
this
offset > than other
offset
bool isGreaterY |
( |
const Hermite & |
other | ) |
const |
|
inline |
Edge offset greater-than comparisson operators
- Note
- is
this
offset > than other
offset
bool isGreaterZ |
( |
const Hermite & |
other | ) |
const |
|
inline |
Edge offset greater-than comparisson operators
- Note
- is
this
offset > than other
offset
- Returns
- true if the current Hermite object is classified
bool isLessX |
( |
const Hermite & |
other | ) |
const |
|
inline |
Edge offset less-than comparisson operators
- Note
- is
this
offset < than other
offset
bool isLessY |
( |
const Hermite & |
other | ) |
const |
|
inline |
Edge offset less-than comparisson operators
- Note
- is
this
offset < than other
offset
bool isLessZ |
( |
const Hermite & |
other | ) |
const |
|
inline |
Edge offset less-than comparisson operators
- Note
- is
this
offset < than other
offset
- Returns
- true if this Hermite objet has any edge intersection data.
bool operator!= |
( |
const Hermite & |
rhs | ) |
const |
|
inline |
Hermite operator+ |
( |
const T & |
| ) |
const |
|
inline |
Operators required by OpenVDB.
- Note
- These methods don't perform meaningful operations on Hermite data.
unary negation operator, flips inside/outside state and normals.
Hermite operator- |
( |
const T & |
| ) |
const |
|
inline |
Operators required by OpenVDB.
- Note
- These methods don't perform meaningful operations on Hermite data.
bool operator< |
( |
const Hermite & |
| ) |
const |
|
inline |
Operators required by OpenVDB.
- Note
- These methods don't perform meaningful operations on Hermite data.
bool operator== |
( |
const Hermite & |
rhs | ) |
const |
|
inline |
bool operator> |
( |
const Hermite & |
| ) |
const |
|
inline |
Operators required by OpenVDB.
- Note
- These methods don't perform meaningful operations on Hermite data.
void read |
( |
std::istream & |
| ) |
|
Unserialize this transform from the given stream.
void setIsInside |
( |
bool |
isInside | ) |
|
|
inline |
Set the inside/outside state to reflect if this Hermite object is located at a point in space that is inside/outside a contour.
void setX |
( |
T |
offset, |
|
|
const Vec3< T > & |
n |
|
) |
| |
|
inline |
methods to compress and store edge data.
- Note
offset
is expected to be in the [0 to 1) range.
copy edge data from other Hermite object
- Note
- copies data in the compressed form
void setY |
( |
T |
offset, |
|
|
const Vec3< T > & |
n |
|
) |
| |
|
inline |
methods to compress and store edge data.
- Note
offset
is expected to be in the [0 to 1) range.
copy edge data from other Hermite object
- Note
- copies data in the compressed form
void setZ |
( |
T |
offset, |
|
|
const Vec3< T > & |
n |
|
) |
| |
|
inline |
methods to compress and store edge data.
- Note
offset
is expected to be in the [0 to 1) range.
copy edge data from other Hermite object
- Note
- copies data in the compressed form
std::string str |
( |
| ) |
const |
void write |
( |
std::ostream & |
| ) |
const |
Serialize this transform to the given stream.
The documentation for this class was generated from the following file: