|
| mitkClassMacro (LogoAnnotation, mitk::VtkAnnotation) |
|
Pointer | Clone () const |
|
void | SetLogoImage (vtkSmartPointer< vtkImageData > logo) |
|
void | SetLogoImagePath (std::string text) |
|
std::string | GetLogoImagePath () const |
|
void | LoadLogoImageFromPath () |
|
void | SetOffsetVector (const Point2D &OffsetVector) |
| The relative offset to the corner position. More...
|
|
Point2D | GetOffsetVector () const |
|
void | SetCornerPosition (const int &corner) |
| The corner where the logo is displayed. 0 = Bottom left 1 = Bottom right 2 = Top right 3 = Top left 4 = Center. More...
|
|
int | GetCornerPosition () const |
|
void | SetRelativeSize (const float &size) |
|
float | GetRelativeSize () const |
|
| mitkClassMacro (VtkAnnotation, Annotation) |
|
void | Update (BaseRenderer *renderer) override |
| Applies all properties and should be called before the rendering procedure. More...
|
|
void | AddToBaseRenderer (BaseRenderer *renderer) override |
| Adds the Annotation to the specified renderer. Update Annotation should be called soon in order to apply all properties. More...
|
|
void | AddToRenderer (BaseRenderer *renderer, vtkRenderer *vtkrenderer) override |
| Adds the Annotation to the specified renderer. Update Annotation should be called soon in order to apply all properties. More...
|
|
void | RemoveFromRenderer (BaseRenderer *renderer, vtkRenderer *vtkrenderer) override |
| Removes the Annotation from the specified renderer. It is not visible anymore then. More...
|
|
void | RemoveFromBaseRenderer (BaseRenderer *renderer) override |
| Removes the Annotation from the specified renderer. It is not visible anymore then. More...
|
|
void | Paint (BaseRenderer *renderer) |
| Paints the Annotation. More...
|
|
void | SetProperty (const std::string &propertyKey, const BaseProperty::Pointer &property) |
| Set the property (instance of BaseProperty) with key propertyKey in the PropertyList of the renderer (if nullptr, use BaseRenderer-independent PropertyList). This is set-by-value. More...
|
|
void | ReplaceProperty (const std::string &propertyKey, const BaseProperty::Pointer &property) |
| Replace the property (instance of BaseProperty) with key propertyKey in the PropertyList of the renderer (if nullptr, use BaseRenderer-independent PropertyList). This is set-by-reference. More...
|
|
void | AddProperty (const std::string &propertyKey, const BaseProperty::Pointer &property, bool overwrite=false) |
| Add the property (instance of BaseProperty) if it does not exist (or always if overwrite is true) with key propertyKey in the PropertyList of the renderer (if nullptr, use BaseRenderer-independent PropertyList). This is set-by-value. More...
|
|
void | ConcatenatePropertyList (PropertyList *pList, bool replace=false) |
| Add values from another PropertyList. More...
|
|
mitk::BaseProperty * | GetProperty (const std::string &propertyKey) const |
| Get the property (instance of BaseProperty) with key propertyKey from the PropertyList of the renderer, if available there, otherwise use the BaseRenderer-independent PropertyList. More...
|
|
template<typename T > |
bool | GetProperty (itk::SmartPointer< T > &property, const std::string &propertyKey) const |
| Get the property of type T with key propertyKey from the PropertyList of the renderer, if available there, otherwise use the BaseRenderer-independent PropertyList. More...
|
|
template<typename T > |
bool | GetProperty (T *&property, const std::string &propertyKey) const |
| Get the property of type T with key propertyKey from the PropertyList of the renderer, if available there, otherwise use the BaseRenderer-independent PropertyList. More...
|
|
template<typename T > |
bool | GetPropertyValue (const std::string &propertyKey, T &value) const |
| Convenience access method for GenericProperty<T> properties (T being the type of the second parameter) More...
|
|
bool | GetBoolProperty (const std::string &propertyKey, bool &boolValue) const |
| Convenience access method for bool properties (instances of BoolProperty) More...
|
|
bool | GetIntProperty (const std::string &propertyKey, int &intValue) const |
| Convenience access method for int properties (instances of IntProperty) More...
|
|
bool | GetFloatProperty (const std::string &propertyKey, float &floatValue) const |
| Convenience access method for float properties (instances of FloatProperty) More...
|
|
bool | GetDoubleProperty (const std::string &propertyKey, double &doubleValue) const |
| Convenience access method for double properties (instances of DoubleProperty) More...
|
|
bool | GetStringProperty (const std::string &propertyKey, std::string &string) const |
| Convenience access method for string properties (instances of StringProperty) More...
|
|
void | SetIntProperty (const std::string &propertyKey, int intValue) |
| Convenience method for setting int properties (instances of IntProperty) More...
|
|
void | SetBoolProperty (const std::string &propertyKey, bool boolValue) |
| Convenience method for setting int properties (instances of IntProperty) More...
|
|
void | SetFloatProperty (const std::string &propertyKey, float floatValue) |
| Convenience method for setting int properties (instances of IntProperty) More...
|
|
void | SetDoubleProperty (const std::string &propertyKey, double doubleValue) |
| Convenience method for setting int properties (instances of IntProperty) More...
|
|
void | SetStringProperty (const std::string &propertyKey, const std::string &string) |
| Convenience method for setting int properties (instances of IntProperty) More...
|
|
bool | IsOn (const std::string &propertyKey, bool defaultIsOn=true) const |
| Convenience access method for boolean properties (instances of BoolProperty). Return value is the value of the property. If the property is not found, the value of defaultIsOn is returned. More...
|
|
bool | GetName (std::string &nodeName, const std::string &propertyKey="name") const |
| Convenience access method for accessing the name of an object (instance of StringProperty with property-key "name") More...
|
|
virtual std::string | GetName () const |
| Extra convenience access method for accessing the name of an object (instance of StringProperty with property-key "name"). More...
|
|
virtual void | SetName (const std::string &name) |
| Extra convenience access method to set the name of an object. More...
|
|
bool | GetColor (float rgb[], const std::string &propertyKey="color") const |
| Convenience access method for color properties (instances of ColorProperty) More...
|
|
void | SetColor (const mitk::Color &color, const std::string &propertyKey="color") |
| Convenience method for setting color properties (instances of ColorProperty) More...
|
|
void | SetColor (float red, float green, float blue, const std::string &propertyKey="color") |
| Convenience method for setting color properties (instances of ColorProperty) More...
|
|
void | SetColor (const float rgb[], const std::string &propertyKey="color") |
| Convenience method for setting color properties (instances of ColorProperty) More...
|
|
bool | GetOpacity (float &opacity, const std::string &propertyKey="opacity") const |
| Convenience access method for opacity properties (instances of FloatProperty) More...
|
|
void | SetOpacity (float opacity, const std::string &propertyKey="opacity") |
| Convenience method for setting opacity properties (instances of FloatProperty) More...
|
|
void | SetText (std::string text) |
|
std::string | GetText () const |
|
void | SetFontSize (int fontSize) |
|
int | GetFontSize () const |
|
bool | GetVisibility (bool &visible, const std::string &propertyKey="visible") const |
| Convenience access method for visibility properties (instances of BoolProperty with property-key "visible") More...
|
|
bool | IsVisible (const std::string &propertyKey="visible", bool defaultIsOn=true) const |
| Convenience access method for visibility properties (instances of BoolProperty). Return value is the visibility. Default is visible==true, i.e., true is returned even if the property (propertyKey) is not found. More...
|
|
void | SetVisibility (bool visible, const std::string &propertyKey="visible") |
| Convenience method for setting visibility properties (instances of BoolProperty) More...
|
|
virtual Bounds | GetBoundsOnDisplay (BaseRenderer *renderer) const |
| Returns position and size of the Annotation on the display. More...
|
|
virtual void | SetBoundsOnDisplay (BaseRenderer *renderer, const Bounds &) |
| Sets position and size of the Annotation on the display. More...
|
|
void | SetForceInForeground (bool forceForeground) |
|
bool | IsForceInForeground () const |
|
PropertyList * | GetPropertyList () const |
|
std::string | GetMicroserviceID () |
| Returns the id that this device is registered with. The id will only be valid, if the Annotation has been registered using RegisterAsMicroservice(). More...
|
|
virtual void | RegisterAsMicroservice (us::ServiceProperties props) |
| Registers this object as a Microservice, making it available to every module and/or plugin. To unregister, call UnregisterMicroservice(). More...
|
|
virtual void | UnRegisterMicroservice () |
| Registers this object as a Microservice, making it available to every module and/or plugin. More...
|
|
void | AnnotationModified () |
|
| mitkClassMacroItkParent (Annotation, itk::Object) |
|
Displays a logo on the renderwindow.
Definition at line 29 of file mitkLogoAnnotation.h.