Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitkROIMapperHelper.h File Reference
#include <mitkBaseRenderer.h>
#include <mitkROI.h>
#include <vtkCaptionActor2D.h>
#include <vtkProperty.h>
#include <vtkSmartPointer.h>

Go to the source code of this file.

Namespaces

 mitk
 Find image slices visible on a given plane.
 
 mitk::ROIMapperHelper
 

Functions

void mitk::ROIMapperHelper::ApplyIndividualProperties (const ROI::Element &roi, TimeStepType t, vtkActor *actor)
 Apply ROI properties at a certain time step to the given actor. More...
 
vtkSmartPointer< vtkCaptionActor2D > mitk::ROIMapperHelper::CreateCaptionActor (const std::string &caption, const Point3D &attachmentPoint, vtkProperty *property, const DataNode *dataNode, const BaseRenderer *renderer)
 Create an actor for the ROI caption located at a certain attachment point considering several properties. More...
 
std::string mitk::ROIMapperHelper::ParseCaption (const std::string &captionTemplate, const ROI::Element &roi, TimeStepType t=0)
 Substitute all placeholders in a caption with corresponding property values. More...
 
void mitk::ROIMapperHelper::SetDefaultProperties (DataNode *node, BaseRenderer *renderer, bool override)
 Set common default properties for both 2-d and 3-d ROI mappers. More...
 
template<class T >
const T * mitk::ROIMapperHelper::GetConstProperty (const std::string &propertyKey, const ROI::Element &roi, TimeStepType t)
 Syntactic sugar for getting ROI properties. More...