Medical Imaging Interaction Toolkit  2016.11.0
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,
6  Division of Medical and Biological Informatics.
7  All rights reserved.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without
10  even the implied warranty of MERCHANTABILITY or FITNESS FOR
11  A PARTICULAR PURPOSE.
12 
13  See LICENSE.txt or http://www.mitk.org for details.
14 
15  ===================================================================*/
16 
17 #ifndef __mitkVtkLogoRepresentation_h
18 #define __mitkVtkLogoRepresentation_h
19 
20 #include "vtkLogoRepresentation.h"
21 
22 class mitkVtkLogoRepresentation : public vtkLogoRepresentation
23 {
24 public:
25  // Description:
26  // Instantiate this class.
28 
29  // Description:
30  // Standard VTK class methods.
31  vtkTypeMacro(mitkVtkLogoRepresentation, vtkLogoRepresentation);
32  void PrintSelf(ostream &os, vtkIndent indent) override;
33 
34  // Description:
35  // Satisfy the superclasses' API.
36  virtual void BuildRepresentation() override;
37 
38  void SetCornerPosition(int corner) { cornerPosition = corner; }
39 protected:
42 
43  // Helper methods
44  void AdjustImageSize(double o[2], double borderSize[2], double imageSize[2]);
45 
47 
48 private:
49  mitkVtkLogoRepresentation(const mitkVtkLogoRepresentation &); // Not implemented
50  void operator=(const mitkVtkLogoRepresentation &); // Not implemented
51 };
52 
53 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
void AdjustImageSize(double o[2], double borderSize[2], double imageSize[2])
vtkTypeMacro(mitkVtkLogoRepresentation, vtkLogoRepresentation)
virtual void BuildRepresentation() override
static mitkVtkLogoRepresentation * New()