|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Abstract base class for OpenGL-based 2D contour mappers. More...
#include <mitkContourModelMapper2DBase.h>


Public Member Functions | |
| mitkClassMacro (ContourModelMapper2DBase, Mapper) | |
| void | ApplyColorAndOpacityProperties (mitk::BaseRenderer *renderer, vtkActor *actor=nullptr) override |
| Apply color and opacity properties from the data node to the rendering context. More... | |
Public Member Functions inherited from mitk::Mapper | |
| mitkClassMacroItkParent (Mapper, itk::Object) | |
| virtual void | SetDataNode (DataNode *_arg) |
| Set the DataNode containing the data to map. More... | |
| virtual DataNode * | GetDataNode () const |
| Get the DataNode containing the data to map. More... | |
| virtual void | Update (BaseRenderer *renderer) |
| Calculate the time step for the current renderer and generate rendering data. More... | |
| virtual void | MitkRender (mitk::BaseRenderer *renderer, mitk::VtkPropRenderer::RenderType type)=0 |
| Responsible for calling the appropriate render functions. More... | |
| TimeStepType | GetTimestep () const |
| Return the current time step as calculated from the renderer. More... | |
| virtual bool | IsLODEnabled (BaseRenderer *) const |
| Return whether this Mapper currently allows for Level-of-Detail rendering. More... | |
Protected Types | |
| typedef TextAnnotation2D::Pointer | TextAnnotationPointerType |
| typedef std::vector< BaseRenderer * > | RendererListType |
Protected Member Functions | |
| ContourModelMapper2DBase () | |
| ~ContourModelMapper2DBase () override | |
| void | DrawContour (mitk::ContourModel *contour, mitk::BaseRenderer *renderer) |
| void | WriteTextWithAnnotation (TextAnnotationPointerType textAnnotation, const char *text, float rgb[3], Point2D pt2d, mitk::BaseRenderer *) |
| virtual void | InternalDrawContour (mitk::ContourModel *renderingContour, mitk::BaseRenderer *renderer) |
Protected Member Functions inherited from mitk::Mapper | |
| Mapper () | |
| explicit constructor which disallows implicit conversions More... | |
| ~Mapper () override | |
| virtual destructor in order to derive from this class More... | |
| virtual void | GenerateDataForRenderer (BaseRenderer *) |
| Generate the data needed for rendering into renderer. More... | |
| virtual void | CalculateTimeStep (BaseRenderer *renderer) |
| Updates the time step, which is sometimes needed in subclasses. More... | |
| virtual void | ResetMapper (BaseRenderer *) |
| Reset the mapper (i.e., make sure that nothing is displayed) if no valid data is present. In most cases the reimplemented function disables the according actors (toggling visibility off) More... | |
Protected Attributes | |
| TextAnnotationPointerType | m_PointNumbersAnnotation |
| TextAnnotationPointerType | m_ControlPointNumbersAnnotation |
| RendererListType | m_RendererList |
Protected Attributes inherited from mitk::Mapper | |
| mitk::DataNode * | m_DataNode |
Additional Inherited Members | |
Static Public Member Functions inherited from mitk::Mapper | |
| static void | SetDefaultProperties (DataNode *node, BaseRenderer *renderer=nullptr, bool overwrite=false) |
| Set default values of properties used by this mapper on the given node. More... | |
Abstract base class for OpenGL-based 2D contour mappers.
Provides shared functionality for drawing contour models in 2D render windows using OpenGL. Subclasses such as ContourModelMapper2D and ContourModelSetMapper2D implement the MitkRender method to handle specific data types.
Definition at line 41 of file mitkContourModelMapper2DBase.h.
|
protected |
Definition at line 69 of file mitkContourModelMapper2DBase.h.
|
protected |
Definition at line 53 of file mitkContourModelMapper2DBase.h.
|
protected |
|
overrideprotected |
|
overridevirtual |
Apply color and opacity properties from the data node to the rendering context.
| [in] | renderer | The base renderer providing the rendering context. |
| [in] | actor | Optional VTK actor (unused in OpenGL rendering). Default is nullptr. |
Implements mitk::Mapper.
|
protected |
|
protectedvirtual |
| mitk::ContourModelMapper2DBase::mitkClassMacro | ( | ContourModelMapper2DBase | , |
| Mapper | |||
| ) |
|
protected |
|
protected |
Definition at line 67 of file mitkContourModelMapper2DBase.h.
|
protected |
Definition at line 66 of file mitkContourModelMapper2DBase.h.
|
protected |
Definition at line 70 of file mitkContourModelMapper2DBase.h.