19 #ifndef itkVTKVisualize2DLevelSetAsElevationMap_h
20 #define itkVTKVisualize2DLevelSetAsElevationMap_h
27 #include "vtkPolyData.h"
28 #include "vtkPolyDataMapper.h"
30 #include "vtkScalarBarActor.h"
35 template<
typename TInputImage,
typename TLevelSet >
61 #ifdef ITK_USE_CONCEPT_CHECKING
75 return m_HeightScaling;
88 void PrepareVTKPipeline()
override;
90 void GenerateElevationMap();
95 vtkSmartPointer< vtkPolyData >
m_Mesh;
112 #ifndef ITK_MANUAL_INSTANTIATION
113 #include "itkVTKVisualize2DLevelSetAsElevationMap.hxx"
116 #endif // itkVTKVisualize2DLevelSetAsElevationMap_H
Light weight base class for most itk classes.
vtkSmartPointer< vtkPolyData > m_Mesh
typename Superclass::InputImageType InputImageType
double GetHeightScaling() const
unsigned long SizeValueType
InputImageSizeType m_NumberOfSamples
vtkSmartPointer< vtkActor > m_SurfaceActor
vtkSmartPointer< vtkScalarBarActor > m_ScalarBarActor
ImageBaseType::SizeType SizeType
typename InputImageType::SizeValueType InputImageSizeValueType
vtkPolyData * GetElevationMapMesh() const
vtkSmartPointer< vtkPolyDataMapper > m_MeshMapper
TInputImage InputImageType
LevelSetPointer m_LevelSet
void SetHeightScaling(const double c)
Base class for visualizing level sets defined on an image with VTK.
#define itkConceptMacro(name, concept)
typename LevelSetType::Pointer LevelSetPointer
typename InputImageType::SizeType InputImageSizeType