VTK
vtkLogoRepresentation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkLogoRepresentation.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
31 #ifndef vtkLogoRepresentation_h
32 #define vtkLogoRepresentation_h
33 
34 #include "vtkInteractionWidgetsModule.h" // For export macro
36 
37 class vtkImageData;
38 class vtkImageProperty;
39 class vtkTexture;
40 class vtkPolyData;
41 class vtkPoionts;
43 class vtkTexturedActor2D;
44 class vtkProperty2D;
45 
46 
48 {
49 public:
52 
54 
56  void PrintSelf(ostream& os, vtkIndent indent);
58 
60 
61  virtual void SetImage(vtkImageData *img);
64 
66 
70 
72  virtual void BuildRepresentation();
73 
75 
77  virtual void GetActors2D(vtkPropCollection *pc);
79  virtual int RenderOverlay(vtkViewport*);
81 
82 protected:
85 
86  // data members
89 
90  // Represent the image
96 
97  // Helper methods
98  void AdjustImageSize(double o[2], double borderSize[2], double imageSize[2]);
99 
100 private:
101  vtkLogoRepresentation(const vtkLogoRepresentation&); //Not implemented
102  void operator=(const vtkLogoRepresentation&); //Not implemented
103 };
104 
105 #endif
vtkPoints
represent and manipulate 3D points
Definition: vtkPoints.h:39
vtkLogoRepresentation::New
static vtkLogoRepresentation * New()
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkPolyDataMapper2D
draw vtkPolyData onto the image plane
Definition: vtkPolyDataMapper2D.h:51
vtkLogoRepresentation
represent the vtkLogoWidget
Definition: vtkLogoRepresentation.h:48
vtkgl::imageSize
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei imageSize
Definition: vtkgl.h:11538
vtkBorderRepresentation
represent a vtkBorderWidget
Definition: vtkBorderRepresentation.h:58
vtkTexturedActor2D
actor that draws 2D data with texture support
Definition: vtkTexturedActor2D.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkInteractionWidgetsModule.h
vtkLogoRepresentation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkLogoRepresentation::vtkLogoRepresentation
vtkLogoRepresentation()
vtkWindow
window superclass for vtkRenderWindow
Definition: vtkWindow.h:34
vtkLogoRepresentation::ImageProperty
vtkProperty2D * ImageProperty
Definition: vtkLogoRepresentation.h:88
vtkTexture
handles properties associated with a texture map
Definition: vtkTexture.h:70
vtkImageProperty
image display properties
Definition: vtkImageProperty.h:42
vtkgl::img
GLint GLvoid * img
Definition: vtkgl.h:11544
vtkBorderRepresentation.h
vtkLogoRepresentation::SetImage
virtual void SetImage(vtkImageData *img)
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkLogoRepresentation::AdjustImageSize
void AdjustImageSize(double o[2], double borderSize[2], double imageSize[2])
vtkLogoRepresentation::ReleaseGraphicsResources
virtual void ReleaseGraphicsResources(vtkWindow *)
vtkLogoRepresentation::TexturePoints
vtkPoints * TexturePoints
Definition: vtkLogoRepresentation.h:92
vtkLogoRepresentation::~vtkLogoRepresentation
~vtkLogoRepresentation()
vtkViewport
abstract specification for Viewports
Definition: vtkViewport.h:47
vtkLogoRepresentation::Texture
vtkTexture * Texture
Definition: vtkLogoRepresentation.h:91
vtkProperty2D
represent surface properties of a 2D image
Definition: vtkProperty2D.h:40
vtkLogoRepresentation::RenderOverlay
virtual int RenderOverlay(vtkViewport *)
VTKINTERACTIONWIDGETS_EXPORT
#define VTKINTERACTIONWIDGETS_EXPORT
Definition: vtkInteractionWidgetsModule.h:15
vtkLogoRepresentation::Image
vtkImageData * Image
Definition: vtkLogoRepresentation.h:87
vtkLogoRepresentation::TextureActor
vtkTexturedActor2D * TextureActor
Definition: vtkLogoRepresentation.h:95
vtkLogoRepresentation::TexturePolyData
vtkPolyData * TexturePolyData
Definition: vtkLogoRepresentation.h:93
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:84
vtkgl::p
GLfloat GLfloat p
Definition: vtkgl.h:15717
vtkLogoRepresentation::BuildRepresentation
virtual void BuildRepresentation()
vtkPropCollection
a list of Props
Definition: vtkPropCollection.h:38
vtkLogoRepresentation::SetImageProperty
virtual void SetImageProperty(vtkProperty2D *p)
vtkLogoRepresentation::GetActors2D
virtual void GetActors2D(vtkPropCollection *pc)
vtkLogoRepresentation::TextureMapper
vtkPolyDataMapper2D * TextureMapper
Definition: vtkLogoRepresentation.h:94