19 #ifndef itkVTKVisualize2DSparseLevelSetLayersBase_h
20 #define itkVTKVisualize2DSparseLevelSetLayersBase_h
28 #include "vtkCornerAnnotation.h"
29 #include "vtkImageData.h"
30 #include "vtkLookupTable.h"
31 #include "vtkMarchingSquares.h"
32 #include "vtkPolyDataMapper.h"
34 #include "vtkImageActor.h"
35 #include "vtkScalarBarActor.h"
36 #include "vtkProperty.h"
37 #include "vtkRenderer.h"
38 #include "vtkRenderWindowInteractor.h"
39 #include "vtkRenderWindow.h"
40 #include "vtkImageShiftScale.h"
43 #include "vtkPNGWriter.h"
53 template<
typename TInputImage,
typename TLevelSet >
80 #ifdef ITK_USE_CONCEPT_CHECKING
93 void PrepareVTKPipeline()
override;
95 virtual std::string GetLevelSetRepresentationName()
const = 0;
97 virtual void AddLayers() = 0;
101 #ifndef ITK_MANUAL_INSTANTIATION
102 #include "itkVTKVisualize2DSparseLevelSetLayersBase.hxx"
typename ConverterType::Pointer ConverterPointer
Light weight base class for most itk classes.
Derived class for the shi representation of level-set function.
typename LevelSetType::Pointer LevelSetPointer
vtkSmartPointer< vtkImageActor > m_VTKImageActor
LevelSetPointer m_LevelSet
typename InputImageType::PixelType InputPixelType
TInputImage InputImageType
Converts an ITK image into a VTK image.
Base class for visualizing level sets defined on an image with VTK.
#define itkConceptMacro(name, concept)
vtkSmartPointer< vtkImageData > m_VTKImage