Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkRIBProperty Class Reference

RIP Property. More...

#include <vtkRIBProperty.h>

Inheritance diagram for vtkRIBProperty:

Inheritance graph
[legend]
Collaboration diagram for vtkRIBProperty:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetSurfaceShader (const char *)
virtual char * GetSurfaceShader ()
virtual void SetDisplacementShader (const char *)
virtual char * GetDisplacementShader ()
void SetVariable (char *variable, char *declaration)
void AddVariable (char *variable, char *declaration)
char * GetDeclarations ()
void SetParameter (char *parameter, char *value)
void AddParameter (char *parameter, char *value)
char * GetParameters ()

Static Public Methods

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

Protected Methods

 vtkRIBProperty ()
 ~vtkRIBProperty ()
 vtkRIBProperty (const vtkRIBProperty &)
void operator= (const vtkRIBProperty &)
void Render (vtkActor *a, vtkRenderer *ren)

Protected Attributes

vtkPropertyProperty
char * SurfaceShader
char * DisplacementShader
char * Declarations
char * Parameters

Detailed Description

RIP Property.

Date:
2000/12/10 20:08:26
Revision:
1.11

vtkRIBProperty is a subclass of vtkProperty that allows the user to specify named shaders for use with RenderMan. Both a surface shader and displacement shader can be specified. Parameters for the shaders can be declared and set.

See also:
vtkRIBExporter
Examples:
vtkRIBProperty (examples)

Definition at line 65 of file vtkRIBProperty.h.


Constructor & Destructor Documentation

vtkRIBProperty::vtkRIBProperty   [protected]
 

vtkRIBProperty::~vtkRIBProperty   [protected]
 

vtkRIBProperty::vtkRIBProperty const vtkRIBProperty &    [inline, protected]
 

Definition at line 97 of file vtkRIBProperty.h.


Member Function Documentation

vtkRIBProperty* vtkRIBProperty::New   [static]
 

Construct object with object color, ambient color, diffuse color, specular color, and edge color white; ambient coefficient=0; diffuse coefficient=0; specular coefficient=0; specular power=1; Gouraud shading; and surface representation. Backface and frontface culling are off.

Reimplemented from vtkProperty.

virtual const char* vtkRIBProperty::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkProperty.

int vtkRIBProperty::IsTypeOf const char *    type [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 vtkProperty.

virtual int vtkRIBProperty::IsA const char *    type [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 vtkProperty.

vtkRIBProperty* vtkRIBProperty::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkProperty.

void vtkRIBProperty::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 vtkProperty.

virtual void vtkRIBProperty::SetSurfaceShader const char *    [virtual]
 

Specify the name of a surface shader.

virtual char* vtkRIBProperty::GetSurfaceShader   [virtual]
 

virtual void vtkRIBProperty::SetDisplacementShader const char *    [virtual]
 

Specify the name of a displacement shader.

virtual char* vtkRIBProperty::GetDisplacementShader   [virtual]
 

void vtkRIBProperty::SetVariable char *    variable,
char *    declaration
 

Specify declarations for variables..

void vtkRIBProperty::AddVariable char *    variable,
char *    declaration
 

char* vtkRIBProperty::GetDeclarations  
 

Get variable declarations

void vtkRIBProperty::SetParameter char *    parameter,
char *    value
 

Specify parameter values for variables.

void vtkRIBProperty::AddParameter char *    parameter,
char *    value
 

char* vtkRIBProperty::GetParameters  
 

Get parameters.

void vtkRIBProperty::operator= const vtkRIBProperty &    [inline, protected]
 

Definition at line 98 of file vtkRIBProperty.h.

void vtkRIBProperty::Render vtkActor   a,
vtkRenderer   ren
[protected, virtual]
 

This method causes the property to set up whatever is required for its instance variables. This is actually handled by a subclass of vtkProperty, which is created automatically. This method includes the invoking actor as an argument which can be used by property devices that require the actor.

Reimplemented from vtkProperty.


Member Data Documentation

vtkProperty* vtkRIBProperty::Property [protected]
 

Definition at line 101 of file vtkRIBProperty.h.

char* vtkRIBProperty::SurfaceShader [protected]
 

Definition at line 102 of file vtkRIBProperty.h.

char* vtkRIBProperty::DisplacementShader [protected]
 

Definition at line 103 of file vtkRIBProperty.h.

char* vtkRIBProperty::Declarations [protected]
 

Definition at line 104 of file vtkRIBProperty.h.

char* vtkRIBProperty::Parameters [protected]
 

Definition at line 105 of file vtkRIBProperty.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:59:53 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001