Go to the documentation of this file.
38 #ifndef vtkPLYWriter_h
39 #define vtkPLYWriter_h
41 #include "vtkIOPLYModule.h"
52 #define VTK_LITTLE_ENDIAN 0
53 #define VTK_BIG_ENDIAN 1
55 #define VTK_COLOR_MODE_DEFAULT 0
56 #define VTK_COLOR_MODE_UNIFORM_CELL_COLOR 1
57 #define VTK_COLOR_MODE_UNIFORM_POINT_COLOR 2
58 #define VTK_COLOR_MODE_UNIFORM_COLOR 3
59 #define VTK_COLOR_MODE_OFF 4
61 #define VTK_TEXTURECOORDS_UV 0
62 #define VTK_TEXTURECOORDS_TEXTUREUV 1
77 vtkGetMacro(DataByteOrder,
int);
103 vtkGetMacro(ColorMode,
int);
120 vtkSetStringMacro(ArrayName);
129 vtkGetMacro(Component,
int);
148 vtkSetVector3Macro(
Color,
unsigned char);
149 vtkGetVector3Macro(
Color,
unsigned char);
164 vtkSetStringMacro(FileName);
173 vtkGetMacro(FileType,
int);
184 vtkGetMacro(TextureCoordinatesName,
int);
222 void operator=(
const vtkPLYWriter&) VTK_DELETE_FUNCTION;
void SetDataByteOrderToBigEndian()
void SetColorModeToUniformColor()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetColorModeToDefault()
void AddComment(const std::string &comment)
Add a comment in the header part.
represent and manipulate attribute data in a dataset
vtkPolyData * GetInput()
Get the input to this writer.
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()
#define VTK_COLOR_MODE_UNIFORM_CELL_COLOR
static vtkPLYWriter * New()
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
const float * GetTextureCoordinates(vtkIdType num, vtkDataSetAttributes *dsa)
#define VTK_COLOR_MODE_UNIFORM_COLOR
Superclass for mapping scalar values to colors.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
virtual void SetLookupTable(vtkScalarsToColors *)
A lookup table can be specified in order to convert data arrays to RGBA colors.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkPolyData * GetInput(int port)
void SetFileTypeToASCII()
#define VTK_LITTLE_ENDIAN
concrete dataset represents vertices, lines, polygons, and triangle strips
a vtkAbstractArray subclass for strings
unsigned char * GetColors(vtkIdType num, vtkDataSetAttributes *dsa)
void SetDataByteOrderToLittleEndian()
void SetTextureCoordinatesNameToTextureUV()
void SetFileTypeToBinary()