ITK
5.0.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 | |
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 () |
using itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::ConstPointer = SmartPointer< const Self > |
Definition at line 52 of file itkVTKVisualizeImageLevelSet.h.
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.
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.
using itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::Pointer = SmartPointer< Self > |
Definition at line 51 of file itkVTKVisualizeImageLevelSet.h.
using itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::Self = VTKVisualizeImageLevelSet |
Definition at line 49 of file itkVTKVisualizeImageLevelSet.h.
using itk::VTKVisualizeImageLevelSet< TInputImage, TInputImageConverter >::Superclass = LightObject |
Definition at line 50 of file itkVTKVisualizeImageLevelSet.h.
|
protected |
|
overrideprotected |
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::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 99 of file itkVTKVisualizeImageLevelSet.h.
|
protected |
Definition at line 101 of file itkVTKVisualizeImageLevelSet.h.
|
private |
Definition at line 108 of file itkVTKVisualizeImageLevelSet.h.
|
private |
Definition at line 104 of file itkVTKVisualizeImageLevelSet.h.
|
private |
Definition at line 106 of file itkVTKVisualizeImageLevelSet.h.