#include <Volume.h>
Public Member Functions | |
| Voxel () | |
| Konstruktor (sets the Initatial-Value to 0.0). | |
| Voxel (const Voxel &otherVal) | |
| Konstruktor (sets the Initatial-Value equal to another Voxel's value). | |
| Voxel (const float initVal) | |
| Konstruktor (sets the Initatial-Value to initVal). | |
| ~Voxel () | |
| Destruktor. | |
| void | SetValue (const float newValue) |
| sets the Value of the Voxel to newValue | |
| const float | GetValue () const |
| returns the Value of the Voxel | |
| const bool | operator== (const Voxel &otherVal) const |
| compares the values of two Voxels | |
| const bool | operator!= (const Voxel &otherVal) const |
| compares the values of two Voxels | |
| const bool | operator> (const Voxel &otherVal) const |
| compares the values of two Voxels | |
| const bool | operator>= (const Voxel &otherVal) const |
| compares the values of two Voxels | |
| const bool | operator< (const Voxel &otherVal) const |
| compares the values of two Voxels | |
| const bool | operator<= (const Voxel &otherVal) const |
| compares the values of two Voxels | |
| const Voxel & | operator+= (const Voxel &otherVal) |
| adds the Value from the otherVal Voxel to this Voxel | |
| const Voxel & | operator-= (const Voxel &otherVal) |
| removes the Value from the otherVal Voxel to this Voxel | |
| const Voxel & | operator*= (const float &other) |
| multiplies other with this Voxel | |
| const Voxel & | operator/= (const float &other) |
| divides this Voxel's value by other | |
| const Voxel | operator+ (const Voxel &otherVal) const |
| adds two Voxel-Values | |
| const Voxel | operator- (const Voxel &otherVal) const |
| subtracts two Voxel-Values | |
| const Voxel | operator* (const float &other) const |
| mulitplies two Voxel-Values | |
| const Voxel | operator/ (const float &other) const |
| divides two Voxel-Values | |
Private Attributes | |
| float | value |
| saves the Voxel's value | |
| Volume::Voxel::Voxel | ( | ) | [inline] |
Konstruktor (sets the Initatial-Value to 0.0).
| Volume::Voxel::Voxel | ( | const Voxel & | otherVal | ) | [inline] |
Konstruktor (sets the Initatial-Value equal to another Voxel's value).
| Volume::Voxel::Voxel | ( | const float | initVal | ) | [inline] |
Konstruktor (sets the Initatial-Value to initVal).
| Volume::Voxel::~Voxel | ( | ) | [inline] |
Destruktor.
| const float Volume::Voxel::GetValue | ( | ) | const [inline] |
returns the Value of the Voxel
| const bool Volume::Voxel::operator!= | ( | const Voxel & | otherVal | ) | const [inline] |
compares the values of two Voxels
| const Voxel Volume::Voxel::operator* | ( | const float & | other | ) | const [inline] |
mulitplies two Voxel-Values
| const Voxel& Volume::Voxel::operator*= | ( | const float & | other | ) | [inline] |
multiplies other with this Voxel
adds two Voxel-Values
subtracts two Voxel-Values
| const Voxel Volume::Voxel::operator/ | ( | const float & | other | ) | const [inline] |
divides two Voxel-Values
| const Voxel& Volume::Voxel::operator/= | ( | const float & | other | ) | [inline] |
divides this Voxel's value by other
| const bool Volume::Voxel::operator< | ( | const Voxel & | otherVal | ) | const [inline] |
compares the values of two Voxels
| const bool Volume::Voxel::operator<= | ( | const Voxel & | otherVal | ) | const [inline] |
compares the values of two Voxels
| const bool Volume::Voxel::operator== | ( | const Voxel & | otherVal | ) | const [inline] |
compares the values of two Voxels
| const bool Volume::Voxel::operator> | ( | const Voxel & | otherVal | ) | const [inline] |
compares the values of two Voxels
| const bool Volume::Voxel::operator>= | ( | const Voxel & | otherVal | ) | const [inline] |
compares the values of two Voxels
| void Volume::Voxel::SetValue | ( | const float | newValue | ) | [inline] |
sets the Value of the Voxel to newValue
float Volume::Voxel::value [private] |
saves the Voxel's value
1.5.7.1