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

itk::RegularSphereMeshSource< TOutputMesh > Class Template Reference

Inputs are the center of the mesh, the scale (radius in each dimension) of the mesh and a resolution parameter, which corresponds to the recursion depth whilie creating a sphereical triangle mesh. More...

#include <itkRegularSphereMeshSource.h>

Inheritance diagram for itk::RegularSphereMeshSource< TOutputMesh >:

Inheritance graph
[legend]
Collaboration diagram for itk::RegularSphereMeshSource< TOutputMesh >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef RegularSphereMeshSource Self
typedef itk::MeshSource< TOutputMesh > Superclass
typedef itk::SmartPointer<
Self
Pointer
typedef itk::SmartPointer<
const Self
ConstPointer
typedef TOutputMesh OutputMeshType
typedef OutputMeshType::MeshTraits MeshTraits
typedef OutputMeshType::PointType PointType
typedef MeshTraits::PixelType PixelType
typedef OutputMeshType::Pointer OutputMeshPointer
typedef OutputMeshType::CellTraits CellTraits
typedef OutputMeshType::PointsContainerPointer PointsContainerPointer
typedef OutputMeshType::PointsContainer PointsContainer
typedef itk::CellInterface<
PixelType, CellTraits
CellInterfaceType
typedef itk::TriangleCell<
CellInterfaceType
TriCellType
typedef TriCellType::SelfAutoPointer TriCellAutoPointer
typedef TriCellType::CellAutoPointer CellAutoPointer
typedef std::pair< unsigned
long, unsigned long > 
IndexPairType
typedef itk::MapContainer<
IndexPairType, unsigned long > 
PointMapType
typedef PointType::VectorType VectorType

Public Member Functions

virtual const char * GetClassName () const
virtual void SetResolution (unsigned int _arg)
virtual unsigned int GetResolution ()
virtual void SetCenter (PointType _arg)
virtual PointType GetCenter ()
virtual void SetScale (VectorType _arg)
virtual VectorType GetScale ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 RegularSphereMeshSource ()
 ~RegularSphereMeshSource ()
void PrintSelf (std::ostream &os, itk::Indent indent) const
void GenerateData ()
PointType Divide (const PointType &p1, const PointType &p2) const
void AddCell (OutputMeshType *mesh, const unsigned long *pointIds, unsigned long idx)

Protected Attributes

PointType m_Center
unsigned int m_Resolution
VectorType m_Scale

Detailed Description

template<class TOutputMesh>
class itk::RegularSphereMeshSource< TOutputMesh >

Inputs are the center of the mesh, the scale (radius in each dimension) of the mesh and a resolution parameter, which corresponds to the recursion depth whilie creating a sphereical triangle mesh.

Don't use recursion depths larger than 5, because mesh generation gets very slow.

Author:
Thomas Boettger. Division Medical and Biological Informatics, German Cancer Research Center, Heidelberg.

Definition at line 40 of file itkRegularSphereMeshSource.h.


Member Typedef Documentation

template<class TOutputMesh>
typedef TriCellType::CellAutoPointer itk::RegularSphereMeshSource< TOutputMesh >::CellAutoPointer
 

Definition at line 71 of file itkRegularSphereMeshSource.h.

template<class TOutputMesh>
typedef itk::CellInterface<PixelType, CellTraits> itk::RegularSphereMeshSource< TOutputMesh >::CellInterfaceType
 

Define the triangular cell types which form the surface

Definition at line 68 of file itkRegularSphereMeshSource.h.

template<class TOutputMesh>
typedef OutputMeshType::CellTraits itk::RegularSphereMeshSource< TOutputMesh >::CellTraits
 

Definition at line 63 of file itkRegularSphereMeshSource.h.

template<class TOutputMesh>
typedef itk::SmartPointer<const Self> itk::RegularSphereMeshSource< TOutputMesh >::ConstPointer
 

Reimplemented from itk::MeshSource< TOutputMesh >.

Definition at line 47 of file itkRegularSphereMeshSource.h.

template<class TOutputMesh>
typedef std::pair<unsigned long,unsigned long> itk::RegularSphereMeshSource< TOutputMesh >::IndexPairType
 

Definition at line 73 of file itkRegularSphereMeshSource.h.

template<class TOutputMesh>
typedef OutputMeshType::MeshTraits itk::RegularSphereMeshSource< TOutputMesh >::MeshTraits
 

Definition at line 57 of file itkRegularSphereMeshSource.h.

template<class TOutputMesh>
typedef OutputMeshType::Pointer itk::RegularSphereMeshSource< TOutputMesh >::OutputMeshPointer
 

Some convenient typedefs.

Reimplemented from itk::MeshSource< TOutputMesh >.

Definition at line 62 of file itkRegularSphereMeshSource.h.

template<class TOutputMesh>
typedef TOutputMesh itk::RegularSphereMeshSource< TOutputMesh >::OutputMeshType
 

Hold on to the type information specified by the template parameters.

Reimplemented from itk::MeshSource< TOutputMesh >.

Definition at line 56 of file itkRegularSphereMeshSource.h.

template<class TOutputMesh>
typedef MeshTraits::PixelType itk::RegularSphereMeshSource< TOutputMesh >::PixelType
 

Definition at line 59 of file itkRegularSphereMeshSource.h.

template<class TOutputMesh>
typedef itk::SmartPointer<Self> itk::RegularSphereMeshSource< TOutputMesh >::Pointer
 

Reimplemented from itk::MeshSource< TOutputMesh >.

Definition at line 46 of file itkRegularSphereMeshSource.h.

template<class TOutputMesh>
typedef itk::MapContainer<IndexPairType, unsigned long> itk::RegularSphereMeshSource< TOutputMesh >::PointMapType
 

Definition at line 74 of file itkRegularSphereMeshSource.h.

template<class TOutputMesh>
typedef OutputMeshType::PointsContainer itk::RegularSphereMeshSource< TOutputMesh >::PointsContainer
 

Definition at line 65 of file itkRegularSphereMeshSource.h.

template<class TOutputMesh>
typedef OutputMeshType::PointsContainerPointer itk::RegularSphereMeshSource< TOutputMesh >::PointsContainerPointer
 

Definition at line 64 of file itkRegularSphereMeshSource.h.

template<class TOutputMesh>
typedef OutputMeshType::PointType itk::RegularSphereMeshSource< TOutputMesh >::PointType
 

Definition at line 58 of file itkRegularSphereMeshSource.h.

template<class TOutputMesh>
typedef RegularSphereMeshSource itk::RegularSphereMeshSource< TOutputMesh >::Self
 

Standard "Self" typedef.

Reimplemented from itk::MeshSource< TOutputMesh >.

Definition at line 44 of file itkRegularSphereMeshSource.h.

template<class TOutputMesh>
typedef itk::MeshSource<TOutputMesh> itk::RegularSphereMeshSource< TOutputMesh >::Superclass
 

Reimplemented from itk::MeshSource< TOutputMesh >.

Definition at line 45 of file itkRegularSphereMeshSource.h.

template<class TOutputMesh>
typedef TriCellType::SelfAutoPointer itk::RegularSphereMeshSource< TOutputMesh >::TriCellAutoPointer
 

Definition at line 70 of file itkRegularSphereMeshSource.h.

template<class TOutputMesh>
typedef itk::TriangleCell<CellInterfaceType> itk::RegularSphereMeshSource< TOutputMesh >::TriCellType
 

Definition at line 69 of file itkRegularSphereMeshSource.h.

template<class TOutputMesh>
typedef PointType::VectorType itk::RegularSphereMeshSource< TOutputMesh >::VectorType
 

Definition at line 75 of file itkRegularSphereMeshSource.h.


Constructor & Destructor Documentation

template<class TOutputMesh>
itk::RegularSphereMeshSource< TOutputMesh >::RegularSphereMeshSource  )  [protected]
 

template<class TOutputMesh>
itk::RegularSphereMeshSource< TOutputMesh >::~RegularSphereMeshSource  )  [inline, protected]
 

Definition at line 98 of file itkRegularSphereMeshSource.h.


Member Function Documentation

template<class TOutputMesh>
void itk::RegularSphereMeshSource< TOutputMesh >::AddCell OutputMeshType mesh,
const unsigned long *  pointIds,
unsigned long  idx
[protected]
 

template<class TOutputMesh>
PointType itk::RegularSphereMeshSource< TOutputMesh >::Divide const PointType p1,
const PointType p2
const [protected]
 

template<class TOutputMesh>
void itk::RegularSphereMeshSource< TOutputMesh >::GenerateData void   )  [protected, virtual]
 

This method causes the filter to generate its output.

Reimplemented from itk::ProcessObject.

template<class TOutputMesh>
virtual PointType itk::RegularSphereMeshSource< TOutputMesh >::GetCenter  )  [virtual]
 

Set/Get Coordinates of the Sphere center.

template<class TOutputMesh>
virtual const char* itk::RegularSphereMeshSource< TOutputMesh >::GetClassName  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::MeshSource< TOutputMesh >.

template<class TOutputMesh>
virtual unsigned int itk::RegularSphereMeshSource< TOutputMesh >::GetResolution  )  [virtual]
 

Set the resolution level to be used for generating cells in the Sphere. High values of this parameter will produce sphere with more triangles.

template<class TOutputMesh>
virtual VectorType itk::RegularSphereMeshSource< TOutputMesh >::GetScale  )  [virtual]
 

Set/Get scales of the Sphere. This is a vector of values that can actually be used for generating ellipsoids aligned with the coordinate axis.

template<class TOutputMesh>
Pointer itk::RegularSphereMeshSource< TOutputMesh >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::MeshSource< TOutputMesh >.

template<class TOutputMesh>
void itk::RegularSphereMeshSource< TOutputMesh >::PrintSelf std::ostream &  os,
itk::Indent  indent
const [protected]
 

template<class TOutputMesh>
virtual void itk::RegularSphereMeshSource< TOutputMesh >::SetCenter PointType  _arg  )  [virtual]
 

Set/Get Coordinates of the Sphere center.

template<class TOutputMesh>
virtual void itk::RegularSphereMeshSource< TOutputMesh >::SetResolution unsigned int  _arg  )  [virtual]
 

Set the resolution level to be used for generating cells in the Sphere. High values of this parameter will produce sphere with more triangles.

template<class TOutputMesh>
virtual void itk::RegularSphereMeshSource< TOutputMesh >::SetScale VectorType  _arg  )  [virtual]
 

Set/Get scales of the Sphere. This is a vector of values that can actually be used for generating ellipsoids aligned with the coordinate axis.


Member Data Documentation

template<class TOutputMesh>
PointType itk::RegularSphereMeshSource< TOutputMesh >::m_Center [protected]
 

model center

Definition at line 108 of file itkRegularSphereMeshSource.h.

template<class TOutputMesh>
unsigned int itk::RegularSphereMeshSource< TOutputMesh >::m_Resolution [protected]
 

models resolution

Definition at line 111 of file itkRegularSphereMeshSource.h.

template<class TOutputMesh>
VectorType itk::RegularSphereMeshSource< TOutputMesh >::m_Scale [protected]
 

model scales

Definition at line 114 of file itkRegularSphereMeshSource.h.


The documentation for this class was generated from the following file:
Generated at Wed Mar 30 00:28:00 2005 for ITK by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2000