VTK
|
Export scene into povray format. More...
#include <vtkPOVExporter.h>
Public Types | |
typedef vtkExporter | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetFileName (const char *) |
virtual char * | GetFileName () |
Static Public Member Functions | |
static vtkPOVExporter * | New () |
static int | IsTypeOf (const char *type) |
static vtkPOVExporter * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
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 |
Export scene into povray format.
This Exporter can be attached to a render window in order to generate scene description files for the Persistance of Vision Raytracer www.povray.org.
Definition at line 92 of file vtkPOVExporter.h.
Reimplemented from vtkExporter.
Definition at line 96 of file vtkPOVExporter.h.
vtkPOVExporter::vtkPOVExporter | ( | ) | [protected] |
vtkPOVExporter::~vtkPOVExporter | ( | ) | [protected] |
static vtkPOVExporter* vtkPOVExporter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual const char* vtkPOVExporter::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkExporter.
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.
static vtkPOVExporter* vtkPOVExporter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
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] |
char* vtkPOVExporter::FileName [protected] |
Definition at line 119 of file vtkPOVExporter.h.
FILE* vtkPOVExporter::FilePtr [protected] |
Definition at line 120 of file vtkPOVExporter.h.