13 #ifndef mitkExtrudedContour_h
14 #define mitkExtrudedContour_h
20 #include <vtkVersionMacros.h>
22 class vtkLinearExtrusionFilter;
24 class vtkClipPolyData;
25 class vtkLinearSubdivisionFilter;
26 class vtkTriangleFilter;
49 itkFactorylessNewMacro(Self);
65 itkGetConstMacro(AutomaticVectorGeneration,
bool);
66 itkSetMacro(AutomaticVectorGeneration,
bool);
67 itkBooleanMacro(AutomaticVectorGeneration);
79 itk::ModifiedTimeType
GetMTime()
const override;
97 #if ((VTK_MAJOR_VERSION > 4) || ((VTK_MAJOR_VERSION == 4) && (VTK_MINOR_VERSION >= 4)))
98 double m_ProjectedContourBounds[6];
100 float m_ProjectedContourBounds[6];
109 #if ((VTK_MAJOR_VERSION > 4) || ((VTK_MAJOR_VERSION == 4) && (VTK_MINOR_VERSION >= 4)))
#define MITKSEGMENTATION_EXPORT
BaseGeometry Describes the geometry of a data object.
superclass of all bounding objects (cylinder, cuboid,...)
Stores vertices for drawing a contour.
Data class containing a bounding-object created by extruding a Contour along a vector.
vtkDecimatePro * m_Decimate
mitk::Vector3D m_RightVector
mitkGetVectorMacro(RightVector, mitk::Vector3D)
Optional vector to specify the orientation of the bounding-box.
vtkTriangleFilter * m_TriangleFilter
mitkSetVectorMacro(RightVector, mitk::Vector3D)
bool IsInside(const Point3D &p) const override
mitkClassMacro(ExtrudedContour, BoundingObject)
~ExtrudedContour() override
mitkSetVectorMacro(Vector, mitk::Vector3D)
mitk::PlaneGeometry::Pointer m_ProjectionPlane
itk::TimeStamp m_LastCalculateExtrusionTime
itk::ModifiedTimeType GetMTime() const override
mitk::ScalarType GetVolume() override
mitk::Contour::Pointer m_Contour
vtkClipPolyData * m_ClipPolyDataFilter
vtkLinearSubdivisionFilter * m_SubdivisionFilter
bool m_AutomaticVectorGeneration
vtkLinearExtrusionFilter * m_ExtrusionFilter
mitkGetVectorMacro(Vector, mitk::Vector3D)
Vector to specify the direction of the extrusion.
mitk::BaseGeometry::Pointer m_ClippingGeometry
void UpdateOutputInformation() override
vtkPlanes * m_ClippingBox
Find image slices visible on a given plane.