VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkTexturedActor2D Class Reference

actor that draws 2D data with texture support More...

#include <vtkTexturedActor2D.h>

Inheritance diagram for vtkTexturedActor2D:
Inheritance graph
[legend]
Collaboration diagram for vtkTexturedActor2D:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkActor2D Superclass

Public Member Functions

void PrintSelf (ostream &os, vtkIndent indent)
virtual int IsA (const char *type)
vtkTexturedActor2DNewInstance () const
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 (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkTexturedActor2D ()
 ~vtkTexturedActor2D ()

Protected Attributes

vtkTextureTexture

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 40 of file vtkTexturedActor2D.h.


Member Typedef Documentation

Reimplemented from vtkActor2D.

Definition at line 45 of file vtkTexturedActor2D.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkActor2D.

Reimplemented from vtkActor2D.

virtual vtkObjectBase* vtkTexturedActor2D::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkActor2D.

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.

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.

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 77 of file vtkTexturedActor2D.h.


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