41 #ifndef vtkPLYReader_h
42 #define vtkPLYReader_h
45 #include "vtkIOPLYModule.h"
48 VTK_ABI_NAMESPACE_BEGIN
73 vtkGetMacro(FaceTextureTolerance,
float);
74 vtkSetMacro(FaceTextureTolerance,
float);
85 vtkSetMacro(ReadFromInputString,
bool);
86 vtkGetMacro(ReadFromInputString,
bool);
87 vtkBooleanMacro(ReadFromInputString,
bool);
104 vtkSetMacro(ReadFromInputStream,
bool);
105 vtkGetMacro(ReadFromInputStream,
bool);
106 vtkBooleanMacro(ReadFromInputStream,
bool);
115 vtkGetMacro(DuplicatePointsForFaceTexture,
bool);
116 vtkSetMacro(DuplicatePointsForFaceTexture,
bool);
129 bool ReadFromInputStream =
false;
138 float FaceTextureTolerance;
139 bool DuplicatePointsForFaceTexture;
142 VTK_ABI_NAMESPACE_END
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.
vtkStringArray * Comments
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkPLYReader * New()
Construct object with merging set to true.
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.
a vtkAbstractArray subclass for strings