Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include "MitkRenderWindowManagerExports.h"
#include <mitkBaseRenderer.h>
#include <mitkDataNode.h>
#include <mitkDataStorage.h>
#include <mitkNodePredicateAnd.h>
Go to the source code of this file.
Namespaces | |
mitk | |
DataCollection - Class to facilitate loading/accessing structured data. | |
mitk::RenderWindowLayerUtilities | |
Typedefs | |
typedef std::vector< BaseRenderer * > | mitk::RenderWindowLayerUtilities::RendererVector |
typedef std::map< int, DataNode::Pointer, std::greater< int > > | mitk::RenderWindowLayerUtilities::LayerStack |
Functions | |
MITKRENDERWINDOWMANAGER_EXPORT LayerStack | mitk::RenderWindowLayerUtilities::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. More... | |
MITKRENDERWINDOWMANAGER_EXPORT NodePredicateAnd::Pointer | mitk::RenderWindowLayerUtilities::GetRenderWindowPredicate (const BaseRenderer *renderer) |
Helper function to get a node predicate that can be used to filter render window specific data nodes. More... | |
MITKRENDERWINDOWMANAGER_EXPORT void | mitk::RenderWindowLayerUtilities::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. More... | |
Variables | |
const int | mitk::RenderWindowLayerUtilities::BASE_LAYER_INDEX |
const int | mitk::RenderWindowLayerUtilities::TOP_LAYER_INDEX |