VTK
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 "vtkRenderingCoreModule.h" // For export macro
33 #include "vtkActor2D.h"
34 
35 class vtkProp;
36 class vtkTexture;
37 class vtkViewport;
38 class vtkWindow;
39 
41 {
42 public:
44  void PrintSelf(ostream& os, vtkIndent indent);
46 
48 
51  virtual void SetTexture(vtkTexture* texture);
54 
58  virtual void ReleaseGraphicsResources(vtkWindow* win);
59 
61 
62  virtual int RenderOverlay(vtkViewport* viewport);
63  virtual int RenderOpaqueGeometry(vtkViewport* viewport);
66 
68  virtual unsigned long int GetMTime();
69 
71  virtual void ShallowCopy(vtkProp* prop);
72 
73 protected:
76 
78 
79 private:
80  vtkTexturedActor2D(const vtkTexturedActor2D&); // Not implemented.
81  void operator=(const vtkTexturedActor2D&); // Not implemented.
82 };
83 
84 #endif
vtkTexturedActor2D::SetTexture
virtual void SetTexture(vtkTexture *texture)
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkTexturedActor2D::New
static vtkTexturedActor2D * New()
vtkTexturedActor2D::vtkTexturedActor2D
vtkTexturedActor2D()
vtkTexturedActor2D
actor that draws 2D data with texture support
Definition: vtkTexturedActor2D.h:41
vtkTexturedActor2D::RenderOpaqueGeometry
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
vtkTexturedActor2D::GetMTime
virtual unsigned long int GetMTime()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkTexturedActor2D::ReleaseGraphicsResources
virtual void ReleaseGraphicsResources(vtkWindow *win)
vtkTexturedActor2D::ShallowCopy
virtual void ShallowCopy(vtkProp *prop)
vtkTexturedActor2D::RenderTranslucentPolygonalGeometry
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *viewport)
vtkWindow
window superclass for vtkRenderWindow
Definition: vtkWindow.h:34
vtkTexture
handles properties associated with a texture map
Definition: vtkTexture.h:70
vtkTexturedActor2D::~vtkTexturedActor2D
~vtkTexturedActor2D()
vtkTexturedActor2D::Texture
vtkTexture * Texture
Definition: vtkTexturedActor2D.h:77
vtkgl::texture
GLenum GLuint texture
Definition: vtkgl.h:12500
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkRenderingCoreModule.h
vtkTexturedActor2D::RenderOverlay
virtual int RenderOverlay(vtkViewport *viewport)
vtkViewport
abstract specification for Viewports
Definition: vtkViewport.h:47
vtkProp
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:50
vtkActor2D
a actor that draws 2D data
Definition: vtkActor2D.h:45
vtkActor2D.h
vtkTexturedActor2D::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
VTKRENDERINGCORE_EXPORT
#define VTKRENDERINGCORE_EXPORT
Definition: vtkRenderingCoreModule.h:15