13 #ifndef MITKRENDERWINDOWLAYERUTILITIES_H 14 #define MITKRENDERWINDOWLAYERUTILITIES_H 30 namespace RenderWindowLayerUtilities
33 typedef std::map<int, DataNode::Pointer, std::greater<int>>
LayerStack;
75 #endif // MITKRENDERWINDOWLAYERUTILITIES_H
Data management class that handles 'was created by' relations.
MITKRENDERWINDOWMANAGER_EXPORT void SetRenderWindowProperties(mitk::DataNode *dataNode, const BaseRenderer *renderer)
Set renderer-specific properties to mark a data node as 'managed by the specific renderer'. In order for a renderer to manage a data node, the 'fixedLayer' property has to be set for the given renderer. Additionally, the 'visible' and the 'layer' property are set and allow to individually render a set of nodes with a specific renderer. The last two mentioned properties are set so that they initially have the same value as the corresponding global property.
const int BASE_LAYER_INDEX
#define MITKRENDERWINDOWMANAGER_EXPORT
Organizes the rendering process.
DataCollection - Class to facilitate loading/accessing structured data.
MITKRENDERWINDOWMANAGER_EXPORT NodePredicateAnd::Pointer GetRenderWindowPredicate(const BaseRenderer *renderer)
Helper function to get a node predicate that can be used to filter render window specific data nodes...
std::vector< BaseRenderer * > RendererVector
const int TOP_LAYER_INDEX
MITKRENDERWINDOWMANAGER_EXPORT LayerStack GetLayerStack(const DataStorage *dataStorage, const BaseRenderer *renderer, bool withBaseNode)
Return the stack of layers of the given renderer as std::map<int, DataNode::Pointer>, which guarantees ordering of the layers. Stacked layers are only included if they have their "fixedLayer" property set to true and their "layer" property set.
std::map< int, DataNode::Pointer, std::greater< int > > LayerStack
Class for nodes of the DataTree.