21#ifndef __vtkMRMLSegmentationsDisplayableManager2D_h
22#define __vtkMRMLSegmentationsDisplayableManager2D_h
27#include "vtkSlicerSegmentationsModuleMRMLDisplayableManagerExport.h"
44 void PrintSelf(ostream& os, vtkIndent indent)
override;
53 vtkStringArray* segmentIDs, vtkDoubleArray* segmentValues =
nullptr);
vtkMRMLAbstractSliceViewDisplayableManager()
Abstract Superclass for all specific types of MRML nodes.
MRML node for representing segmentation display attributes.
void UpdateFromMRML() override
Update Actors based on transforms in the scene.
void OnMRMLSceneEndBatchProcess() override
void OnMRMLSceneEndClose() override
bool RemoveCustomSegmentRenderer(int tag)
std::string GetCustomSegmentRendererSegmentationDisplayNodeID(int index)
void OnMRMLSceneNodeAdded(vtkMRMLNode *node) override
std::string GetDataProbeInfoStringForPosition(double xyz[3]) override
vtkMRMLSegmentationsDisplayableManager2D()
void UnobserveMRMLScene() override
void PrintSelf(ostream &os, vtkIndent indent) override
int GetCustomSegmentRendererTag(const std::string &segmentationDisplayNodeID, const std::string &segmentID)
static vtkMRMLSegmentationsDisplayableManager2D * New()
void OnMRMLSceneNodeRemoved(vtkMRMLNode *node) override
~vtkMRMLSegmentationsDisplayableManager2D() override
int GetNumberOfCustomSegmentsRenderers()
Get information on custom segment renderers. Intended for troubleshooting.
void ProcessMRMLNodesEvents(vtkObject *caller, unsigned long event, void *callData) override
bool HasCustomSegmentRenderer(const std::string &segmentationDisplayNodeID, const std::string &segmentID)
int AddCustomSegmentRenderer(const std::string &segmentationDisplayNodeID, const std::string &segmentID)
void Create() override
Initialize the displayable manager based on its associated vtkMRMLSliceNode.
std::string GetCustomSegmentRendererSegmentID(int index)
virtual void GetVisibleSegmentsForPosition(double ras[3], vtkMRMLSegmentationDisplayNode *displayNode, vtkStringArray *segmentIDs, vtkDoubleArray *segmentValues=nullptr)
int GetCustomSegmentRendererTag(int index)
void OnMRMLSceneStartClose() override