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

itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet > Class Template Reference

Base class for filters that take a SpatialObject as input and produce a PointSet as output. The pointset created is in physical space. More...

#include <itkSpatialObjectToPointSetFilter.h>

Inheritance diagram for itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >:

Inheritance graph
[legend]
Collaboration diagram for itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef SpatialObjectToPointSetFilter Self
typedef MeshSource< TOutputPointSet > Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TOutputPointSet OutputPointSetType
typedef OutputPointSetType::Pointer OutputPointSetPointer
typedef DataObject::Pointer DataObjectPointer
typedef TInputSpatialObject InputSpatialObjectType
typedef InputSpatialObjectType::Pointer InputSpatialObjectPointer
typedef InputSpatialObjectType::ConstPointer InputSpatialObjectConstPointer
typedef TInputSpatialObject::ChildrenListType ChildrenListType
typedef itk::SpatialObjectPoint<
itkGetStaticConstMacro(ObjectDimension) 
PointType )
typedef itk::PointBasedSpatialObject<
itkGetStaticConstMacro(ObjectDimension) 
PointBasedSpatialObjectType )

Public Member Functions

virtual const char * GetClassName () const
 itkStaticConstMacro (ObjectDimension, unsigned int, InputSpatialObjectType::ObjectDimension)
virtual void SetSamplingFactor (unsigned int _arg)
virtual unsigned int GetSamplingFactor ()
virtual void SetInput (const InputSpatialObjectType *object)
virtual void SetInput (unsigned int, const InputSpatialObjectType *object)
const InputSpatialObjectTypeGetInput (void)
const InputSpatialObjectTypeGetInput (unsigned int idx)
virtual void SetChildrenDepth (unsigned int _arg)
virtual unsigned int GetChildrenDepth ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 SpatialObjectToPointSetFilter ()
 ~SpatialObjectToPointSetFilter ()
virtual void GenerateOutputInformation ()
virtual void GenerateData ()
virtual void PrintSelf (std::ostream &os, Indent indent) const

Protected Attributes

unsigned int m_ChildrenDepth

Detailed Description

template<class TInputSpatialObject, class TOutputPointSet>
class itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >

Base class for filters that take a SpatialObject as input and produce a PointSet as output. The pointset created is in physical space.

Definition at line 33 of file itkSpatialObjectToPointSetFilter.h.


Member Typedef Documentation

template<class TInputSpatialObject, class TOutputPointSet>
typedef TInputSpatialObject::ChildrenListType itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::ChildrenListType
 

Definition at line 57 of file itkSpatialObjectToPointSetFilter.h.

template<class TInputSpatialObject, class TOutputPointSet>
typedef SmartPointer<const Self> itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::ConstPointer
 

Reimplemented from itk::MeshSource< TOutputPointSet >.

Definition at line 40 of file itkSpatialObjectToPointSetFilter.h.

template<class TInputSpatialObject, class TOutputPointSet>
typedef DataObject::Pointer itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::DataObjectPointer
 

Smart Pointer type to a DataObject.

Reimplemented from itk::MeshSource< TOutputPointSet >.

Definition at line 45 of file itkSpatialObjectToPointSetFilter.h.

template<class TInputSpatialObject, class TOutputPointSet>
typedef InputSpatialObjectType::ConstPointer itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::InputSpatialObjectConstPointer
 

Definition at line 56 of file itkSpatialObjectToPointSetFilter.h.

template<class TInputSpatialObject, class TOutputPointSet>
typedef InputSpatialObjectType::Pointer itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::InputSpatialObjectPointer
 

Definition at line 55 of file itkSpatialObjectToPointSetFilter.h.

template<class TInputSpatialObject, class TOutputPointSet>
typedef TInputSpatialObject itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::InputSpatialObjectType
 

Some convenient typedefs. Definition at line 54 of file itkSpatialObjectToPointSetFilter.h.

template<class TInputSpatialObject, class TOutputPointSet>
typedef OutputPointSetType::Pointer itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::OutputPointSetPointer
 

Definition at line 42 of file itkSpatialObjectToPointSetFilter.h.

template<class TInputSpatialObject, class TOutputPointSet>
typedef TOutputPointSet itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::OutputPointSetType
 

Definition at line 41 of file itkSpatialObjectToPointSetFilter.h.

template<class TInputSpatialObject, class TOutputPointSet>
typedef itk::PointBasedSpatialObject<itkGetStaticConstMacro(ObjectDimension) itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::PointBasedSpatialObjectType)
 

Definition at line 65 of file itkSpatialObjectToPointSetFilter.h.

template<class TInputSpatialObject, class TOutputPointSet>
typedef SmartPointer<Self> itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::Pointer
 

Reimplemented from itk::MeshSource< TOutputPointSet >.

Definition at line 39 of file itkSpatialObjectToPointSetFilter.h.

template<class TInputSpatialObject, class TOutputPointSet>
typedef itk::SpatialObjectPoint<itkGetStaticConstMacro(ObjectDimension) itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::PointType)
 

Definition at line 64 of file itkSpatialObjectToPointSetFilter.h.

template<class TInputSpatialObject, class TOutputPointSet>
typedef SpatialObjectToPointSetFilter itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::Self
 

Standard class typedefs.

Reimplemented from itk::MeshSource< TOutputPointSet >.

Definition at line 37 of file itkSpatialObjectToPointSetFilter.h.

template<class TInputSpatialObject, class TOutputPointSet>
typedef MeshSource<TOutputPointSet> itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::Superclass
 

Reimplemented from itk::MeshSource< TOutputPointSet >.

Definition at line 38 of file itkSpatialObjectToPointSetFilter.h.


Constructor & Destructor Documentation

template<class TInputSpatialObject, class TOutputPointSet>
itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::SpatialObjectToPointSetFilter  )  [protected]
 

template<class TInputSpatialObject, class TOutputPointSet>
itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::~SpatialObjectToPointSetFilter  )  [protected]
 


Member Function Documentation

template<class TInputSpatialObject, class TOutputPointSet>
virtual void itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::GenerateData void   )  [protected, virtual]
 

This method causes the filter to generate its output.

Reimplemented from itk::ProcessObject.

template<class TInputSpatialObject, class TOutputPointSet>
virtual void itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::GenerateOutputInformation  )  [inline, protected, virtual]
 

Generate the information decribing the output data. The default implementation of this method will copy information from the input to the output. A filter may override this method if its output will have different information than its input. For instance, a filter that shrinks an image will need to provide an implementation for this method that changes the spacing of the pixels. Such filters should call their superclass' implementation of this method prior to changing the information values they need (i.e. GenerateOutputInformation() should call Superclass::GenerateOutputInformation() prior to changing the information.

Reimplemented from itk::ProcessObject.

Definition at line 92 of file itkSpatialObjectToPointSetFilter.h.

template<class TInputSpatialObject, class TOutputPointSet>
virtual unsigned int itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::GetChildrenDepth  )  [virtual]
 

The spatial object being transformed can be part of a hierarchy. How deep in the hierarchy should we descend in generating the PointSet? A ChildrenDepth of 0 means to only include the object itself.

template<class TInputSpatialObject, class TOutputPointSet>
virtual const char* itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::GetClassName  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::MeshSource< TOutputPointSet >.

template<class TInputSpatialObject, class TOutputPointSet>
const InputSpatialObjectType* itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::GetInput unsigned int  idx  ) 
 

Set/Get the PointSet input of this process object.

Reimplemented from itk::ProcessObject.

template<class TInputSpatialObject, class TOutputPointSet>
const InputSpatialObjectType* itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::GetInput void   ) 
 

Set/Get the PointSet input of this process object.

template<class TInputSpatialObject, class TOutputPointSet>
virtual unsigned int itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::GetSamplingFactor  )  [virtual]
 

template<class TInputSpatialObject, class TOutputPointSet>
itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::itkStaticConstMacro ObjectDimension  ,
unsigned  int,
InputSpatialObjectType::ObjectDimension 
 

Dimension constants

template<class TInputSpatialObject, class TOutputPointSet>
Pointer itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::MeshSource< TOutputPointSet >.

template<class TInputSpatialObject, class TOutputPointSet>
virtual void itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::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::MeshSource< TOutputPointSet >.

template<class TInputSpatialObject, class TOutputPointSet>
virtual void itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::SetChildrenDepth unsigned int  _arg  )  [virtual]
 

The spatial object being transformed can be part of a hierarchy. How deep in the hierarchy should we descend in generating the PointSet? A ChildrenDepth of 0 means to only include the object itself.

template<class TInputSpatialObject, class TOutputPointSet>
virtual void itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::SetInput unsigned  int,
const InputSpatialObjectType object
[virtual]
 

Set/Get the PointSet input of this process object.

template<class TInputSpatialObject, class TOutputPointSet>
virtual void itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::SetInput const InputSpatialObjectType object  )  [virtual]
 

Set/Get the PointSet input of this process object.

template<class TInputSpatialObject, class TOutputPointSet>
virtual void itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::SetSamplingFactor unsigned int  _arg  )  [virtual]
 


Member Data Documentation

template<class TInputSpatialObject, class TOutputPointSet>
unsigned int itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::m_ChildrenDepth [protected]
 

Definition at line 95 of file itkSpatialObjectToPointSetFilter.h.


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