13 #ifndef MAPPER_H_HEADER_INCLUDED_C1E6EA08 14 #define MAPPER_H_HEADER_INCLUDED_C1E6EA08 23 #include <itkObject.h> 24 #include <itkWeakPointer.h> 27 #include <vtkConfigure.h> 60 virtual DataNode *GetDataNode()
const;
83 DEPRECATED(
virtual bool GetVisibility(
bool &visible,
BaseRenderer *renderer,
const char *name =
"visible")
const);
90 DEPRECATED(
virtual bool GetOpacity(
float &opacity,
BaseRenderer *renderer,
const char *name =
"opacity")
const);
99 const char *name =
"levelwindow")
const);
134 virtual void ApplyColorAndOpacityProperties(
mitk::BaseRenderer *renderer, vtkActor *actor =
nullptr) = 0;
144 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.
virtual bool IsVtkBased() const
Returns whether this is an vtk-based mapper.
Base class of all mappers, Vtk as well as OpenGL mappers.
itk::TimeStamp m_LastGenerateDataTime
timestamp of last update of stored data
The LevelWindow class Class to store level/window values.
virtual void GenerateData()
Generate the data needed for rendering (independent of a specific renderer)
#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()
virtual bool IsLODEnabled(BaseRenderer *) const
int GetTimestep() const
Returns the current time step as calculated from the renderer.
Class for nodes of the DataTree.