VTK
|
Export scene into povray format. More...
#include <vtkPOVExporter.h>
Public Types | |
typedef vtkExporter | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPOVExporter * | NewInstance () const |
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 (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () 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 |
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.
Definition at line 93 of file vtkPOVExporter.h.
Reimplemented from vtkExporter.
Definition at line 97 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.
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 | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkExporter.
virtual vtkObjectBase* vtkPOVExporter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkExporter.
vtkPOVExporter* vtkPOVExporter::NewInstance | ( | ) | const |
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 120 of file vtkPOVExporter.h.
FILE* vtkPOVExporter::FilePtr [protected] |
Definition at line 121 of file vtkPOVExporter.h.