24 #include <vtkLinearTransform.h>
39 BaseLocalStorage *ls = m_LSH.GetLocalStorage(renderer);
53 bool subdivision =
false;
58 if (this->m_SubdivisionContour->GetMTime() < renderingContour->GetMTime() || m_InitSubdivisionCurve)
64 subdivFilter->SetInput(input);
65 subdivFilter->Update();
67 this->m_SubdivisionContour = subdivFilter->GetOutput();
69 m_InitSubdivisionCurve =
false;
71 renderingContour = this->m_SubdivisionContour;
74 this->DrawContour(renderingContour, renderer);
76 ls->UpdateGenerateDataTime();
104 Superclass::SetDefaultProperties(node, renderer, overwrite);
ContourModel is a structure of linked vertices defining a contour in 3D space. The vertices are store...
static void SetDefaultProperties(mitk::DataNode *node, mitk::BaseRenderer *renderer=NULL, bool overwrite=false)
Organizes the rendering process.
bool GetBoolProperty(const char *propertyKey, bool &boolValue, const mitk::BaseRenderer *renderer=nullptr) const
Convenience access method for bool properties (instances of BoolProperty)
DataCollection - Class to facilitate loading/accessing structured data.
virtual void Paint(BaseRenderer *renderer) override
void AddProperty(const char *propertyKey, BaseProperty *property, const mitk::BaseRenderer *renderer=nullptr, bool overwrite=false)
Add the property (instance of BaseProperty) if it does not exist (or always ifoverwrite istrue) with ...
virtual ~ContourModelGLMapper2D()
bool GetVisibility(bool &visible, const mitk::BaseRenderer *renderer, const char *propertyKey="visible") const
Convenience access method for visibility properties (instances of BoolProperty with property-key "vis...
itk::SmartPointer< Self > Pointer
Class for nodes of the DataTree.
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.