VTK
|
create an x3d file More...
#include <vtkX3DExporter.h>
Public Types | |
typedef vtkExporter | Superclass |
![]() | |
typedef vtkObject | Superclass |
![]() | |
typedef vtkObjectBase | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkX3DExporter * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
char * | RegisterAndGetOutputString () |
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 () |
virtual void | SetWriteToOutputString (int) |
virtual int | GetWriteToOutputString () |
virtual void | WriteToOutputStringOn () |
virtual void | WriteToOutputStringOff () |
virtual int | GetOutputStringLength () |
virtual char * | GetOutputString () |
unsigned char * | GetBinaryOutputString () |
![]() | |
vtkExporter * | NewInstance () const |
virtual void | Write () |
void | Update () |
void | SetStartWrite (void(*f)(void *), void *arg) |
void | SetEndWrite (void(*f)(void *), void *arg) |
void | SetStartWriteArgDelete (void(*f)(void *)) |
void | SetEndWriteArgDelete (void(*f)(void *)) |
unsigned long | GetMTime () |
virtual void | SetRenderWindow (vtkRenderWindow *) |
virtual vtkRenderWindow * | GetRenderWindow () |
void | SetInput (vtkRenderWindow *renWin) |
vtkRenderWindow * | GetInput () |
![]() | |
vtkObject * | NewInstance () const |
virtual void | DebugOn () |
virtual void | DebugOff () |
bool | GetDebug () |
void | SetDebug (bool debugFlag) |
virtual void | Modified () |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
![]() | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
void | SetReferenceCount (int) |
void | PrintRevisions (ostream &) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
Static Public Member Functions | |
static vtkX3DExporter * | New () |
static int | IsTypeOf (const char *type) |
static vtkX3DExporter * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkExporter * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkObject * | SafeDownCast (vtkObjectBase *o) |
static vtkObject * | New () |
static void | BreakOnError () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
![]() | |
static int | IsTypeOf (const char *name) |
static vtkObjectBase * | New () |
Protected Attributes | |
int | WriteToOutputString |
char * | OutputString |
int | OutputStringLength |
char * | FileName |
double | Speed |
int | Binary |
int | Fastest |
![]() | |
vtkRenderWindow * | RenderWindow |
void(* | StartWrite )(void *) |
void(* | StartWriteArgDelete )(void *) |
void * | StartWriteArg |
void(* | EndWrite )(void *) |
void(* | EndWriteArgDelete )(void *) |
void * | EndWriteArg |
![]() | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
create an x3d file
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 44 of file vtkX3DExporter.h.
Definition at line 48 of file vtkX3DExporter.h.
|
protected |
|
protected |
|
static |
|
static |
|
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 |
|
protectedvirtual |
Reimplemented from vtkExporter.
vtkX3DExporter* vtkX3DExporter::NewInstance | ( | ) | const |
|
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 |
Set/Get the output file name.
|
virtual |
Set/Get the output file name.
|
virtual |
Specify the Speed of navigation. Default is 4.
|
virtual |
Specify the Speed of navigation. Default is 4.
|
virtual |
Turn on binary mode
|
virtual |
Turn on binary mode
|
virtual |
Turn on binary mode
|
virtual |
Turn on binary mode
|
virtual |
In binary mode use fastest instead of best compression
|
virtual |
In binary mode use fastest instead of best compression
|
virtual |
In binary mode use fastest instead of best compression
|
virtual |
In binary mode use fastest instead of best compression
|
virtual |
Enable writing to an OutputString instead of the default, a file.
|
virtual |
Enable writing to an OutputString instead of the default, a file.
|
virtual |
Enable writing to an OutputString instead of the default, a file.
|
virtual |
Enable writing to an OutputString instead of the default, a file.
|
virtual |
When WriteToOutputString in on, then a string is allocated, written to, and can be retrieved with these methods. The string is deleted during the next call to write ...
|
virtual |
When WriteToOutputString in on, then a string is allocated, written to, and can be retrieved with these methods. The string is deleted during the next call to write ...
|
inline |
When WriteToOutputString in on, then a string is allocated, written to, and can be retrieved with these methods. The string is deleted during the next call to write ...
Definition at line 90 of file vtkX3DExporter.h.
char* vtkX3DExporter::RegisterAndGetOutputString | ( | ) |
This convenience method returns the string, sets the IVAR to NULL, so that the user is responsible for deleting the string. I am not sure what the name should be, so it may change in the future.
|
protectedvirtual |
Write data to output.
Implements vtkExporter.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 106 of file vtkX3DExporter.h.
|
protected |
Definition at line 107 of file vtkX3DExporter.h.
|
protected |
Definition at line 108 of file vtkX3DExporter.h.
|
protected |
Definition at line 124 of file vtkX3DExporter.h.
|
protected |
Definition at line 125 of file vtkX3DExporter.h.
|
protected |
Definition at line 126 of file vtkX3DExporter.h.
|
protected |
Definition at line 127 of file vtkX3DExporter.h.