ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkGeometryRepresentationWithFaces Class Reference

#include <vtkGeometryRepresentationWithFaces.h>

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

List of all members.

Public Types

enum  RepresentationTypesEx { FOLLOW_FRONTFACE = 400, CULL_BACKFACE = 401, CULL_FRONTFACE = 402 }

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetVisibility (bool val)
void SetBackfaceAmbientColor (double r, double g, double b)
void SetBackfaceDiffuseColor (double r, double g, double b)
void SetBackfaceOpacity (double val)
virtual void SetBackfaceRepresentation (int)
virtual int GetBackfaceRepresentation ()

Static Public Member Functions

static
vtkGeometryRepresentationWithFaces
New ()
static int IsTypeOf (const char *type)
static
vtkGeometryRepresentationWithFaces
SafeDownCast (vtkObject *o)

Protected Member Functions

 vtkGeometryRepresentationWithFaces ()
 ~vtkGeometryRepresentationWithFaces ()
virtual void SetupDefaults ()
virtual bool AddToView (vtkView *view)
virtual bool RemoveFromView (vtkView *view)
virtual bool GenerateMetaData (vtkInformation *, vtkInformation *)
virtual void UpdateColoringParameters ()

Protected Attributes

vtkMapperBackfaceMapper
vtkMapperLODBackfaceMapper
vtkPVLODActorBackfaceActor
vtkPropertyBackfaceProperty
int BackfaceRepresentation

Detailed Description

vtkGeometryRepresentationWithFaces extends vtkGeometryRepresentation to add support for rendering back and front faces separately (with different visibility and properties).

Definition at line 27 of file vtkGeometryRepresentationWithFaces.h.


Member Enumeration Documentation

Enumerator:
FOLLOW_FRONTFACE 
CULL_BACKFACE 
CULL_FRONTFACE 

Definition at line 34 of file vtkGeometryRepresentationWithFaces.h.


Constructor & Destructor Documentation

vtkGeometryRepresentationWithFaces::vtkGeometryRepresentationWithFaces ( ) [protected]
vtkGeometryRepresentationWithFaces::~vtkGeometryRepresentationWithFaces ( ) [protected]

Member Function Documentation

static vtkGeometryRepresentationWithFaces* vtkGeometryRepresentationWithFaces::New ( ) [static]

Reimplemented from vtkGeometryRepresentation.

virtual const char* vtkGeometryRepresentationWithFaces::GetClassName ( ) [virtual]

Reimplemented from vtkGeometryRepresentation.

static int vtkGeometryRepresentationWithFaces::IsTypeOf ( const char *  type) [static]

Reimplemented from vtkGeometryRepresentation.

virtual int vtkGeometryRepresentationWithFaces::IsA ( const char *  type) [virtual]

Reimplemented from vtkGeometryRepresentation.

static vtkGeometryRepresentationWithFaces* vtkGeometryRepresentationWithFaces::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkGeometryRepresentation.

void vtkGeometryRepresentationWithFaces::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkGeometryRepresentation.

virtual void vtkGeometryRepresentationWithFaces::SetVisibility ( bool  val) [virtual]

Get/Set the visibility for this representation. When the visibility of representation of false, all view passes are ignored.

Reimplemented from vtkGeometryRepresentation.

virtual void vtkGeometryRepresentationWithFaces::SetBackfaceRepresentation ( int  ) [virtual]

Set the backface representation.

virtual int vtkGeometryRepresentationWithFaces::GetBackfaceRepresentation ( ) [virtual]

Set the backface representation.

void vtkGeometryRepresentationWithFaces::SetBackfaceAmbientColor ( double  r,
double  g,
double  b 
)
void vtkGeometryRepresentationWithFaces::SetBackfaceDiffuseColor ( double  r,
double  g,
double  b 
)
void vtkGeometryRepresentationWithFaces::SetBackfaceOpacity ( double  val)
virtual void vtkGeometryRepresentationWithFaces::SetupDefaults ( ) [protected, virtual]

This method is called in the constructor. If the subclasses override any of the iVar vtkObject's of this class e.g. the Mappers, GeometryFilter etc., they should call this method again in their constructor. It must be totally safe to call this method repeatedly.

Reimplemented from vtkGeometryRepresentation.

virtual bool vtkGeometryRepresentationWithFaces::AddToView ( vtkView view) [protected, virtual]

Adds the representation to the view. This is called from vtkView::AddRepresentation(). Subclasses should override this method. Returns true if the addition succeeds.

Reimplemented from vtkGeometryRepresentation.

virtual bool vtkGeometryRepresentationWithFaces::RemoveFromView ( vtkView view) [protected, virtual]

Removes the representation to the view. This is called from vtkView::RemoveRepresentation(). Subclasses should override this method. Returns true if the removal succeeds.

Reimplemented from vtkGeometryRepresentation.

virtual bool vtkGeometryRepresentationWithFaces::GenerateMetaData ( vtkInformation ,
vtkInformation  
) [protected, virtual]

Produce meta-data about this representation that the view may find useful.

Reimplemented from vtkGeometryRepresentation.

virtual void vtkGeometryRepresentationWithFaces::UpdateColoringParameters ( ) [protected, virtual]

Passes on parameters to vtkProperty and vtkMapper

Reimplemented from vtkGeometryRepresentation.


Member Data Documentation

Definition at line 85 of file vtkGeometryRepresentationWithFaces.h.

Definition at line 86 of file vtkGeometryRepresentationWithFaces.h.

Definition at line 87 of file vtkGeometryRepresentationWithFaces.h.

Definition at line 88 of file vtkGeometryRepresentationWithFaces.h.

Definition at line 89 of file vtkGeometryRepresentationWithFaces.h.


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