#include <Volume.h>
Public Member Functions | |
Voxel () | |
Voxel (const Voxel &datOther) | |
Voxel (const float fValue) | |
~Voxel () | |
void | SetValue (const float fValue) |
const float | GetValue () const |
void | SetGradient (const Vector _gradient) |
const Vector | GetGradient () const |
const bool | operator== (const Voxel &datOther) const |
const bool | operator!= (const Voxel &datOther) const |
const bool | operator> (const Voxel &datOther) const |
const bool | operator>= (const Voxel &datOther) const |
const bool | operator< (const Voxel &datOther) const |
const bool | operator<= (const Voxel &datOther) const |
const Voxel & | operator+= (const Voxel &datOther) |
const Voxel & | operator-= (const Voxel &datOther) |
const Voxel & | operator *= (const float &fOther) |
const Voxel & | operator/= (const float &fOther) |
const Voxel | operator+ (const Voxel &datOther) const |
const Voxel | operator- (const Voxel &datOther) const |
const Voxel | operator * (const float &fOther) const |
const Voxel | operator/ (const float &fOther) const |
Volume::Voxel::Voxel | ( | ) | [inline] |
Constructor
Volume::Voxel::Voxel | ( | const Voxel & | datOther | ) | [inline] |
Constructor from another voxel
Volume::Voxel::Voxel | ( | const float | fValue | ) | [inline] |
Constructor from a float value
Volume::Voxel::~Voxel | ( | ) | [inline] |
Destructor
void Volume::Voxel::SetValue | ( | const float | fValue | ) | [inline] |
Set a new value for this voxel
const float Volume::Voxel::GetValue | ( | ) | const [inline] |
Get the value of this voxel
void Volume::Voxel::SetGradient | ( | const Vector | _gradient | ) | [inline] |
Set the gradient of this voxel
const Vector Volume::Voxel::GetGradient | ( | ) | const [inline] |
Get the gradient of this voxel
const bool Volume::Voxel::operator== | ( | const Voxel & | datOther | ) | const [inline] |
Operator for boolean value "is equal to"
const bool Volume::Voxel::operator!= | ( | const Voxel & | datOther | ) | const [inline] |
Operator for boolean value "is not equal to"
const bool Volume::Voxel::operator> | ( | const Voxel & | datOther | ) | const [inline] |
Operator for boolean value "is bigger than"
const bool Volume::Voxel::operator>= | ( | const Voxel & | datOther | ) | const [inline] |
Operator for boolean value "is bigger as or is equal to"
const bool Volume::Voxel::operator< | ( | const Voxel & | datOther | ) | const [inline] |
Operator for boolean value "is smaller as"
const bool Volume::Voxel::operator<= | ( | const Voxel & | datOther | ) | const [inline] |
Operator for boolean value "is smaller as or is equal to"
const Voxel& Volume::Voxel::operator *= | ( | const float & | fOther | ) | [inline] |
Operator for multiplication
const Voxel& Volume::Voxel::operator/= | ( | const float & | fOther | ) | [inline] |
Operator for division
Operator for addition
Operator for subtraction
const Voxel Volume::Voxel::operator * | ( | const float & | fOther | ) | const [inline] |
Operator for multiplication
const Voxel Volume::Voxel::operator/ | ( | const float & | fOther | ) | const [inline] |
Operator for division