VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
vtkTexturedActor2D.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkTexturedActor2D.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
=========================================================================*/
29
#ifndef __vtkTexturedActor2D_h
30
#define __vtkTexturedActor2D_h
31
32
#include "
vtkActor2D.h
"
33
34
class
vtkProp
;
35
class
vtkTexture
;
36
class
vtkViewport
;
37
class
vtkWindow
;
38
39
class
VTK_RENDERING_EXPORT
vtkTexturedActor2D
:
public
vtkActor2D
40
{
41
public
:
42
static
vtkTexturedActor2D
*
New
();
43
void
PrintSelf
(ostream& os,
vtkIndent
indent);
44
vtkTypeMacro(
vtkTexturedActor2D
,
vtkActor2D
);
45
47
50
virtual
void
SetTexture(
vtkTexture
* texture);
51
vtkGetObjectMacro(Texture,
vtkTexture
);
53
57
virtual
void
ReleaseGraphicsResources
(
vtkWindow
* win);
58
60
61
virtual
int
RenderOverlay
(
vtkViewport
* viewport);
62
virtual
int
RenderOpaqueGeometry
(
vtkViewport
* viewport);
63
virtual
int
RenderTranslucentPolygonalGeometry
(
vtkViewport
* viewport);
65
67
virtual
unsigned
long
int
GetMTime
();
68
70
virtual
void
ShallowCopy
(
vtkProp
* prop);
71
72
protected
:
73
vtkTexturedActor2D
();
74
~
vtkTexturedActor2D
();
75
76
vtkTexture
*
Texture
;
77
78
private
:
79
vtkTexturedActor2D
(
const
vtkTexturedActor2D
&);
// Not implemented.
80
void
operator=(
const
vtkTexturedActor2D
&);
// Not implemented.
81
};
82
83
#endif
84
vtkProp
abstract superclass for all actors, volumes and annotations
Definition:
vtkProp.h:49
vtkActor2D::RenderTranslucentPolygonalGeometry
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *viewport)
vtkTexturedActor2D
actor that draws 2D data with texture support
Definition:
vtkTexturedActor2D.h:39
vtkActor2D::ReleaseGraphicsResources
virtual void ReleaseGraphicsResources(vtkWindow *)
vtkViewport
abstract specification for Viewports
Definition:
vtkViewport.h:45
vtkActor2D
a actor that draws 2D data
Definition:
vtkActor2D.h:43
vtkTexturedActor2D::Texture
vtkTexture * Texture
Definition:
vtkTexturedActor2D.h:76
vtkWindow
window superclass for vtkRenderWindow
Definition:
vtkWindow.h:35
vtkActor2D::GetMTime
virtual unsigned long GetMTime()
vtkActor2D::RenderOpaqueGeometry
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:37
vtkActor2D::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkActor2D::New
static vtkActor2D * New()
vtkTexture
handles properties associated with a texture map
Definition:
vtkTexture.h:68
vtkActor2D.h
VTK_RENDERING_EXPORT
#define VTK_RENDERING_EXPORT
Definition:
vtkWin32Header.h:278
vtkActor2D::ShallowCopy
virtual void ShallowCopy(vtkProp *prop)
vtkActor2D::RenderOverlay
virtual int RenderOverlay(vtkViewport *viewport)
Generated by
1.8.9.1