is a factory or creating a writer based on the data type information from the output port.
More...
|
virtual const char * | GetClassName () |
|
virtual int | IsA (const char *type) |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
|
void | Initialize () |
| Cleanup all registered prototypes. More...
|
|
void | RegisterPrototype (const char *xmlgroup, const char *xmlname) |
| Register a prototype. More...
|
|
bool | CanWrite (vtkSMSourceProxy *, unsigned int outputport) |
| Returns true if the data from the output port can be written at all. More...
|
|
vtkSMProxy * | CreateWriter (const char *filename, vtkSMSourceProxy *, unsigned int outputport, bool proxyname=false) |
| Create a new writer proxy to write the data from the specified output port to the file specified, if possible. More...
|
|
vtkSMProxy * | CreateWriter (const char *filename, vtkSMSourceProxy *pxy) |
|
const char * | GetSupportedFileTypes (vtkSMSourceProxy *source, unsigned int outputport) |
| Returns a formatted string with all supported file types. More...
|
|
const char * | GetSupportedFileTypes (vtkSMSourceProxy *source) |
|
const char * | GetSupportedWriterProxies (vtkSMSourceProxy *source, unsigned int outputport) |
| A variation on GetSupportedFileTypes that obtains a list of prototype proxy names. More...
|
|
unsigned int | GetNumberOfRegisteredPrototypes () |
|
void | UpdateAvailableWriters () |
| Every time a new proxy definition is added we check to see if it is a writer and then we add it to the list of available writers. More...
|
|
|
void | AddGroup (const char *groupName) |
| Add/remove a group name to look for writers in. More...
|
|
void | RemoveGroup (const char *groupName) |
| Add/remove a group name to look for writers in. More...
|
|
void | GetGroups (vtkStringList *groups) |
| Add/remove a group name to look for writers in. More...
|
|
| vtkBaseTypeMacro (vtkObject, vtkObjectBase) |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
bool | GetDebug () |
|
void | SetDebug (bool debugFlag) |
|
virtual void | Modified () |
|
virtual vtkMTimeType | GetMTime () |
|
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) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
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 *) |
|
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
|
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
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) |
|
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 *) |
|
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
|
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
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) |
|
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) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
void | PrintRevisions (ostream &) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
void | PrintRevisions (ostream &) |
|
is a factory or creating a writer based on the data type information from the output port.
vtkSMWriterFactory is a factory for creating a writer to write the data provided at an output port. This is done whenever a new proxy definition is added in the writers group.
Alternatively, one can register prototypes using RegisterPrototype
API. The proxy definitions for the writer proxies must provide hints that indicate the file extension and description for the writer.
Once the factory has been configured, the API to create writers, get available writers etc. can be used.
Definition at line 45 of file vtkSMWriterFactory.h.