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

itk::MeshSpatialObject< TMesh > Class Template Reference

Implementation of an Mesh as spatial object. More...

#include <itkMeshSpatialObject.h>

List of all members.

Public Types

typedef double ScalarType
typedef MeshSpatialObject<
TMesh > 
Self
typedef SpatialObject< itkGetStaticConstMacro(Dimension) Superclass )
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TMesh MeshType
typedef MeshType::Pointer MeshPointer
typedef Superclass::TransformType TransformType
typedef Superclass::PointType PointType
typedef Superclass::BoundingBoxType BoundingBoxType
typedef VectorContainer< unsigned
long, PointType
PointContainerType
typedef PointContainerType::Pointer PointContainerPointer

Public Member Functions

 itkStaticConstMacro (Dimension, unsigned int, TMesh::PointDimension)
virtual const char * GetClassName () const
void SetMesh (MeshType *Mesh)
MeshTypeGetMesh (void)
bool IsEvaluableAt (const PointType &point, unsigned int depth=0, char *name=NULL) const
bool ValueAt (const PointType &point, double &value, unsigned int depth=0, char *name=NULL) const
bool IsInside (const PointType &point, unsigned int depth=0, char *name=NULL) const
bool ComputeBoundingBox () const
unsigned long GetMTime (void) const
const char * GetPixelType ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

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

Protected Attributes

MeshPointer m_Mesh
std::string m_PixelType


Detailed Description

template<class TMesh = Mesh<int>>
class itk::MeshSpatialObject< TMesh >

Implementation of an Mesh as spatial object.

This class combines functionnalities from a spatial object, and an itkMesh.

SpatialObject

Definition at line 38 of file itkMeshSpatialObject.h.


Member Typedef Documentation

template<class TMesh = Mesh<int>>
typedef Superclass::BoundingBoxType itk::MeshSpatialObject< TMesh >::BoundingBoxType
 

Definition at line 57 of file itkMeshSpatialObject.h.

template<class TMesh = Mesh<int>>
typedef SmartPointer< const Self > itk::MeshSpatialObject< TMesh >::ConstPointer
 

Definition at line 51 of file itkMeshSpatialObject.h.

template<class TMesh = Mesh<int>>
typedef MeshType::Pointer itk::MeshSpatialObject< TMesh >::MeshPointer
 

Definition at line 54 of file itkMeshSpatialObject.h.

template<class TMesh = Mesh<int>>
typedef TMesh itk::MeshSpatialObject< TMesh >::MeshType
 

Definition at line 53 of file itkMeshSpatialObject.h.

template<class TMesh = Mesh<int>>
typedef PointContainerType::Pointer itk::MeshSpatialObject< TMesh >::PointContainerPointer
 

Definition at line 60 of file itkMeshSpatialObject.h.

template<class TMesh = Mesh<int>>
typedef VectorContainer< unsigned long, PointType> itk::MeshSpatialObject< TMesh >::PointContainerType
 

Definition at line 59 of file itkMeshSpatialObject.h.

template<class TMesh = Mesh<int>>
typedef SmartPointer< Self > itk::MeshSpatialObject< TMesh >::Pointer
 

Definition at line 50 of file itkMeshSpatialObject.h.

template<class TMesh = Mesh<int>>
typedef Superclass::PointType itk::MeshSpatialObject< TMesh >::PointType
 

Definition at line 56 of file itkMeshSpatialObject.h.

template<class TMesh = Mesh<int>>
typedef double itk::MeshSpatialObject< TMesh >::ScalarType
 

Definition at line 44 of file itkMeshSpatialObject.h.

template<class TMesh = Mesh<int>>
typedef MeshSpatialObject< TMesh> itk::MeshSpatialObject< TMesh >::Self
 

Definition at line 45 of file itkMeshSpatialObject.h.

template<class TMesh = Mesh<int>>
typedef SpatialObject< itkGetStaticConstMacro(Dimension) itk::MeshSpatialObject< TMesh >::Superclass)
 

Definition at line 49 of file itkMeshSpatialObject.h.

template<class TMesh = Mesh<int>>
typedef Superclass::TransformType itk::MeshSpatialObject< TMesh >::TransformType
 

Definition at line 55 of file itkMeshSpatialObject.h.


Constructor & Destructor Documentation

template<class TMesh = Mesh<int>>
itk::MeshSpatialObject< TMesh >::MeshSpatialObject  )  [protected]
 

template<class TMesh = Mesh<int>>
virtual itk::MeshSpatialObject< TMesh >::~MeshSpatialObject  )  [protected, virtual]
 


Member Function Documentation

template<class TMesh = Mesh<int>>
bool itk::MeshSpatialObject< TMesh >::ComputeBoundingBox  )  const
 

Compute the boundaries of the iamge spatial object.

template<class TMesh = Mesh<int>>
virtual const char* itk::MeshSpatialObject< TMesh >::GetClassName  )  const [virtual]
 

Run-time type information (and related methods).

template<class TMesh = Mesh<int>>
MeshType* itk::MeshSpatialObject< TMesh >::GetMesh void   ) 
 

Get a pointer to the Mesh currently attached to the object.

template<class TMesh = Mesh<int>>
unsigned long itk::MeshSpatialObject< TMesh >::GetMTime void   )  const
 

Returns the latest modified time of the object and its component.

template<class TMesh = Mesh<int>>
const char* itk::MeshSpatialObject< TMesh >::GetPixelType  )  [inline]
 

Return the type of pixel used Definition at line 96 of file itkMeshSpatialObject.h.

References itk::MeshSpatialObject< TMesh >::m_PixelType.

template<class TMesh = Mesh<int>>
bool itk::MeshSpatialObject< TMesh >::IsEvaluableAt const PointType point,
unsigned int  depth = 0,
char *  name = NULL
const
 

Return true if the object is evaluable at the requested point, and else otherwise.

template<class TMesh = Mesh<int>>
bool itk::MeshSpatialObject< TMesh >::IsInside const PointType point,
unsigned int  depth = 0,
char *  name = NULL
const
 

Returns true if the point is inside, false otherwise.

template<class TMesh = Mesh<int>>
itk::MeshSpatialObject< TMesh >::itkStaticConstMacro Dimension  ,
unsigned  int,
TMesh::PointDimension 
 

template<class TMesh = Mesh<int>>
Pointer itk::MeshSpatialObject< TMesh >::New  )  [static]
 

Method for creation through the object factory.

template<class TMesh = Mesh<int>>
void itk::MeshSpatialObject< TMesh >::PrintSelf std::ostream &  os,
Indent  indent
const [protected]
 

template<class TMesh = Mesh<int>>
void itk::MeshSpatialObject< TMesh >::SetMesh MeshType Mesh  ) 
 

Set the Mesh.

template<class TMesh = Mesh<int>>
bool itk::MeshSpatialObject< TMesh >::ValueAt const PointType point,
double &  value,
unsigned int  depth = 0,
char *  name = NULL
const
 

Returns the value of the Mesh at the requested point. If the point is not inside the object, then an exception is thrown. ExceptionObject


Member Data Documentation

template<class TMesh = Mesh<int>>
MeshPointer itk::MeshSpatialObject< TMesh >::m_Mesh [protected]
 

Definition at line 104 of file itkMeshSpatialObject.h.

template<class TMesh = Mesh<int>>
std::string itk::MeshSpatialObject< TMesh >::m_PixelType [protected]
 

Definition at line 105 of file itkMeshSpatialObject.h.

Referenced by itk::MeshSpatialObject< TMesh >::GetPixelType().


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 03:16:17 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000