VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
dox
Interaction
Widgets
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
35
#include "
vtkBorderRepresentation.h
"
36
37
class
vtkImageData
;
38
class
vtkImageProperty
;
39
class
vtkTexture
;
40
class
vtkPolyData
;
41
class
vtkPoionts;
42
class
vtkPolyDataMapper2D
;
43
class
vtkTexturedActor2D
;
44
class
vtkProperty2D
;
45
46
47
class
VTKINTERACTIONWIDGETS_EXPORT
vtkLogoRepresentation
:
public
vtkBorderRepresentation
48
{
49
public
:
51
static
vtkLogoRepresentation
*
New
();
52
54
55
vtkTypeMacro(
vtkLogoRepresentation
,
vtkBorderRepresentation
);
56
void
PrintSelf
(ostream& os,
vtkIndent
indent);
58
60
61
virtual
void
SetImage(
vtkImageData
*img);
62
vtkGetObjectMacro(Image,
vtkImageData
);
64
66
67
virtual
void
SetImageProperty(
vtkProperty2D
*p);
68
vtkGetObjectMacro(ImageProperty,
vtkProperty2D
);
70
72
virtual
void
BuildRepresentation
();
73
75
77
virtual
void
GetActors2D
(
vtkPropCollection
*pc);
78
virtual
void
ReleaseGraphicsResources
(
vtkWindow
*);
79
virtual
int
RenderOverlay
(
vtkViewport
*);
81
82
protected
:
83
vtkLogoRepresentation
();
84
~
vtkLogoRepresentation
();
85
86
// data members
87
vtkImageData
*
Image
;
88
vtkProperty2D
*
ImageProperty
;
89
90
// Represent the image
91
vtkTexture
*
Texture
;
92
vtkPoints
*
TexturePoints
;
93
vtkPolyData
*
TexturePolyData
;
94
vtkPolyDataMapper2D
*
TextureMapper
;
95
vtkTexturedActor2D
*
TextureActor
;
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
vtkLogoRepresentation::TexturePolyData
vtkPolyData * TexturePolyData
Definition:
vtkLogoRepresentation.h:93
vtkTexturedActor2D
actor that draws 2D data with texture support
Definition:
vtkTexturedActor2D.h:40
vtkLogoRepresentation::TexturePoints
vtkPoints * TexturePoints
Definition:
vtkLogoRepresentation.h:92
vtkBorderRepresentation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkLogoRepresentation::ImageProperty
vtkProperty2D * ImageProperty
Definition:
vtkLogoRepresentation.h:88
vtkViewport
abstract specification for Viewports
Definition:
vtkViewport.h:46
vtkImageProperty
image display properties
Definition:
vtkImageProperty.h:41
vtkLogoRepresentation::Image
vtkImageData * Image
Definition:
vtkLogoRepresentation.h:87
vtkBorderRepresentation::GetActors2D
virtual void GetActors2D(vtkPropCollection *)
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition:
vtkPolyData.h:84
vtkBorderRepresentation::New
static vtkBorderRepresentation * New()
vtkPropCollection
a list of Props
Definition:
vtkPropCollection.h:40
vtkWindow
window superclass for vtkRenderWindow
Definition:
vtkWindow.h:36
VTKINTERACTIONWIDGETS_EXPORT
#define VTKINTERACTIONWIDGETS_EXPORT
Definition:
vtkInteractionWidgetsModule.h:15
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:38
vtkLogoRepresentation::TextureMapper
vtkPolyDataMapper2D * TextureMapper
Definition:
vtkLogoRepresentation.h:94
vtkLogoRepresentation::TextureActor
vtkTexturedActor2D * TextureActor
Definition:
vtkLogoRepresentation.h:95
vtkImageData
topologically and geometrically regular array of data
Definition:
vtkImageData.h:44
vtkBorderRepresentation::BuildRepresentation
virtual void BuildRepresentation()
vtkBorderRepresentation::RenderOverlay
virtual int RenderOverlay(vtkViewport *)
vtkTexture
handles properties associated with a texture map
Definition:
vtkTexture.h:69
vtkLogoRepresentation::Texture
vtkTexture * Texture
Definition:
vtkLogoRepresentation.h:91
vtkBorderRepresentation
represent a vtkBorderWidget
Definition:
vtkBorderRepresentation.h:57
vtkBorderRepresentation.h
vtkLogoRepresentation
represent the vtkLogoWidget
Definition:
vtkLogoRepresentation.h:47
vtkProperty2D
represent surface properties of a 2D image
Definition:
vtkProperty2D.h:39
vtkInteractionWidgetsModule.h
vtkBorderRepresentation::ReleaseGraphicsResources
virtual void ReleaseGraphicsResources(vtkWindow *)
vtkPolyDataMapper2D
draw vtkPolyData onto the image plane
Definition:
vtkPolyDataMapper2D.h:50
vtkPoints
represent and manipulate 3D points
Definition:
vtkPoints.h:38
Generated on Wed Dec 16 2015 17:15:02 for VTK by
1.8.9.1