Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Defines the volume parameters to be used with a MarchingCube and Volume object. More...
#include <MarchingCubes.hpp>
Public Member Functions | |
VolumeInfo () | |
VolumeInfo (Volume *vol, float threshold) | |
VolumeInfo (Volume *vol, float threshold, const fvec4 &color) | |
void | setColor (const fvec4 &col) |
const fvec4 & | color () const |
void | setThreshold (float t) |
float | threshold () const |
void | setVolume (Volume *vol) |
const Volume * | volume () const |
Volume * | volume () |
void | setVert0 (int index) |
int | vert0 () const |
void | setVertC (int count) |
int | vertC () const |
Protected Attributes | |
fvec4 | mColor |
float | mThreshold |
ref< Volume > | mVolume |
int | mVert0 |
int | mVertC |
Defines the volume parameters to be used with a MarchingCube and Volume object.
Definition at line 162 of file MarchingCubes.hpp.
vl::VolumeInfo::VolumeInfo | ( | ) | [inline] |
Definition at line 167 of file MarchingCubes.hpp.
References mThreshold, mVert0, mVertC, mVolume, NULL, and VL_DEBUG_SET_OBJECT_NAME.
vl::VolumeInfo::VolumeInfo | ( | Volume * | vol, |
float | threshold | ||
) | [inline] |
Definition at line 176 of file MarchingCubes.hpp.
References mThreshold, mVert0, mVertC, mVolume, threshold(), and VL_DEBUG_SET_OBJECT_NAME.
Definition at line 185 of file MarchingCubes.hpp.
References color(), mColor, mThreshold, mVert0, mVertC, mVolume, threshold(), and VL_DEBUG_SET_OBJECT_NAME.
void vl::VolumeInfo::setColor | ( | const fvec4 & | col ) | [inline] |
Definition at line 195 of file MarchingCubes.hpp.
References mColor.
const fvec4& vl::VolumeInfo::color | ( | ) | const [inline] |
Definition at line 196 of file MarchingCubes.hpp.
References mColor.
Referenced by vl::MarchingCubes::run(), and VolumeInfo().
void vl::VolumeInfo::setThreshold | ( | float | t ) | [inline] |
Definition at line 198 of file MarchingCubes.hpp.
References mThreshold.
float vl::VolumeInfo::threshold | ( | ) | const [inline] |
Definition at line 199 of file MarchingCubes.hpp.
References mThreshold.
Referenced by vl::MarchingCubes::run(), and VolumeInfo().
void vl::VolumeInfo::setVolume | ( | Volume * | vol ) | [inline] |
Definition at line 201 of file MarchingCubes.hpp.
References mVolume.
const Volume* vl::VolumeInfo::volume | ( | ) | const [inline] |
Definition at line 202 of file MarchingCubes.hpp.
References vl::ref< T >::get(), and mVolume.
Referenced by vl::MarchingCubes::run().
Volume* vl::VolumeInfo::volume | ( | ) | [inline] |
Definition at line 203 of file MarchingCubes.hpp.
References vl::ref< T >::get(), and mVolume.
void vl::VolumeInfo::setVert0 | ( | int | index ) | [inline] |
Definition at line 205 of file MarchingCubes.hpp.
References mVert0.
Referenced by vl::MarchingCubes::run().
int vl::VolumeInfo::vert0 | ( | ) | const [inline] |
Definition at line 206 of file MarchingCubes.hpp.
References mVert0.
Referenced by vl::MarchingCubes::updateAlpha(), and vl::MarchingCubes::updateColor().
void vl::VolumeInfo::setVertC | ( | int | count ) | [inline] |
Definition at line 208 of file MarchingCubes.hpp.
References mVertC.
Referenced by vl::MarchingCubes::run().
int vl::VolumeInfo::vertC | ( | ) | const [inline] |
Definition at line 209 of file MarchingCubes.hpp.
References mVertC.
Referenced by vl::MarchingCubes::updateAlpha(), and vl::MarchingCubes::updateColor().
fvec4 vl::VolumeInfo::mColor [protected] |
Definition at line 212 of file MarchingCubes.hpp.
Referenced by color(), setColor(), and VolumeInfo().
float vl::VolumeInfo::mThreshold [protected] |
Definition at line 213 of file MarchingCubes.hpp.
Referenced by setThreshold(), threshold(), and VolumeInfo().
ref<Volume> vl::VolumeInfo::mVolume [protected] |
Definition at line 214 of file MarchingCubes.hpp.
Referenced by setVolume(), volume(), and VolumeInfo().
int vl::VolumeInfo::mVert0 [protected] |
Definition at line 215 of file MarchingCubes.hpp.
Referenced by setVert0(), vert0(), and VolumeInfo().
int vl::VolumeInfo::mVertC [protected] |
Definition at line 215 of file MarchingCubes.hpp.
Referenced by setVertC(), vertC(), and VolumeInfo().