17 #ifndef MAPPER_H_HEADER_INCLUDED_C1E6EA08
18 #define MAPPER_H_HEADER_INCLUDED_C1E6EA08
27 #include <itkObject.h>
28 #include <itkWeakPointer.h>
31 #include <vtkConfigure.h>
65 virtual DataNode *GetDataNode()
const;
88 DEPRECATED(
virtual bool GetVisibility(
bool &visible,
BaseRenderer *renderer,
const char *name =
"visible")
const);
95 DEPRECATED(
virtual bool GetOpacity(
float &opacity,
BaseRenderer *renderer,
const char *name =
"opacity")
const);
104 const char *name =
"levelwindow")
const);
121 virtual bool IsVtkBased()
const = 0;
139 virtual void ApplyColorAndOpacityProperties(
mitk::BaseRenderer *renderer, vtkActor *actor =
nullptr) = 0;
149 static void SetDefaultProperties(
DataNode *node,
BaseRenderer *renderer =
nullptr,
bool overwrite =
false);
Base class for mapper specific rendering ressources.
Base of all data objects.
Organizes the rendering process.
static void Update(vtkPolyData *)
DataCollection - Class to facilitate loading/accessing structured data.
Base class of all mappers, Vtk as well as OpenGL mappers.
int GetTimestep() const
Returns the current time step as calculated from the renderer.
itk::TimeStamp m_LastGenerateDataTime
timestamp of last update of stored data
T::Pointer GetData(const std::string &name)
The LevelWindow class Class to store level/window values.
virtual void GenerateData()
Generate the data needed for rendering (independent of a specific renderer)
virtual bool IsLODEnabled(BaseRenderer *) const
#define mitkClassMacroItkParent(className, SuperClassName)
mitk::DataNode * m_DataNode
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)
virtual void GenerateDataForRenderer(BaseRenderer *)
Generate the data needed for rendering into renderer.
itk::TimeStamp & GetLastGenerateDataTime()
void UpdateGenerateDataTime()
The OverlayManager updates and manages Overlays and the respective Layouters.
Class for nodes of the DataTree.