ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter > Class Template Referenceabstract

#include <itkVTKVisualizeImageLevelSet.h>

+ Inheritance diagram for itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >:
+ Collaboration diagram for itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >:

Detailed Description

template<typename TInputImage, typename TInputImageConverter>
class itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >

Base class for visualizing level sets defined on an image with VTK.

Template Parameters
TInputImageInput image the level set evolves on.
TInputImageConverterITK filter to convert the input image to a VTK object.

Definition at line 44 of file itkVTKVisualizeImageLevelSet.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef TInputImageConverter InputImageConverterType
 
typedef TInputImage InputImageType
 
typedef SmartPointer< SelfPointer
 
typedef VTKVisualizeImageLevelSet Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual const char * GetNameOfClass () const
 
vtkRenderer * GetRenderer ()
 
virtual void SetInputImage (const InputImageType *inputImage)
 
void SetScreenCapturePrefix (const char *prefix)
 
virtual void Update ()
 
void SetScreenCapture (const bool iCapture)
 
bool GetScreenCapture () const
 
vtkRenderWindow * GetRenderWindow ()
 
void SetRenderWindow (vtkRenderWindow *renderWindow)
 
void SetCurrentIteration (const IdentifierType iteration)
 
IdentifierType GetCurrentIteration () const
 
- Public Member Functions inherited from itk::LightObject
virtual Pointer CreateAnother () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 
virtual void Register () const
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const noexcept
 

Protected Member Functions

virtual void PrepareVTKPipeline ()=0
 
 VTKVisualizeImageLevelSet ()
 
virtual ~VTKVisualizeImageLevelSet ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Protected Attributes

InputImageConverterType::Pointer m_InputImageConverter
 
vtkSmartPointer< vtkRenderer > m_Renderer
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Private Attributes

vtkSmartPointer
< vtkCornerAnnotation > 
m_Annotation
 
IdentifierType m_CurrentIteration
 
vtkSmartPointer< vtkRenderWindow > m_RenderWindow
 
bool m_ScreenCapture
 
std::string m_ScreenCapturePrefix
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Member Typedef Documentation

template<typename TInputImage, typename TInputImageConverter>
typedef SmartPointer< const Self > itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::ConstPointer

Definition at line 50 of file itkVTKVisualizeImageLevelSet.h.

template<typename TInputImage, typename TInputImageConverter>
typedef TInputImageConverter itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::InputImageConverterType

Type of the ITK filter to convert the input image to a VTK object.

Definition at line 59 of file itkVTKVisualizeImageLevelSet.h.

template<typename TInputImage, typename TInputImageConverter>
typedef TInputImage itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::InputImageType

Type of the input image the level set evolves on.

Definition at line 53 of file itkVTKVisualizeImageLevelSet.h.

template<typename TInputImage, typename TInputImageConverter>
typedef SmartPointer< Self > itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::Pointer

Definition at line 49 of file itkVTKVisualizeImageLevelSet.h.

template<typename TInputImage, typename TInputImageConverter>
typedef VTKVisualizeImageLevelSet itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::Self

Definition at line 47 of file itkVTKVisualizeImageLevelSet.h.

template<typename TInputImage, typename TInputImageConverter>
typedef LightObject itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::Superclass

Definition at line 48 of file itkVTKVisualizeImageLevelSet.h.

Constructor & Destructor Documentation

template<typename TInputImage, typename TInputImageConverter>
itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::VTKVisualizeImageLevelSet ( )
protected
template<typename TInputImage, typename TInputImageConverter>
virtual itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::~VTKVisualizeImageLevelSet ( )
protectedvirtual

Member Function Documentation

template<typename TInputImage, typename TInputImageConverter>
IdentifierType itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::GetCurrentIteration ( ) const

Set/Get the current iteration. Used for the filename during screen capture.

template<typename TInputImage, typename TInputImageConverter>
virtual const char* itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::GetNameOfClass ( ) const
virtual
template<typename TInputImage, typename TInputImageConverter>
vtkRenderer* itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::GetRenderer ( )

Get the renderer.

template<typename TInputImage, typename TInputImageConverter>
vtkRenderWindow* itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::GetRenderWindow ( )

Set/Get the render window.

template<typename TInputImage, typename TInputImageConverter>
bool itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::GetScreenCapture ( ) const

Do a screen capture at every iteration.

template<typename TInputImage, typename TInputImageConverter>
virtual void itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::PrepareVTKPipeline ( )
protectedpure virtual
template<typename TInputImage, typename TInputImageConverter>
void itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::SetCurrentIteration ( const IdentifierType  iteration)

Set/Get the current iteration. Used for the filename during screen capture.

template<typename TInputImage, typename TInputImageConverter>
virtual void itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::SetInputImage ( const InputImageType inputImage)
virtual
template<typename TInputImage, typename TInputImageConverter>
void itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::SetRenderWindow ( vtkRenderWindow *  renderWindow)

Set/Get the render window.

template<typename TInputImage, typename TInputImageConverter>
void itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::SetScreenCapture ( const bool  iCapture)

Do a screen capture at every iteration.

template<typename TInputImage, typename TInputImageConverter>
void itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::SetScreenCapturePrefix ( const char *  prefix)

Set the filename prefix for screen captures.

template<typename TInputImage, typename TInputImageConverter>
virtual void itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::Update ( )
virtual

Set up the VTK pipeline and render. Do a screen capture if the option is set.

Member Data Documentation

template<typename TInputImage, typename TInputImageConverter>
vtkSmartPointer< vtkCornerAnnotation > itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::m_Annotation
private

Definition at line 109 of file itkVTKVisualizeImageLevelSet.h.

template<typename TInputImage, typename TInputImageConverter>
IdentifierType itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::m_CurrentIteration
private

Definition at line 105 of file itkVTKVisualizeImageLevelSet.h.

template<typename TInputImage, typename TInputImageConverter>
InputImageConverterType::Pointer itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::m_InputImageConverter
protected

Definition at line 97 of file itkVTKVisualizeImageLevelSet.h.

template<typename TInputImage, typename TInputImageConverter>
vtkSmartPointer< vtkRenderer > itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::m_Renderer
protected

Definition at line 99 of file itkVTKVisualizeImageLevelSet.h.

template<typename TInputImage, typename TInputImageConverter>
vtkSmartPointer< vtkRenderWindow > itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::m_RenderWindow
private

Definition at line 108 of file itkVTKVisualizeImageLevelSet.h.

template<typename TInputImage, typename TInputImageConverter>
bool itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::m_ScreenCapture
private

Definition at line 102 of file itkVTKVisualizeImageLevelSet.h.

template<typename TInputImage, typename TInputImageConverter>
std::string itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::m_ScreenCapturePrefix
private

Definition at line 106 of file itkVTKVisualizeImageLevelSet.h.


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