141#ifndef vtkPLYReader_h
142#define vtkPLYReader_h
145#include "vtkIOPLYModule.h"
148VTK_ABI_NAMESPACE_BEGIN
173 vtkGetMacro(FaceTextureTolerance,
float);
174 vtkSetMacro(FaceTextureTolerance,
float);
185 vtkSetMacro(ReadFromInputString,
bool);
186 vtkGetMacro(ReadFromInputString,
bool);
187 vtkBooleanMacro(ReadFromInputString,
bool);
204 vtkSetMacro(ReadFromInputStream,
bool);
205 vtkGetMacro(ReadFromInputStream,
bool);
206 vtkBooleanMacro(ReadFromInputStream,
bool);
215 vtkGetMacro(DuplicatePointsForFaceTexture,
bool);
216 vtkSetMacro(DuplicatePointsForFaceTexture,
bool);
229 bool ReadFromInputStream =
false;
238 float FaceTextureTolerance;
239 bool DuplicatePointsForFaceTexture;
Superclass for algorithms that read models from a file.
a simple class to control print indentation
read Stanford University PLY polygonal file format
vtkSetSmartPointerMacro(Stream, vtkResourceStream)
Specify stream to read from.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkPLYReader * New()
Construct object with merging set to true.
vtkStringArray * Comments
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetInputString(const std::string &s)
Enable reading from an InputString instead of the default, a file.
static int CanReadFile(VTK_FILEPATH const char *filename)
A simple, non-exhaustive check to see if a file is a valid ply file.
vtkGetSmartPointerMacro(Stream, vtkResourceStream)
Specify stream to read from.
vtkSmartPointer< vtkResourceStream > Stream
Abstract class used for custom streams.
Hold a reference to a vtkObjectBase instance.
a vtkAbstractArray subclass for strings