24#include "vtkIOGeometryModule.h"
27VTK_ABI_NAMESPACE_BEGIN
81 vtkSetMacro(WriteColorArray,
bool);
82 vtkGetMacro(WriteColorArray,
bool);
83 vtkBooleanMacro(WriteColorArray,
bool);
90 vtkSetMacro(ColorArrayName, std::string);
91 vtkGetMacro(ColorArrayName, std::string);
99 vtkSetMacro(UseRelativeTexturePath,
bool);
100 vtkGetMacro(UseRelativeTexturePath,
bool);
101 vtkBooleanMacro(UseRelativeTexturePath,
bool);
115 char* FileName{
nullptr };
116 char* TextureFileName{
nullptr };
118 std::string ColorArrayName;
119 bool WriteColorArray{
false };
121 bool UseRelativeTexturePath{
false };
represent and manipulate attribute data in a dataset
abstract class to specify dataset behavior
topologically and geometrically regular array of data
a simple class to control print indentation
vtkGetFilePathMacro(TextureFileName)
Get/Set the path to an existing texture file for the OBJ.
vtkSetFilePathMacro(FileName)
Get/Set the file name of the OBJ file.
vtkSetFilePathMacro(TextureFileName)
Get/Set the path to an existing texture file for the OBJ.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkOBJWriter * New()
vtkGetFilePathMacro(FileName)
Get/Set the file name of the OBJ file.
bool WriteDataAndReturn() override
vtkDataSet * GetInput(int port)
Get the inputs to this writer.
vtkPolyData * GetInputGeometry()
Get the inputs to this writer.
vtkImageData * GetInputTexture()
Get the inputs to this writer.
concrete dataset represents vertices, lines, polygons, and triangle strips
dynamic, self-adjusting array of unsigned char