ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
itk::VTKPolyDataWriter< TInputMesh > Class Template Reference

#include <itkVTKPolyDataWriter.h>

+ Inheritance diagram for itk::VTKPolyDataWriter< TInputMesh >:
+ Collaboration diagram for itk::VTKPolyDataWriter< TInputMesh >:

List of all members.

Public Types

typedef CellInterface
< PixelType, CellTraits
CellInterfaceType
typedef
CellsContainer::ConstIterator 
CellIterator
typedef
InputMeshType::CellsContainer 
CellsContainer
typedef InputMeshType::CellTraits CellTraits
typedef InputMeshType::CellType CellType
typedef SmartPointer< const SelfConstPointer
typedef InputMeshType::ConstPointer InputMeshPointer
typedef TInputMesh InputMeshType
typedef InputMeshType::PixelType PixelType
typedef SmartPointer< SelfPointer
typedef
InputMeshType::PointIdentifier 
PointIdentifier
typedef CellType::PointIdIterator PointIdIterator
typedef
PointsContainer::ConstIterator 
PointIterator
typedef
InputMeshType::PointsContainer 
PointsContainer
typedef InputMeshType::PointType PointType
typedef VTKPolyDataWriter Self
typedef Object Superclass
typedef TriangleCell
< CellInterfaceType
TriangleCellType
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
void SetInput (const InputMeshType *input)
void Update (void)
void Write (void)
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
unsigned long AddObserver (const EventObject &event, Command *) const
virtual void DebugOff () const
virtual void DebugOn () const
CommandGetCommand (unsigned long tag)
bool GetDebug () const
MetaDataDictionaryGetMetaDataDictionary (void)
const MetaDataDictionaryGetMetaDataDictionary (void) const
virtual unsigned long GetMTime () const
virtual const TimeStampGetTimeStamp () const
bool HasObserver (const EventObject &event) const
void InvokeEvent (const EventObject &)
void InvokeEvent (const EventObject &) const
virtual void Modified () const
virtual void Register () const
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetDebug (bool debugFlag) const
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetReferenceCount (int)
virtual void UnRegister () const
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
virtual int GetReferenceCount () const
 itkCloneMacro (Self)
void Print (std::ostream &os, Indent indent=0) const

Static Public Member Functions

static Pointer New ()
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
static void GlobalWarningDisplayOff ()
static void GlobalWarningDisplayOn ()
static void SetGlobalWarningDisplay (bool flag)
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()

Protected Member Functions

virtual void GenerateData ()
void PrintSelf (std::ostream &os, Indent indent) const
- Protected Member Functions inherited from itk::Object
 Object ()
bool PrintObservers (std::ostream &os, Indent indent) const
virtual void SetTimeStamp (const TimeStamp &time)
virtual ~Object ()
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 LightObject ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
virtual ~LightObject ()

Protected Attributes

std::string m_FileName
InputMeshPointer m_Input

Private Member Functions

void operator= (const Self &)
 VTKPolyDataWriter (const Self &)
virtual void SetFileName (const char *_arg)
virtual const char * GetFileName () const
 VTKPolyDataWriter ()
virtual ~VTKPolyDataWriter ()

Detailed Description

template<class TInputMesh>
class itk::VTKPolyDataWriter< TInputMesh >

Writes an itkMesh to a file in VTK file format.

Caveat: The input to itkVTKPolyDataWriter must be a triangle mesh. Use vtkTriangleFilter to convert your mesh to a triangle mesh.

Definition at line 36 of file itkVTKPolyDataWriter.h.


Member Typedef Documentation

template<class TInputMesh>
typedef CellInterface< PixelType, CellTraits > itk::VTKPolyDataWriter< TInputMesh >::CellInterfaceType

Define the triangular cell types which form the surface

Definition at line 70 of file itkVTKPolyDataWriter.h.

template<class TInputMesh>
typedef CellsContainer::ConstIterator itk::VTKPolyDataWriter< TInputMesh >::CellIterator

Definition at line 77 of file itkVTKPolyDataWriter.h.

template<class TInputMesh>
typedef InputMeshType::CellsContainer itk::VTKPolyDataWriter< TInputMesh >::CellsContainer
template<class TInputMesh>
typedef InputMeshType::CellTraits itk::VTKPolyDataWriter< TInputMesh >::CellTraits

Definition at line 67 of file itkVTKPolyDataWriter.h.

template<class TInputMesh>
typedef InputMeshType::CellType itk::VTKPolyDataWriter< TInputMesh >::CellType
template<class TInputMesh>
typedef SmartPointer< const Self > itk::VTKPolyDataWriter< TInputMesh >::ConstPointer

Reimplemented from itk::Object.

Reimplemented in itk::QuadEdgeMeshScalarDataVTKPolyDataWriter< TMesh >.

Definition at line 43 of file itkVTKPolyDataWriter.h.

template<class TInputMesh>
typedef InputMeshType::ConstPointer itk::VTKPolyDataWriter< TInputMesh >::InputMeshPointer

Some convenient typedefs.

Definition at line 66 of file itkVTKPolyDataWriter.h.

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

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

Definition at line 59 of file itkVTKPolyDataWriter.h.

template<class TInputMesh>
typedef InputMeshType::PixelType itk::VTKPolyDataWriter< TInputMesh >::PixelType

Definition at line 60 of file itkVTKPolyDataWriter.h.

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

Reimplemented from itk::Object.

Reimplemented in itk::QuadEdgeMeshScalarDataVTKPolyDataWriter< TMesh >.

Definition at line 42 of file itkVTKPolyDataWriter.h.

template<class TInputMesh>
typedef InputMeshType::PointIdentifier itk::VTKPolyDataWriter< TInputMesh >::PointIdentifier

Definition at line 63 of file itkVTKPolyDataWriter.h.

template<class TInputMesh>
typedef CellType::PointIdIterator itk::VTKPolyDataWriter< TInputMesh >::PointIdIterator

Definition at line 79 of file itkVTKPolyDataWriter.h.

template<class TInputMesh>
typedef PointsContainer::ConstIterator itk::VTKPolyDataWriter< TInputMesh >::PointIterator

Definition at line 76 of file itkVTKPolyDataWriter.h.

template<class TInputMesh>
typedef InputMeshType::PointsContainer itk::VTKPolyDataWriter< TInputMesh >::PointsContainer

Definition at line 73 of file itkVTKPolyDataWriter.h.

template<class TInputMesh>
typedef InputMeshType::PointType itk::VTKPolyDataWriter< TInputMesh >::PointType

Definition at line 61 of file itkVTKPolyDataWriter.h.

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

Standard "Self" typedef.

Reimplemented from itk::Object.

Reimplemented in itk::QuadEdgeMeshScalarDataVTKPolyDataWriter< TMesh >.

Definition at line 40 of file itkVTKPolyDataWriter.h.

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

Reimplemented from itk::Object.

Reimplemented in itk::QuadEdgeMeshScalarDataVTKPolyDataWriter< TMesh >.

Definition at line 41 of file itkVTKPolyDataWriter.h.

template<class TInputMesh>
typedef TriangleCell< CellInterfaceType > itk::VTKPolyDataWriter< TInputMesh >::TriangleCellType

Definition at line 71 of file itkVTKPolyDataWriter.h.


Constructor & Destructor Documentation

template<class TInputMesh>
itk::VTKPolyDataWriter< TInputMesh >::VTKPolyDataWriter ( )
protected

Set/Get the name of the file where data are written.

template<class TInputMesh>
virtual itk::VTKPolyDataWriter< TInputMesh >::~VTKPolyDataWriter ( )
protectedvirtual

Set/Get the name of the file where data are written.

template<class TInputMesh>
itk::VTKPolyDataWriter< TInputMesh >::VTKPolyDataWriter ( const Self )
private

Member Function Documentation

template<class TInputMesh>
virtual::itk::LightObject::Pointer itk::VTKPolyDataWriter< TInputMesh >::CreateAnother ( void  ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

Reimplemented in itk::QuadEdgeMeshScalarDataVTKPolyDataWriter< TMesh >.

template<class TInputMesh>
virtual void itk::VTKPolyDataWriter< TInputMesh >::GenerateData ( )
protectedvirtual
template<class TInputMesh>
virtual const char* itk::VTKPolyDataWriter< TInputMesh >::GetFileName ( ) const
virtual

Set/Get the name of the file where data are written.

template<class TInputMesh>
virtual const char* itk::VTKPolyDataWriter< TInputMesh >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::Object.

Reimplemented in itk::QuadEdgeMeshScalarDataVTKPolyDataWriter< TMesh >.

template<class TInputMesh>
static Pointer itk::VTKPolyDataWriter< TInputMesh >::New ( )
static

Method for creation through the object factory

Reimplemented from itk::Object.

Reimplemented in itk::QuadEdgeMeshScalarDataVTKPolyDataWriter< TMesh >.

template<class TInputMesh>
void itk::VTKPolyDataWriter< TInputMesh >::operator= ( const Self )
private

Mutex lock to protect modification to the reference count

Reimplemented from itk::Object.

Reimplemented in itk::QuadEdgeMeshScalarDataVTKPolyDataWriter< TMesh >.

template<class TInputMesh>
void itk::VTKPolyDataWriter< TInputMesh >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

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::VTKPolyDataWriter< TInputMesh >::SetFileName ( const char *  _arg)
virtual

Set/Get the name of the file where data are written.

template<class TInputMesh>
void itk::VTKPolyDataWriter< TInputMesh >::SetInput ( const InputMeshType input)

Set the Input

template<class TInputMesh>
void itk::VTKPolyDataWriter< TInputMesh >::Update ( void  )

Write the Input mesh to the Output file. Use either Update() or Write().

template<class TInputMesh>
void itk::VTKPolyDataWriter< TInputMesh >::Write ( void  )

Member Data Documentation

template<class TInputMesh>
std::string itk::VTKPolyDataWriter< TInputMesh >::m_FileName
protected

Definition at line 94 of file itkVTKPolyDataWriter.h.

template<class TInputMesh>
InputMeshPointer itk::VTKPolyDataWriter< TInputMesh >::m_Input
protected

Definition at line 96 of file itkVTKPolyDataWriter.h.


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