ITK  5.0.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

using ConstPointer = SmartPointer< const Self >
 
using InputImageConverterType = TInputImageConverter
 
using InputImageType = TInputImage
 
using Pointer = SmartPointer< Self >
 
using Self = VTKVisualizeImageLevelSet
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

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 ()
 
 ~VTKVisualizeImageLevelSet () override
 
- 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
std::atomic< 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>
using itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::ConstPointer = SmartPointer< const Self >

Definition at line 52 of file itkVTKVisualizeImageLevelSet.h.

template<typename TInputImage, typename TInputImageConverter>
using itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::InputImageConverterType = TInputImageConverter

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

Definition at line 61 of file itkVTKVisualizeImageLevelSet.h.

template<typename TInputImage, typename TInputImageConverter>
using itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::InputImageType = TInputImage

Type of the input image the level set evolves on.

Definition at line 58 of file itkVTKVisualizeImageLevelSet.h.

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

Definition at line 51 of file itkVTKVisualizeImageLevelSet.h.

template<typename TInputImage, typename TInputImageConverter>
using itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::Self = VTKVisualizeImageLevelSet

Definition at line 49 of file itkVTKVisualizeImageLevelSet.h.

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

Definition at line 50 of file itkVTKVisualizeImageLevelSet.h.

Constructor & Destructor Documentation

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

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 99 of file itkVTKVisualizeImageLevelSet.h.

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

Definition at line 101 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 104 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: