VTK
|
read Stanford University PLY polygonal file format More...
#include <vtkPLYReader.h>
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPLYReader * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetFileName (const char *) |
virtual char * | GetFileName () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkPLYReader * | SafeDownCast (vtkObjectBase *o) |
static vtkPLYReader * | New () |
static int | CanReadFile (const char *filename) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPLYReader () | |
~vtkPLYReader () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
char * | FileName |
read Stanford University PLY polygonal file format
vtkPLYReader is a source object that reads polygonal data in Stanford University PLY file format (see http://graphics.stanford.edu/data/3Dscanrep). It requires that the elements "vertex" and "face" are defined. The "vertex" element must have the properties "x", "y", and "z". The "face" element must have the property "vertex_indices" defined. Optionally, if the "face" element has the properties "intensity" and/or the triplet "red", "green", and "blue"; these are read and added as scalars to the output data.
Definition at line 41 of file vtkPLYReader.h.
Reimplemented from vtkPolyDataAlgorithm.
Definition at line 44 of file vtkPLYReader.h.
vtkPLYReader::vtkPLYReader | ( | ) | [protected] |
vtkPLYReader::~vtkPLYReader | ( | ) | [protected] |
static int vtkPLYReader::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataAlgorithm.
virtual int vtkPLYReader::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataAlgorithm.
static vtkPLYReader* vtkPLYReader::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPolyDataAlgorithm.
virtual vtkObjectBase* vtkPLYReader::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPolyDataAlgorithm.
vtkPLYReader* vtkPLYReader::NewInstance | ( | ) | const |
Reimplemented from vtkPolyDataAlgorithm.
void vtkPLYReader::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkPolyDataAlgorithm.
static vtkPLYReader* vtkPLYReader::New | ( | ) | [static] |
Construct object with merging set to true.
Reimplemented from vtkPolyDataAlgorithm.
virtual void vtkPLYReader::SetFileName | ( | const char * | ) | [virtual] |
Specify file name of stereo lithography file.
virtual char* vtkPLYReader::GetFileName | ( | ) | [virtual] |
Specify file name of stereo lithography file.
static int vtkPLYReader::CanReadFile | ( | const char * | filename | ) | [static] |
A simple, non-exhaustive check to see if a file is a valid ply file.
int vtkPLYReader::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkPolyDataAlgorithm.
char* vtkPLYReader::FileName [protected] |
Definition at line 63 of file vtkPLYReader.h.