Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkVtkLogoRepresentation.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkVtkLogoRepresentation_h
14 #define mitkVtkLogoRepresentation_h
15 
16 #include <vtkLogoRepresentation.h>
17 
27 class mitkVtkLogoRepresentation : public vtkLogoRepresentation
28 {
29 public:
32 
33  vtkTypeMacro(mitkVtkLogoRepresentation, vtkLogoRepresentation);
34  void PrintSelf(ostream &os, vtkIndent indent) override;
35 
37  void BuildRepresentation() override;
38 
43  void SetCornerPosition(int corner) { cornerPosition = corner; }
44 protected:
47 
48  // Helper methods
49  void AdjustImageSize(double o[2], double borderSize[2], double imageSize[2]) override;
50 
52 
53 private:
54  mitkVtkLogoRepresentation(const mitkVtkLogoRepresentation &); // Not implemented
55  void operator=(const mitkVtkLogoRepresentation &); // Not implemented
56 };
57 
58 #endif
Extended VTK logo representation with configurable corner placement.
~mitkVtkLogoRepresentation() override
static mitkVtkLogoRepresentation * New()
Instantiate this class.
void AdjustImageSize(double o[2], double borderSize[2], double imageSize[2]) override
void PrintSelf(ostream &os, vtkIndent indent) override
void SetCornerPosition(int corner)
Set the corner position for the logo placement.
vtkTypeMacro(mitkVtkLogoRepresentation, vtkLogoRepresentation)
void BuildRepresentation() override
Build the representation geometry.