CustusX  22.04-rc5
An IGT application
cx::CentroidFunctor Struct Reference

Public Member Functions

 CentroidFunctor ()
 
void operator() (int x, int y, int z, unsigned char *val)
 
Vector3D getCentroid ()
 

Detailed Description

Functor that calculates centroid of input voxel sample.

Definition at line 282 of file cxSyntheticVolume.cpp.

Constructor & Destructor Documentation

cx::CentroidFunctor::CentroidFunctor ( )
inline

Definition at line 284 of file cxSyntheticVolume.cpp.

Member Function Documentation

Vector3D cx::CentroidFunctor::getCentroid ( )
inline

Definition at line 299 of file cxSyntheticVolume.cpp.

void cx::CentroidFunctor::operator() ( int  x,
int  y,
int  z,
unsigned char *  val 
)
inline

Definition at line 291 of file cxSyntheticVolume.cpp.


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