Volume::Voxel Class Reference

Class Voxel. More...

#include <Volume.h>

List of all members.

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 Voxeloperator+= (const Voxel &otherVal)
 adds the Value from the otherVal Voxel to this Voxel
const Voxeloperator-= (const Voxel &otherVal)
 removes the Value from the otherVal Voxel to this Voxel
const Voxeloperator*= (const float &other)
 multiplies other with this Voxel
const Voxeloperator/= (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


Detailed Description

Class Voxel.

Constructor & Destructor Documentation

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.


Member Function Documentation

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

const Voxel Volume::Voxel::operator+ ( const Voxel otherVal  )  const [inline]

adds two Voxel-Values

const Voxel& Volume::Voxel::operator+= ( const Voxel otherVal  )  [inline]

adds the Value from the otherVal Voxel to this Voxel

const Voxel Volume::Voxel::operator- ( const Voxel otherVal  )  const [inline]

subtracts two Voxel-Values

const Voxel& Volume::Voxel::operator-= ( const Voxel otherVal  )  [inline]

removes the Value from the otherVal Voxel to this Voxel

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


Member Data Documentation

float Volume::Voxel::value [private]

saves the Voxel's value


The documentation for this class was generated from the following file:

Generated on Wed Dec 10 00:10:26 2008 for VolViz by  doxygen 1.5.7.1