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

Export scene into povray format. More...

#include <vtkPOVExporter.h>

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

List of all members.

Public Types

typedef vtkExporter Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkPOVExporterNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetFileName (const char *)
virtual char * GetFileName ()

Static Public Member Functions

static vtkPOVExporterNew ()
static int IsTypeOf (const char *type)
static vtkPOVExporterSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkPOVExporter ()
 ~vtkPOVExporter ()
void WriteData ()
virtual void WriteHeader (vtkRenderer *renderer)
void WriteCamera (vtkCamera *camera)
void WriteLight (vtkLight *light)
void WriteProperty (vtkProperty *property)
void WritePolygons (vtkPolyData *polydata, bool scalar_visible)
void WriteTriangleStrips (vtkPolyData *strip, bool scalar_visible)
virtual void WriteActor (vtkActor *actor)

Protected Attributes

char * FileName
FILE * FilePtr

Detailed Description

Export scene into povray format.

This Exporter can be attached to a render window in order to generate scene description files for the Persistence of Vision Raytracer www.povray.org.

Thanks:
Li-Ta Lo (ollie.nosp@m.@lan.nosp@m.l.gov) and Jim Ahrens (ahren.nosp@m.s@la.nosp@m.nl.go.nosp@m.v) Los Alamos National Laboratory
Tests:
vtkPOVExporter (Tests)

Definition at line 93 of file vtkPOVExporter.h.


Member Typedef Documentation

Reimplemented from vtkExporter.

Definition at line 97 of file vtkPOVExporter.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

static int vtkPOVExporter::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 vtkExporter.

virtual int vtkPOVExporter::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 vtkExporter.

Reimplemented from vtkExporter.

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

Reimplemented from vtkExporter.

Reimplemented from vtkExporter.

void vtkPOVExporter::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 vtkExporter.

virtual void vtkPOVExporter::SetFileName ( const char *  ) [virtual]

The filename to save into.

virtual char* vtkPOVExporter::GetFileName ( ) [virtual]

The filename to save into.

void vtkPOVExporter::WriteData ( ) [protected, virtual]

Implements vtkExporter.

virtual void vtkPOVExporter::WriteHeader ( vtkRenderer renderer) [protected, virtual]
void vtkPOVExporter::WriteCamera ( vtkCamera camera) [protected]
void vtkPOVExporter::WriteLight ( vtkLight light) [protected]
void vtkPOVExporter::WriteProperty ( vtkProperty property) [protected]
void vtkPOVExporter::WritePolygons ( vtkPolyData polydata,
bool  scalar_visible 
) [protected]
void vtkPOVExporter::WriteTriangleStrips ( vtkPolyData strip,
bool  scalar_visible 
) [protected]
virtual void vtkPOVExporter::WriteActor ( vtkActor actor) [protected, virtual]

Member Data Documentation

char* vtkPOVExporter::FileName [protected]

Definition at line 120 of file vtkPOVExporter.h.

FILE* vtkPOVExporter::FilePtr [protected]

Definition at line 121 of file vtkPOVExporter.h.


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