CustusX  2021.11.29-dev+develop.644e4
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 ( )

Definition at line 284 of file cxSyntheticVolume.cpp.

Member Function Documentation

Vector3D cx::CentroidFunctor::getCentroid ( )

Definition at line 299 of file cxSyntheticVolume.cpp.

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

Definition at line 291 of file cxSyntheticVolume.cpp.

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