vtkTexturedActor2D Class Reference

#include <vtkTexturedActor2D.h>

Inheritance diagram for vtkTexturedActor2D:

Inheritance graph
[legend]
Collaboration diagram for vtkTexturedActor2D:

Collaboration graph
[legend]

List of all members.


Detailed Description

actor that draws 2D data with texture support

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().

See also:
vtkActor2D vtkProp vtkMapper2D vtkProperty2D
Tests:
vtkTexturedActor2D (Tests)

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 vtkTextureGetTexture ()
virtual int RenderOverlay (vtkViewport *viewport)
virtual int RenderOpaqueGeometry (vtkViewport *viewport)
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *viewport)

Static Public Member Functions

static vtkTexturedActor2DNew ()
static int IsTypeOf (const char *type)
static vtkTexturedActor2DSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkTexturedActor2D ()
 ~vtkTexturedActor2D ()

Protected Attributes

vtkTextureTexture

Member Typedef Documentation

Reimplemented from vtkActor2D.

Definition at line 44 of file vtkTexturedActor2D.h.


Constructor & Destructor Documentation

vtkTexturedActor2D::vtkTexturedActor2D (  )  [protected]

vtkTexturedActor2D::~vtkTexturedActor2D (  )  [protected]


Member Function Documentation

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.


Member Data Documentation

Definition at line 76 of file vtkTexturedActor2D.h.


The documentation for this class was generated from the following file:

Generated on Wed Jun 3 19:39:34 2009 for VTK by  doxygen 1.5.6