In file imagedata/ImageLine.h:

class VoxelMax : public ImageLine

max voxel value in line

Inheritance:


Public Methods

bool stopFromDistanceAndStore (ImageVoxel *voxel, Voxel& iv)
stop computation method: stops line segment computation when current voxel distance from origin exceeds maxDistance and stores max encountered voxel value
virtual void start (Voxel &voxel)
callback procedure called when first line voxel is set
ImageVoxel* getMaxVoxel (void) const
returns max intensity voxel

Public

constructor
VoxelMax (double max = 0.0, bool (VoxelMax::*stop)(ImageVoxel *, Voxel&) = &VoxelMax::stopFromDistanceAndStore)
initialize a new line with stopFromDistance default stop method
destructor
virtual ~VoxelMax ()
destroys any line voxel

Protected Fields

ImageVoxel* maxVoxel
max line intensity point

Inherited from ImageLine:

Public Classes

enum SIDE
NORMAL
half segment in direction
INVERSE
half segment in -direction
BOTH
complete segment

Public Methods

ImageVoxel* operator[](int i) const
ImageVoxel* getVoxel(int i) const
void compute(double distance, const Vec3& org, const Vec3& dir, SIDE side = BOTH)
bool stopFromDistance(ImageVoxel *voxel, Voxel& iv)
void setIntensity(Inrimage *_inr)
const Vec3 & getOrigin(void) const
const Vec3 & getDirection(void) const
double getMaxDistance(void) const
void setMaxDistance(double max)
unsigned int positiveArraySize() const
unsigned int negativeArraySize() const
void glSet(void) const

Protected Fields

Inrimage* inr
Vec3 origin
Vec3 direction
double maxDistance
ImageVoxel* startvoxel
std::vector <ImageVoxel *> positive
std::vector <ImageVoxel *> negative

Protected Methods

bool (ImageLine::*stopMethod)(ImageVoxel *voxel, Voxel&)
void clear(void)

Documentation

max voxel value in line
ImageVoxel* maxVoxel
max line intensity point

constructor

VoxelMax(double max = 0.0, bool (VoxelMax::*stop)(ImageVoxel *, Voxel&) = &VoxelMax::stopFromDistanceAndStore)
initialize a new line with stopFromDistance default stop method
Parameters:
max - maximal line segment length
stop - method used

destructor

virtual ~VoxelMax()
destroys any line voxel

bool stopFromDistanceAndStore(ImageVoxel *voxel, Voxel& iv)
stop computation method: stops line segment computation when current voxel distance from origin exceeds maxDistance and stores max encountered voxel value
Parameters:
voxel - last computed voxel index
iv - an image type voxel for any use in stop

virtual void start(Voxel &voxel)
callback procedure called when first line voxel is set
Parameters:
voxel - an image type voxel for any use in start

ImageVoxel* getMaxVoxel(void) const
returns max intensity voxel


Direct child classes:
RegionForce
GradientForce

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de