Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::SimplexMeshVolumeCalculator< TInputMesh > Class Template Reference

#include <itkSimplexMeshVolumeCalculator.h>

Inheritance diagram for itk::SimplexMeshVolumeCalculator< TInputMesh >:

Inheritance graph
[legend]
Collaboration diagram for itk::SimplexMeshVolumeCalculator< TInputMesh >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef SimplexMeshVolumeCalculator Self
typedef Object Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TInputMesh InputMeshType
typedef InputMeshType::Pointer InputMeshPointer
typedef InputMeshType::ConstPointer InputMeshConstPointer
typedef InputMeshType::PointType InputPointType
typedef InputMeshType::PixelType InputPixelType
typedef InputMeshType::MeshTraits::CellTraits InputCellTraitsType
typedef InputMeshType::PointsContainer InputPointsContainer
typedef InputPointsContainer::ConstPointer InputPointsContainerPointer
typedef InputPointsContainer::ConstIterator InputPointsContainerIterator
typedef InputMeshType::NeighborListType InputNeighbors
typedef InputMeshType::NeighborListType::iterator InputNeighborsIterator
typedef InputMeshType::CellType SimplexCellType
typedef itk::PolygonCell<
SimplexCellType
SimplexPolygonType
typedef itk::MapContainer<
unsigned long, InputPointType
PointMapType
typedef PointMapType::Pointer PointMapPointer
typedef InputPointType::VectorType VectorType
typedef CovariantVector< typename
VectorType::ValueType, 3 > 
CovariantVectorType
typedef itk::CellInterfaceVisitorImplementation<
InputPixelType, InputCellTraitsType,
SimplexPolygonType, SimplexCellVisitor
SimplexVisitorInterfaceType
typedef SimplexVisitorInterfaceType::Pointer SimplexVisitorInterfacePointer
typedef SimplexCellType::MultiVisitor CellMultiVisitorType
typedef CellMultiVisitorType::Pointer CellMultiVisitorPointer

Public Member Functions

virtual const char * GetNameOfClass () const
virtual void SetSimplexMesh (InputMeshType *_arg)
void Compute (void)
virtual double GetVolume ()
virtual double GetArea ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 SimplexMeshVolumeCalculator ()
virtual ~SimplexMeshVolumeCalculator ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

template<class TInputMesh>
class itk::SimplexMeshVolumeCalculator< TInputMesh >

Adapted from itkSimplexMeshToTriangleFilter to calculate the volume of a simplex mesh using the barycenters and normals. call Compute() to calculate the volume and GetVolume() to get the value. For an example see itkDeformableSimplexMesh3DFilter.cxx (Thomas Boettger. Division Medical and Biological Informatics, German Cancer Research Center, Heidelberg.)
Author:
Leila Baghdadi MICe, Hospital for Sick Children, Toronto, Canada.
The original implementation has been replaced with an algorithm based on the discrete form of the divergence theorem. The general assumption here is that the model is of closed surface. For more details see the following reference (Alyassin A.M. et al, "Evaluation of new algorithms for the interactive measurement of surface area and volume", Med Phys 21(6) 1994.).

Definition at line 54 of file itkSimplexMeshVolumeCalculator.h.


Member Typedef Documentation

template<class TInputMesh>
typedef CellMultiVisitorType::Pointer itk::SimplexMeshVolumeCalculator< TInputMesh >::CellMultiVisitorPointer
 

Definition at line 165 of file itkSimplexMeshVolumeCalculator.h.

template<class TInputMesh>
typedef SimplexCellType::MultiVisitor itk::SimplexMeshVolumeCalculator< TInputMesh >::CellMultiVisitorType
 

Definition at line 164 of file itkSimplexMeshVolumeCalculator.h.

template<class TInputMesh>
typedef SmartPointer<const Self> itk::SimplexMeshVolumeCalculator< TInputMesh >::ConstPointer
 

Reimplemented from itk::Object.

Definition at line 66 of file itkSimplexMeshVolumeCalculator.h.

template<class TInputMesh>
typedef CovariantVector< typename VectorType::ValueType, 3 > itk::SimplexMeshVolumeCalculator< TInputMesh >::CovariantVectorType
 

Definition at line 98 of file itkSimplexMeshVolumeCalculator.h.

template<class TInputMesh>
typedef InputMeshType::MeshTraits::CellTraits itk::SimplexMeshVolumeCalculator< TInputMesh >::InputCellTraitsType
 

Definition at line 80 of file itkSimplexMeshVolumeCalculator.h.

template<class TInputMesh>
typedef InputMeshType::ConstPointer itk::SimplexMeshVolumeCalculator< TInputMesh >::InputMeshConstPointer
 

Definition at line 76 of file itkSimplexMeshVolumeCalculator.h.

template<class TInputMesh>
typedef InputMeshType::Pointer itk::SimplexMeshVolumeCalculator< TInputMesh >::InputMeshPointer
 

Definition at line 75 of file itkSimplexMeshVolumeCalculator.h.

template<class TInputMesh>
typedef TInputMesh itk::SimplexMeshVolumeCalculator< TInputMesh >::InputMeshType
 

Definition at line 74 of file itkSimplexMeshVolumeCalculator.h.

template<class TInputMesh>
typedef InputMeshType::NeighborListType itk::SimplexMeshVolumeCalculator< TInputMesh >::InputNeighbors
 

Definition at line 86 of file itkSimplexMeshVolumeCalculator.h.

template<class TInputMesh>
typedef InputMeshType::NeighborListType::iterator itk::SimplexMeshVolumeCalculator< TInputMesh >::InputNeighborsIterator
 

Definition at line 87 of file itkSimplexMeshVolumeCalculator.h.

template<class TInputMesh>
typedef InputMeshType::PixelType itk::SimplexMeshVolumeCalculator< TInputMesh >::InputPixelType
 

Definition at line 79 of file itkSimplexMeshVolumeCalculator.h.

template<class TInputMesh>
typedef InputMeshType::PointsContainer itk::SimplexMeshVolumeCalculator< TInputMesh >::InputPointsContainer
 

Definition at line 82 of file itkSimplexMeshVolumeCalculator.h.

template<class TInputMesh>
typedef InputPointsContainer::ConstIterator itk::SimplexMeshVolumeCalculator< TInputMesh >::InputPointsContainerIterator
 

Definition at line 84 of file itkSimplexMeshVolumeCalculator.h.

template<class TInputMesh>
typedef InputPointsContainer::ConstPointer itk::SimplexMeshVolumeCalculator< TInputMesh >::InputPointsContainerPointer
 

Definition at line 83 of file itkSimplexMeshVolumeCalculator.h.

template<class TInputMesh>
typedef InputMeshType::PointType itk::SimplexMeshVolumeCalculator< TInputMesh >::InputPointType
 

Definition at line 78 of file itkSimplexMeshVolumeCalculator.h.

Referenced by itk::SimplexMeshVolumeCalculator< TInputMesh >::SimplexCellVisitor::Visit().

template<class TInputMesh>
typedef SmartPointer<Self> itk::SimplexMeshVolumeCalculator< TInputMesh >::Pointer
 

Smart pointer typedef support

Reimplemented from itk::Object.

Definition at line 65 of file itkSimplexMeshVolumeCalculator.h.

template<class TInputMesh>
typedef PointMapType::Pointer itk::SimplexMeshVolumeCalculator< TInputMesh >::PointMapPointer
 

Definition at line 94 of file itkSimplexMeshVolumeCalculator.h.

template<class TInputMesh>
typedef itk::MapContainer<unsigned long, InputPointType> itk::SimplexMeshVolumeCalculator< TInputMesh >::PointMapType
 

Definition at line 93 of file itkSimplexMeshVolumeCalculator.h.

template<class TInputMesh>
typedef SimplexMeshVolumeCalculator itk::SimplexMeshVolumeCalculator< TInputMesh >::Self
 

Standard "Self" typedef.

Reimplemented from itk::Object.

Definition at line 59 of file itkSimplexMeshVolumeCalculator.h.

template<class TInputMesh>
typedef InputMeshType::CellType itk::SimplexMeshVolumeCalculator< TInputMesh >::SimplexCellType
 

Definition at line 89 of file itkSimplexMeshVolumeCalculator.h.

template<class TInputMesh>
typedef itk::PolygonCell<SimplexCellType> itk::SimplexMeshVolumeCalculator< TInputMesh >::SimplexPolygonType
 

Definition at line 90 of file itkSimplexMeshVolumeCalculator.h.

template<class TInputMesh>
typedef SimplexVisitorInterfaceType::Pointer itk::SimplexMeshVolumeCalculator< TInputMesh >::SimplexVisitorInterfacePointer
 

Definition at line 163 of file itkSimplexMeshVolumeCalculator.h.

template<class TInputMesh>
typedef itk::CellInterfaceVisitorImplementation<InputPixelType, InputCellTraitsType, SimplexPolygonType, SimplexCellVisitor> itk::SimplexMeshVolumeCalculator< TInputMesh >::SimplexVisitorInterfaceType
 

Definition at line 161 of file itkSimplexMeshVolumeCalculator.h.

template<class TInputMesh>
typedef Object itk::SimplexMeshVolumeCalculator< TInputMesh >::Superclass
 

Standard "Superclass" typedef.

Reimplemented from itk::Object.

Definition at line 62 of file itkSimplexMeshVolumeCalculator.h.

template<class TInputMesh>
typedef InputPointType::VectorType itk::SimplexMeshVolumeCalculator< TInputMesh >::VectorType
 

Definition at line 96 of file itkSimplexMeshVolumeCalculator.h.


Constructor & Destructor Documentation

template<class TInputMesh>
itk::SimplexMeshVolumeCalculator< TInputMesh >::SimplexMeshVolumeCalculator  )  [protected]
 

template<class TInputMesh>
virtual itk::SimplexMeshVolumeCalculator< TInputMesh >::~SimplexMeshVolumeCalculator  )  [protected, virtual]
 


Member Function Documentation

template<class TInputMesh>
void itk::SimplexMeshVolumeCalculator< TInputMesh >::Compute void   ) 
 

Compute the volume of the entire simplex mesh.

template<class TInputMesh>
virtual double itk::SimplexMeshVolumeCalculator< TInputMesh >::GetArea  )  [virtual]
 

Return the computed area.

template<class TInputMesh>
virtual const char* itk::SimplexMeshVolumeCalculator< TInputMesh >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::Object.

template<class TInputMesh>
virtual double itk::SimplexMeshVolumeCalculator< TInputMesh >::GetVolume  )  [virtual]
 

Return the computed volume.

template<class TInputMesh>
Pointer itk::SimplexMeshVolumeCalculator< TInputMesh >::New  )  [static]
 

Method of creation through the object factory.

Reimplemented from itk::Object.

template<class TInputMesh>
void itk::SimplexMeshVolumeCalculator< TInputMesh >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::Object.

template<class TInputMesh>
virtual void itk::SimplexMeshVolumeCalculator< TInputMesh >::SetSimplexMesh InputMeshType _arg  )  [virtual]
 

Set the input mesh.


The documentation for this class was generated from the following file:
Generated at Thu May 25 02:21:55 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000