NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
List of all members
niftk::MeshMerger Class Reference

Labels

void SetDesiredLabels (const std::vector< int > &desiredLabels)
 Setter for list of submeshes that are desired in the output mesh. More...
 
const std::vector< int > & GetDesiredLabels (void) const
 Setter for list of submeshes that are desired in the output mesh. More...
 
void SetMeshLabels (const std::vector< std::vector< std::pair< int, int > > > &subMeshLabels)
 Setter for list of submeshes that are desired in the output mesh. More...
 
void ToggleUseImageLabels (void)
 

Mesh I/O

void SetInput (vtkSmartPointer< vtkMultiBlockDataSet > &inputSubMeshes)
 
vtkSmartPointer
< vtkUnstructuredGrid > 
GetOutput (void)
 
void Update (void) throw (niftk::InvalidArgumentException)
 

Member Function Documentation

const std::vector<int>& niftk::MeshMerger::GetDesiredLabels ( void  ) const
inline

Setter for list of submeshes that are desired in the output mesh.

If none are specified all submeshes are merged in the output.

vtkSmartPointer<vtkUnstructuredGrid> niftk::MeshMerger::GetOutput ( void  )
inline
void niftk::MeshMerger::SetDesiredLabels ( const std::vector< int > &  desiredLabels)
inline

Setter for list of submeshes that are desired in the output mesh.

If none are specified all submeshes are merged in the output.

void niftk::MeshMerger::SetInput ( vtkSmartPointer< vtkMultiBlockDataSet > &  inputSubMeshes)
inline
void niftk::MeshMerger::SetMeshLabels ( const std::vector< std::vector< std::pair< int, int > > > &  subMeshLabels)
inline

Setter for list of submeshes that are desired in the output mesh.

If none are specified all submeshes are merged in the output.

void niftk::MeshMerger::ToggleUseImageLabels ( void  )
inline

Toggles the use of image labels (on by default) instead of mesh block indices for referencing submeshes.

void niftk::MeshMerger::Update ( void  )
throw (niftk::InvalidArgumentException
)

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