Go to the documentation of this file.
38 #ifndef vtkPLYWriter_h
39 #define vtkPLYWriter_h
41 #include "vtkIOPLYModule.h"
53 #define VTK_LITTLE_ENDIAN 0
54 #define VTK_BIG_ENDIAN 1
56 #define VTK_COLOR_MODE_DEFAULT 0
57 #define VTK_COLOR_MODE_UNIFORM_CELL_COLOR 1
58 #define VTK_COLOR_MODE_UNIFORM_POINT_COLOR 2
59 #define VTK_COLOR_MODE_UNIFORM_COLOR 3
60 #define VTK_COLOR_MODE_OFF 4
62 #define VTK_TEXTURECOORDS_UV 0
63 #define VTK_TEXTURECOORDS_TEXTUREUV 1
78 vtkGetMacro(DataByteOrder,
int);
103 vtkSetMacro(ColorMode,
int);
104 vtkGetMacro(ColorMode,
int);
122 vtkSetMacro(EnableAlpha,
bool);
123 vtkGetMacro(EnableAlpha,
bool);
124 vtkBooleanMacro(EnableAlpha,
bool);
131 vtkSetStringMacro(ArrayName);
132 vtkGetStringMacro(ArrayName);
140 vtkGetMacro(Component,
int);
159 vtkSetVector3Macro(
Color,
unsigned char);
160 vtkGetVector3Macro(
Color,
unsigned char);
167 vtkSetMacro(Alpha,
unsigned char);
168 vtkGetMacro(Alpha,
unsigned char);
183 vtkSetStringMacro(FileName);
184 vtkGetStringMacro(FileName);
192 vtkGetMacro(FileType,
int);
204 vtkGetMacro(TextureCoordinatesName,
int);
void SetDataByteOrderToBigEndian()
void SetColorModeToUniformColor()
void SetColorModeToDefault()
represent and manipulate attribute data in a dataset
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
dynamic, self-adjusting array of unsigned char
vtkSmartPointer< vtkStringArray > HeaderComments
vtkScalarsToColors * LookupTable
#define VTK_COLOR_MODE_UNIFORM_POINT_COLOR
write Stanford PLY file format
#define VTK_COLOR_MODE_OFF
void SetColorModeToUniformCellColor()
void SetColorModeToUniformPointColor()
virtual void WriteData()=0
#define VTK_COLOR_MODE_UNIFORM_CELL_COLOR
vtkDataObject * GetInput()
a simple class to control print indentation
#define VTK_TEXTURECOORDS_UV
#define VTK_TEXTURECOORDS_TEXTUREUV
void SetTextureCoordinatesNameToUV()
abstract class to write data to file(s)
#define VTK_COLOR_MODE_DEFAULT
int TextureCoordinatesName
#define VTK_COLOR_MODE_UNIFORM_COLOR
Superclass for mapping scalar values to colors.
static vtkAlgorithm * New()
void SetFileTypeToASCII()
#define VTK_LITTLE_ENDIAN
concrete dataset represents vertices, lines, polygons, and triangle strips
a vtkAbstractArray subclass for strings
void SetDataByteOrderToLittleEndian()
void SetTextureCoordinatesNameToTextureUV()
void SetFileTypeToBinary()