20 #include <vtkLinearTransform.h> 25 : m_SubdivisionContour(
mitk::
ContourModel::New()), m_InitSubdivisionCurve(true)
49 bool subdivision =
false;
60 subdivFilter->SetInput(input);
61 subdivFilter->Update();
100 Superclass::SetDefaultProperties(node, renderer, overwrite);
L * GetLocalStorage(mitk::BaseRenderer *forRenderer)
Retrieves a LocalStorage for a specific BaseRenderer.
ContourModel is a structure of linked vertices defining a contour in 3D space. The vertices are store...
void MitkRender(BaseRenderer *renderer, mitk::VtkPropRenderer::RenderType type) override
Base class for mapper specific rendering ressources.
static void SetDefaultProperties(mitk::DataNode *node, mitk::BaseRenderer *renderer=nullptr, bool overwrite=false)
virtual DataNode * GetDataNode() const
Get the DataNode containing the data to map. Method only returns valid DataNode Pointer if the mapper...
mitk::ContourModel::Pointer m_SubdivisionContour
Organizes the rendering process.
DataCollection - Class to facilitate loading/accessing structured data.
bool GetBoolProperty(const char *propertyKey, bool &boolValue, const mitk::BaseRenderer *renderer=nullptr) const
Convenience access method for bool properties (instances of BoolProperty)
LocalStorageHandler< BaseLocalStorage > m_LSH
BaseData * GetData() const
Get the data object (instance of BaseData, e.g., an Image) managed by this DataNode.
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 ...
void DrawContour(mitk::ContourModel *contour, mitk::BaseRenderer *renderer)
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...
~ContourModelGLMapper2D() override
void UpdateGenerateDataTime()
bool m_InitSubdivisionCurve
Class for nodes of the DataTree.