28 #ifndef vtkOBJExporter_h
29 #define vtkOBJExporter_h
32 #include "vtkIOExportModule.h"
37 VTK_ABI_NAMESPACE_BEGIN
61 vtkSetStringMacro(OBJFileComment);
62 vtkGetStringMacro(OBJFileComment);
69 vtkSetStringMacro(MTLFileComment);
70 vtkGetStringMacro(MTLFileComment);
79 vtkActor* anActor, std::ostream& fpObj, std::ostream& fpMat,
std::string& modelName,
int&
id);
represents an object (geometry & properties) in a rendered scene
abstract class to write a scene to a file
a simple class to control print indentation
export a scene into Wavefront format.
static vtkOBJExporter * New()
void WriteAnActor(vtkActor *anActor, std::ostream &fpObj, std::ostream &fpMat, std::string &modelName, int &id)
vtkSetFilePathMacro(FilePrefix)
Specify the prefix of the files to write out.
void WriteData() override
~vtkOBJExporter() override
vtkGetFilePathMacro(FilePrefix)
Specify the prefix of the files to write out.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
std::map< std::string, vtkTexture * > TextureFileMap
handles properties associated with a texture map