VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
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 "
vtkBorderRepresentation.h
"
35
36
class
vtkImageData
;
37
class
vtkImageProperty;
38
class
vtkTexture
;
39
class
vtkPolyData
;
40
class
vtkPoionts;
41
class
vtkPolyDataMapper2D
;
42
class
vtkActor2D
;
43
class
vtkProperty2D
;
44
45
46
class
VTK_WIDGETS_EXPORT
vtkLogoRepresentation
:
public
vtkBorderRepresentation
47
{
48
public
:
50
static
vtkLogoRepresentation
*
New
();
51
53
54
vtkTypeMacro(
vtkLogoRepresentation
,
vtkBorderRepresentation
);
55
void
PrintSelf
(ostream& os,
vtkIndent
indent);
57
59
60
virtual
void
SetImage(
vtkImageData
*img);
61
vtkGetObjectMacro(Image,
vtkImageData
);
63
65
66
virtual
void
SetImageProperty(
vtkProperty2D
*p);
67
vtkGetObjectMacro(ImageProperty,
vtkProperty2D
);
69
71
virtual
void
BuildRepresentation
();
72
74
76
virtual
void
GetActors2D
(
vtkPropCollection
*pc);
77
virtual
void
ReleaseGraphicsResources
(
vtkWindow
*);
78
virtual
int
RenderOverlay
(
vtkViewport
*);
80
81
protected
:
82
vtkLogoRepresentation
();
83
~
vtkLogoRepresentation
();
84
85
// data members
86
vtkImageData
*
Image
;
87
vtkProperty2D
*
ImageProperty
;
88
89
// Represent the image
90
vtkTexture
*
Texture
;
91
vtkPoints
*
TexturePoints
;
92
vtkPolyData
*
TexturePolyData
;
93
vtkPolyDataMapper2D
*
TextureMapper
;
94
vtkActor2D
*
TextureActor
;
95
96
// Helper methods
97
void
AdjustImageSize(
double
o[2],
double
borderSize[2],
double
imageSize[2]);
98
99
private
:
100
vtkLogoRepresentation
(
const
vtkLogoRepresentation
&);
//Not implemented
101
void
operator=(
const
vtkLogoRepresentation
&);
//Not implemented
102
};
103
104
#endif
vtkLogoRepresentation::TexturePolyData
vtkPolyData * TexturePolyData
Definition:
vtkLogoRepresentation.h:92
vtkLogoRepresentation::TexturePoints
vtkPoints * TexturePoints
Definition:
vtkLogoRepresentation.h:91
vtkBorderRepresentation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkLogoRepresentation::ImageProperty
vtkProperty2D * ImageProperty
Definition:
vtkLogoRepresentation.h:87
vtkViewport
abstract specification for Viewports
Definition:
vtkViewport.h:45
vtkActor2D
a actor that draws 2D data
Definition:
vtkActor2D.h:43
vtkLogoRepresentation::Image
vtkImageData * Image
Definition:
vtkLogoRepresentation.h:86
vtkBorderRepresentation::GetActors2D
virtual void GetActors2D(vtkPropCollection *)
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition:
vtkPolyData.h:81
vtkBorderRepresentation::New
static vtkBorderRepresentation * New()
vtkLogoRepresentation::TextureActor
vtkActor2D * TextureActor
Definition:
vtkLogoRepresentation.h:94
vtkPropCollection
a list of Props
Definition:
vtkPropCollection.h:39
vtkWindow
window superclass for vtkRenderWindow
Definition:
vtkWindow.h:35
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:37
vtkLogoRepresentation::TextureMapper
vtkPolyDataMapper2D * TextureMapper
Definition:
vtkLogoRepresentation.h:93
vtkImageData
topologically and geometrically regular array of data
Definition:
vtkImageData.h:43
vtkBorderRepresentation::BuildRepresentation
virtual void BuildRepresentation()
vtkBorderRepresentation::RenderOverlay
virtual int RenderOverlay(vtkViewport *)
vtkTexture
handles properties associated with a texture map
Definition:
vtkTexture.h:68
vtkLogoRepresentation::Texture
vtkTexture * Texture
Definition:
vtkLogoRepresentation.h:90
vtkBorderRepresentation
represent a vtkBorderWidget
Definition:
vtkBorderRepresentation.h:56
VTK_WIDGETS_EXPORT
#define VTK_WIDGETS_EXPORT
Definition:
vtkWin32Header.h:282
vtkBorderRepresentation.h
vtkLogoRepresentation
represent the vtkLogoWidget
Definition:
vtkLogoRepresentation.h:46
vtkProperty2D
represent surface properties of a 2D image
Definition:
vtkProperty2D.h:38
vtkBorderRepresentation::ReleaseGraphicsResources
virtual void ReleaseGraphicsResources(vtkWindow *)
vtkPolyDataMapper2D
draw vtkPolyData onto the image plane
Definition:
vtkPolyDataMapper2D.h:49
vtkPoints
represent and manipulate 3D points
Definition:
vtkPoints.h:38
Generated by
1.8.9.1