31 #ifndef vtkOBJExporter_h 32 #define vtkOBJExporter_h 34 #include "vtkIOExportModule.h" 51 vtkSetStringMacro(FilePrefix);
52 vtkGetStringMacro(FilePrefix);
59 vtkSetStringMacro(OBJFileComment);
60 vtkGetStringMacro(OBJFileComment);
67 vtkSetStringMacro(MTLFileComment);
68 vtkGetStringMacro(MTLFileComment);
76 void WriteAnActor(
vtkActor *anActor, FILE *fpObj, FILE *fpMat,
int &
id);
abstract class to write a scene to a file
represents an object (geometry & properties) in a rendered scene
virtual void WriteData()=0
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
export a scene into Wavefront format.