35 #ifndef vtkPLYWriter_h
36 #define vtkPLYWriter_h
38 #include "vtkIOPLYModule.h"
49 #define VTK_LITTLE_ENDIAN 0
50 #define VTK_BIG_ENDIAN 1
52 #define VTK_COLOR_MODE_DEFAULT 0
53 #define VTK_COLOR_MODE_UNIFORM_CELL_COLOR 1
54 #define VTK_COLOR_MODE_UNIFORM_POINT_COLOR 2
55 #define VTK_COLOR_MODE_UNIFORM_COLOR 3
56 #define VTK_COLOR_MODE_OFF 4
58 #define VTK_TEXTURECOORDS_UV 0
59 #define VTK_TEXTURECOORDS_TEXTUREUV 1
74 vtkGetMacro(DataByteOrder,
int);
100 vtkGetMacro(ColorMode,
int);
117 vtkSetStringMacro(ArrayName);
126 vtkGetMacro(Component,
int);
145 vtkSetVector3Macro(
Color,
unsigned char);
146 vtkGetVector3Macro(
Color,
unsigned char);
161 vtkSetStringMacro(FileName);
170 vtkGetMacro(FileType,
int);
181 vtkGetMacro(TextureCoordinatesName,
int);
197 void WriteData() VTK_OVERRIDE;
211 int TextureCoordinatesName;
219 void operator=(const
vtkPLYWriter&) VTK_DELETE_FUNCTION;
#define VTK_COLOR_MODE_OFF
void SetTextureCoordinatesNameToTextureUV()
Choose the name used for the texture coordinates.
void SetFileTypeToBinary()
Specify file type (ASCII or BINARY) for vtk data file.
void SetDataByteOrderToBigEndian()
If the file type is binary, then the user can specify which byte order to use (little versus big endi...
write Stanford PLY file format
a vtkAbstractArray subclass for strings
Hold a reference to a vtkObjectBase instance.
concrete dataset represents vertices, lines, polygons, and triangle strips
#define VTK_COLOR_MODE_UNIFORM_POINT_COLOR
Superclass for mapping scalar values to colors.
void SetTextureCoordinatesNameToUV()
Choose the name used for the texture coordinates.
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()
void SetColorModeToOff()
These methods enable the user to control how to add color into the PLY output file.
void SetFileTypeToASCII()
Specify file type (ASCII or BINARY) for vtk data file.
#define VTK_COLOR_MODE_UNIFORM_COLOR
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
represent and manipulate attribute data in a dataset
void SetColorModeToUniformPointColor()
These methods enable the user to control how to add color into the PLY output file.
#define VTK_TEXTURECOORDS_UV
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
#define VTK_LITTLE_ENDIAN
void SetColorModeToUniformCellColor()
These methods enable the user to control how to add color into the PLY output file.
#define VTK_COLOR_MODE_DEFAULT
void SetDataByteOrderToLittleEndian()
If the file type is binary, then the user can specify which byte order to use (little versus big endi...
#define VTK_TEXTURECOORDS_TEXTUREUV
void SetColorModeToUniformColor()
These methods enable the user to control how to add color into the PLY output file.
static vtkAlgorithm * New()
void SetColorModeToDefault()
These methods enable the user to control how to add color into the PLY output file.
#define VTK_COLOR_MODE_UNIFORM_CELL_COLOR