#include <vtkX3DExporter.h>
vtkX3DExporter is a render window exporter which writes out the renderered scene into an X3D file. X3D is an XML-based format for representation 3D scenes (similar to VRML). Check out http://www.web3d.org/x3d/ for more details.
Definition at line 43 of file vtkX3DExporter.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 () |
virtual void | SetSpeed (double) |
virtual double | GetSpeed () |
virtual void | SetBinary (int) |
virtual void | BinaryOn () |
virtual void | BinaryOff () |
virtual int | GetBinary () |
virtual void | SetFastest (int) |
virtual void | FastestOn () |
virtual void | FastestOff () |
virtual int | GetFastest () |
Static Public Member Functions | |
static vtkX3DExporter * | New () |
static int | IsTypeOf (const char *type) |
static vtkX3DExporter * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkX3DExporter () | |
~vtkX3DExporter () | |
void | WriteData () |
void | WriteALight (vtkLight *aLight, vtkX3DExporterWriter *writer) |
void | WriteAnActor (vtkActor *anActor, vtkX3DExporterWriter *writer, int index) |
void | WritePointData (vtkPoints *points, vtkDataArray *normals, vtkDataArray *tcoords, vtkUnsignedCharArray *colors, vtkX3DExporterWriter *writer, int index) |
void | WriteATextActor2D (vtkActor2D *anTextActor2D, vtkX3DExporterWriter *writer) |
void | WriteATexture (vtkActor *anActor, vtkX3DExporterWriter *writer) |
void | WriteAnAppearance (vtkActor *anActor, bool writeEmissiveColor, vtkX3DExporterWriter *writer) |
int | HasHeadLight (vtkRenderer *ren) |
Protected Attributes | |
char * | FileName |
double | Speed |
int | Binary |
int | Fastest |
vtkX3DExporter::vtkX3DExporter | ( | ) | [protected] |
vtkX3DExporter::~vtkX3DExporter | ( | ) | [protected] |
static vtkX3DExporter* vtkX3DExporter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual const char* vtkX3DExporter::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkExporter.
static int vtkX3DExporter::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 vtkX3DExporter::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 vtkX3DExporter* vtkX3DExporter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkExporter.
void vtkX3DExporter::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 vtkX3DExporter::SetFileName | ( | const char * | ) | [virtual] |
Set/Get the output file name.
virtual char* vtkX3DExporter::GetFileName | ( | ) | [virtual] |
Set/Get the output file name.
virtual void vtkX3DExporter::SetSpeed | ( | double | ) | [virtual] |
Specify the Speed of navigation. Default is 4.
virtual double vtkX3DExporter::GetSpeed | ( | ) | [virtual] |
Specify the Speed of navigation. Default is 4.
virtual void vtkX3DExporter::SetBinary | ( | int | ) | [virtual] |
Turn on binary mode
virtual void vtkX3DExporter::BinaryOn | ( | ) | [virtual] |
Turn on binary mode
virtual void vtkX3DExporter::BinaryOff | ( | ) | [virtual] |
Turn on binary mode
virtual int vtkX3DExporter::GetBinary | ( | ) | [virtual] |
Turn on binary mode
virtual void vtkX3DExporter::SetFastest | ( | int | ) | [virtual] |
In binary mode use fastest instead of best compression
virtual void vtkX3DExporter::FastestOn | ( | ) | [virtual] |
In binary mode use fastest instead of best compression
virtual void vtkX3DExporter::FastestOff | ( | ) | [virtual] |
In binary mode use fastest instead of best compression
virtual int vtkX3DExporter::GetFastest | ( | ) | [virtual] |
In binary mode use fastest instead of best compression
void vtkX3DExporter::WriteData | ( | ) | [protected, virtual] |
Write data to output.
Implements vtkExporter.
void vtkX3DExporter::WriteALight | ( | vtkLight * | aLight, | |
vtkX3DExporterWriter * | writer | |||
) | [protected] |
void vtkX3DExporter::WriteAnActor | ( | vtkActor * | anActor, | |
vtkX3DExporterWriter * | writer, | |||
int | index | |||
) | [protected] |
void vtkX3DExporter::WritePointData | ( | vtkPoints * | points, | |
vtkDataArray * | normals, | |||
vtkDataArray * | tcoords, | |||
vtkUnsignedCharArray * | colors, | |||
vtkX3DExporterWriter * | writer, | |||
int | index | |||
) | [protected] |
void vtkX3DExporter::WriteATextActor2D | ( | vtkActor2D * | anTextActor2D, | |
vtkX3DExporterWriter * | writer | |||
) | [protected] |
void vtkX3DExporter::WriteATexture | ( | vtkActor * | anActor, | |
vtkX3DExporterWriter * | writer | |||
) | [protected] |
void vtkX3DExporter::WriteAnAppearance | ( | vtkActor * | anActor, | |
bool | writeEmissiveColor, | |||
vtkX3DExporterWriter * | writer | |||
) | [protected] |
int vtkX3DExporter::HasHeadLight | ( | vtkRenderer * | ren | ) | [protected] |
char* vtkX3DExporter::FileName [protected] |
Definition at line 94 of file vtkX3DExporter.h.
double vtkX3DExporter::Speed [protected] |
Definition at line 95 of file vtkX3DExporter.h.
int vtkX3DExporter::Binary [protected] |
Definition at line 96 of file vtkX3DExporter.h.
int vtkX3DExporter::Fastest [protected] |
Definition at line 97 of file vtkX3DExporter.h.