47#ifndef vtkOBJExporter_h
48#define vtkOBJExporter_h
51#include "vtkIOExportModule.h"
79 vtkSetStringMacro(OBJFileComment);
80 vtkGetStringMacro(OBJFileComment);
87 vtkSetStringMacro(MTLFileComment);
88 vtkGetStringMacro(MTLFileComment);
97 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.
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
static vtkOBJExporter * New()
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