Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
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 
18 class mitkVtkLogoRepresentation : public vtkLogoRepresentation
19 {
20 public:
21  // Description:
22  // Instantiate this class.
24 
25  // Description:
26  // Standard VTK class methods.
27  vtkTypeMacro(mitkVtkLogoRepresentation, vtkLogoRepresentation);
28  void PrintSelf(ostream &os, vtkIndent indent) override;
29 
30  // Description:
31  // Satisfy the superclasses' API.
32  void BuildRepresentation() override;
33 
34  void SetCornerPosition(int corner) { cornerPosition = corner; }
35 protected:
37  ~mitkVtkLogoRepresentation() override;
38 
39  // Helper methods
40  void AdjustImageSize(double o[2], double borderSize[2], double imageSize[2]) override;
41 
43 
44 private:
45  mitkVtkLogoRepresentation(const mitkVtkLogoRepresentation &); // Not implemented
46  void operator=(const mitkVtkLogoRepresentation &); // Not implemented
47 };
48 
49 #endif
mitkVtkLogoRepresentation::~mitkVtkLogoRepresentation
~mitkVtkLogoRepresentation() override
mitkVtkLogoRepresentation::AdjustImageSize
void AdjustImageSize(double o[2], double borderSize[2], double imageSize[2]) override
mitkVtkLogoRepresentation::BuildRepresentation
void BuildRepresentation() override
mitkVtkLogoRepresentation::vtkTypeMacro
vtkTypeMacro(mitkVtkLogoRepresentation, vtkLogoRepresentation)
mitkVtkLogoRepresentation::mitkVtkLogoRepresentation
mitkVtkLogoRepresentation()
mitkVtkLogoRepresentation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
mitkVtkLogoRepresentation
Definition: mitkVtkLogoRepresentation.h:18
mitkVtkLogoRepresentation::cornerPosition
int cornerPosition
Definition: mitkVtkLogoRepresentation.h:42
mitkVtkLogoRepresentation::SetCornerPosition
void SetCornerPosition(int corner)
Definition: mitkVtkLogoRepresentation.h:34
mitkVtkLogoRepresentation::New
static mitkVtkLogoRepresentation * New()