ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkVTKVisualizeImageLevelSet.h>
Base class for visualizing level sets defined on an image with VTK.
TInputImage | Input image the level set evolves on. |
TInputImageConverter | ITK filter to convert the input image to a VTK object. |
Definition at line 44 of file itkVTKVisualizeImageLevelSet.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImageConverter | InputImageConverterType |
typedef TInputImage | InputImageType |
typedef SmartPointer< Self > | Pointer |
typedef VTKVisualizeImageLevelSet | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
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 () |
typedef SmartPointer< const Self > itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::ConstPointer |
Definition at line 50 of file itkVTKVisualizeImageLevelSet.h.
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.
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.
typedef SmartPointer< Self > itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::Pointer |
Definition at line 49 of file itkVTKVisualizeImageLevelSet.h.
typedef VTKVisualizeImageLevelSet itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::Self |
Definition at line 47 of file itkVTKVisualizeImageLevelSet.h.
typedef LightObject itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::Superclass |
Definition at line 48 of file itkVTKVisualizeImageLevelSet.h.
|
protected |
|
protectedvirtual |
IdentifierType itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::GetCurrentIteration | ( | ) | const |
Set/Get the current iteration. Used for the filename during screen capture.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::LightObject.
Reimplemented in itk::VTKVisualize2DSparseLevelSetLayers< TInputImage, itk::MalcolmSparseLevelSetImage< VDimension > >, itk::VTKVisualizeImageLevelSetIsoValues< Image< TInputPixel, 3 >, TLevelSet >, itk::VTKVisualize2DSparseLevelSetLayers< TInputImage, itk::ShiSparseLevelSetImage< VDimension > >, itk::VTKVisualizeImageLevelSetIsoValues< Image< TInputPixel, 2 >, TLevelSet >, itk::VTKVisualize2DSparseLevelSetLayers< TInputImage, itk::WhitakerSparseLevelSetImage< TOutput, VDimension > >, itk::VTKVisualize2DSparseLevelSetLayersBase< TInputImage, TLevelSet >, itk::VTKVisualize2DSparseLevelSetLayersBase< TInputImage, itk::WhitakerSparseLevelSetImage< TOutput, VDimension > >, itk::VTKVisualize2DSparseLevelSetLayersBase< TInputImage, itk::MalcolmSparseLevelSetImage< VDimension > >, itk::VTKVisualize2DSparseLevelSetLayersBase< TInputImage, itk::ShiSparseLevelSetImage< VDimension > >, and itk::VTKVisualize2DLevelSetAsElevationMap< TInputImage, TLevelSet >.
vtkRenderer* itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::GetRenderer | ( | ) |
Get the renderer.
vtkRenderWindow* itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::GetRenderWindow | ( | ) |
Set/Get the render window.
bool itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::GetScreenCapture | ( | ) | const |
Do a screen capture at every iteration.
|
protectedpure virtual |
Setup the VTK pipeline for a Render() call.
Implemented in itk::VTKVisualizeImageLevelSetIsoValues< Image< TInputPixel, 3 >, TLevelSet >, itk::VTKVisualizeImageLevelSetIsoValues< Image< TInputPixel, 2 >, TLevelSet >, itk::VTKVisualize2DSparseLevelSetLayersBase< TInputImage, TLevelSet >, itk::VTKVisualize2DSparseLevelSetLayersBase< TInputImage, itk::WhitakerSparseLevelSetImage< TOutput, VDimension > >, itk::VTKVisualize2DSparseLevelSetLayersBase< TInputImage, itk::MalcolmSparseLevelSetImage< VDimension > >, itk::VTKVisualize2DSparseLevelSetLayersBase< TInputImage, itk::ShiSparseLevelSetImage< VDimension > >, and itk::VTKVisualize2DLevelSetAsElevationMap< TInputImage, TLevelSet >.
void itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::SetCurrentIteration | ( | const IdentifierType | iteration | ) |
Set/Get the current iteration. Used for the filename during screen capture.
|
virtual |
Set the input image the level set is being evolved over.
Reimplemented in itk::VTKVisualizeImageLevelSetIsoValues< Image< TInputPixel, 3 >, TLevelSet >, itk::VTKVisualize2DSparseLevelSetLayersBase< TInputImage, TLevelSet >, itk::VTKVisualize2DSparseLevelSetLayersBase< TInputImage, itk::WhitakerSparseLevelSetImage< TOutput, VDimension > >, itk::VTKVisualize2DSparseLevelSetLayersBase< TInputImage, itk::MalcolmSparseLevelSetImage< VDimension > >, and itk::VTKVisualize2DSparseLevelSetLayersBase< TInputImage, itk::ShiSparseLevelSetImage< VDimension > >.
void itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::SetRenderWindow | ( | vtkRenderWindow * | renderWindow | ) |
Set/Get the render window.
void itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::SetScreenCapture | ( | const bool | iCapture | ) |
Do a screen capture at every iteration.
void itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::SetScreenCapturePrefix | ( | const char * | prefix | ) |
Set the filename prefix for screen captures.
|
virtual |
Set up the VTK pipeline and render. Do a screen capture if the option is set.
|
private |
Definition at line 109 of file itkVTKVisualizeImageLevelSet.h.
|
private |
Definition at line 105 of file itkVTKVisualizeImageLevelSet.h.
|
protected |
Definition at line 97 of file itkVTKVisualizeImageLevelSet.h.
|
protected |
Definition at line 99 of file itkVTKVisualizeImageLevelSet.h.
|
private |
Definition at line 108 of file itkVTKVisualizeImageLevelSet.h.
|
private |
Definition at line 102 of file itkVTKVisualizeImageLevelSet.h.
|
private |
Definition at line 106 of file itkVTKVisualizeImageLevelSet.h.