37#ifndef vtkOBJExporter_h
38#define vtkOBJExporter_h
41#include "vtkIOExportModule.h"
69 vtkSetStringMacro(OBJFileComment);
70 vtkGetStringMacro(OBJFileComment);
77 vtkSetStringMacro(MTLFileComment);
78 vtkGetStringMacro(MTLFileComment);
87 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