#include <vtkTexturedActor2D.h>
vtkTexturedActor2D is an Actor2D which has additional support for textures, just like vtkActor. To use textures, the geometry must have texture coordinates, and the texture must be set with SetTexture().
Definition at line 39 of file vtkTexturedActor2D.h.
Public Types | |
typedef vtkActor2D | Superclass |
Public Member Functions | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | ReleaseGraphicsResources (vtkWindow *win) |
virtual unsigned long int | GetMTime () |
virtual void | ShallowCopy (vtkProp *prop) |
virtual void | SetTexture (vtkTexture *texture) |
virtual vtkTexture * | GetTexture () |
virtual int | RenderOverlay (vtkViewport *viewport) |
virtual int | RenderOpaqueGeometry (vtkViewport *viewport) |
virtual int | RenderTranslucentPolygonalGeometry (vtkViewport *viewport) |
Static Public Member Functions | |
static vtkTexturedActor2D * | New () |
static int | IsTypeOf (const char *type) |
static vtkTexturedActor2D * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkTexturedActor2D () | |
~vtkTexturedActor2D () | |
Protected Attributes | |
vtkTexture * | Texture |
vtkTexturedActor2D::vtkTexturedActor2D | ( | ) | [protected] |
vtkTexturedActor2D::~vtkTexturedActor2D | ( | ) | [protected] |
static vtkTexturedActor2D* vtkTexturedActor2D::New | ( | ) | [static] |
Creates an actor2D with the following defaults: position (0,0) (coordinate system is viewport); at layer 0.
Reimplemented from vtkActor2D.
void vtkTexturedActor2D::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkActor2D.
virtual const char* vtkTexturedActor2D::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkActor2D.
static int vtkTexturedActor2D::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkActor2D.
virtual int vtkTexturedActor2D::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkActor2D.
static vtkTexturedActor2D* vtkTexturedActor2D::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkActor2D.
virtual void vtkTexturedActor2D::SetTexture | ( | vtkTexture * | texture | ) | [virtual] |
Set/Get the texture object to control rendering texture maps. This will be a vtkTexture object. An actor does not need to have an associated texture map and multiple actors can share one texture.
virtual vtkTexture* vtkTexturedActor2D::GetTexture | ( | ) | [virtual] |
Set/Get the texture object to control rendering texture maps. This will be a vtkTexture object. An actor does not need to have an associated texture map and multiple actors can share one texture.
virtual void vtkTexturedActor2D::ReleaseGraphicsResources | ( | vtkWindow * | win | ) | [virtual] |
Release any graphics resources that are being consumed by this actor. The parameter window could be used to determine which graphic resources to release.
Reimplemented from vtkActor2D.
virtual int vtkTexturedActor2D::RenderOverlay | ( | vtkViewport * | viewport | ) | [virtual] |
Support the standard render methods.
Reimplemented from vtkActor2D.
virtual int vtkTexturedActor2D::RenderOpaqueGeometry | ( | vtkViewport * | viewport | ) | [virtual] |
Support the standard render methods.
Reimplemented from vtkActor2D.
virtual int vtkTexturedActor2D::RenderTranslucentPolygonalGeometry | ( | vtkViewport * | viewport | ) | [virtual] |
Support the standard render methods.
Reimplemented from vtkActor2D.
virtual unsigned long int vtkTexturedActor2D::GetMTime | ( | ) | [virtual] |
Return this object's modified time.
Reimplemented from vtkActor2D.
virtual void vtkTexturedActor2D::ShallowCopy | ( | vtkProp * | prop | ) | [virtual] |
Shallow copy of this vtkTexturedActor2D. Overrides vtkActor2D method.
Reimplemented from vtkActor2D.
vtkTexture* vtkTexturedActor2D::Texture [protected] |
Definition at line 76 of file vtkTexturedActor2D.h.