Visualization Library v1.0.3

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Protected Attributes

vl::VolumeInfo Class Reference

Defines the volume parameters to be used with a MarchingCube and Volume object. More...

#include <MarchingCubes.hpp>

Inheritance diagram for vl::VolumeInfo:
vl::Object

List of all members.

Public Member Functions

 VolumeInfo ()
 VolumeInfo (Volume *vol, float threshold)
 VolumeInfo (Volume *vol, float threshold, const fvec4 &color)
void setColor (const fvec4 &col)
const fvec4color () const
void setThreshold (float t)
float threshold () const
void setVolume (Volume *vol)
const Volumevolume () const
Volumevolume ()
void setVert0 (int index)
int vert0 () const
void setVertC (int count)
int vertC () const

Protected Attributes

fvec4 mColor
float mThreshold
ref< VolumemVolume
int mVert0
int mVertC

Detailed Description

Defines the volume parameters to be used with a MarchingCube and Volume object.

Definition at line 162 of file MarchingCubes.hpp.


Constructor & Destructor Documentation

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.

vl::VolumeInfo::VolumeInfo ( Volume vol,
float  threshold,
const fvec4 color 
) [inline]

Member Function Documentation

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().


Member Data Documentation

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().

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().


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

Visualization Library v1.0.3 Reference Documentation
Copyright Michele Bosi. All rights reserved.
Updated on Tue Feb 7 2017 00:55:12.
Permission is granted to use this page to write and publish articles regarding Visualization Library.