21 #ifndef vtkOBJWriter_h
22 #define vtkOBJWriter_h
24 #include "vtkIOGeometryModule.h"
27 VTK_ABI_NAMESPACE_BEGIN
56 vtkSetFilePathMacro(TextureFileName);
57 vtkGetFilePathMacro(TextureFileName);
64 vtkSetFilePathMacro(FileName);
65 vtkGetFilePathMacro(FileName);
81 vtkSetMacro(WriteColorArray,
bool);
82 vtkGetMacro(WriteColorArray,
bool);
83 vtkBooleanMacro(WriteColorArray,
bool);
99 vtkSetMacro(UseRelativeTexturePath,
bool);
100 vtkGetMacro(UseRelativeTexturePath,
bool);
101 vtkBooleanMacro(UseRelativeTexturePath,
bool);
115 char* FileName{
nullptr };
116 char* TextureFileName{
nullptr };
119 bool WriteColorArray{
false };
121 bool UseRelativeTexturePath{
false };
124 VTK_ABI_NAMESPACE_END
abstract class to specify dataset behavior
concrete dataset represents vertices, lines, polygons, and triangle strips
abstract class to write data to file(s)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
vtkDataObject * GetInput()
topologically and geometrically regular array of data
represent and manipulate attribute data in a dataset
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
dynamic, self-adjusting array of unsigned char
static vtkAlgorithm * New()
virtual bool WriteDataAndReturn()