Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
Functions | |
void | ApplyIndividualProperties (const ROI::Element &roi, TimeStepType t, vtkActor *actor) |
Apply ROI properties at a certain time step to the given actor. More... | |
vtkSmartPointer< vtkCaptionActor2D > | 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 | ParseCaption (const std::string &captionTemplate, const ROI::Element &roi, TimeStepType t=0) |
Substitute all placeholders in a caption with corresponding property values. More... | |
void | 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 * | GetConstProperty (const std::string &propertyKey, const ROI::Element &roi, TimeStepType t) |
Syntactic sugar for getting ROI properties. More... | |
void mitk::ROIMapperHelper::ApplyIndividualProperties | ( | const ROI::Element & | roi, |
TimeStepType | t, | ||
vtkActor * | actor | ||
) |
Apply ROI properties at a certain time step to the given actor.
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.
const T* mitk::ROIMapperHelper::GetConstProperty | ( | const std::string & | propertyKey, |
const ROI::Element & | roi, | ||
TimeStepType | t | ||
) |
Syntactic sugar for getting ROI properties.
Definition at line 48 of file mitkROIMapperHelper.h.
References mitk::ROI::Element::GetConstProperty().
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.
void mitk::ROIMapperHelper::SetDefaultProperties | ( | DataNode * | node, |
BaseRenderer * | renderer, | ||
bool | override | ||
) |
Set common default properties for both 2-d and 3-d ROI mappers.