VTK
|
reads a dataset in Facet format More...
#include <vtkFacetReader.h>
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkFacetReader * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetFileName (const char *) |
virtual char * | GetFileName () |
Static Public Member Functions | |
static vtkFacetReader * | New () |
static int | IsTypeOf (const char *type) |
static vtkFacetReader * | SafeDownCast (vtkObjectBase *o) |
static int | CanReadFile (const char *filename) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkFacetReader () | |
~vtkFacetReader () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
char * | FileName |
reads a dataset in Facet format
vtkFacetReader creates a poly data dataset. It reads ASCII files stored in Facet format
The facet format looks like this: FACET FILE ... nparts Part 1 name 0 npoints 0 0 p1x p1y p1z p2x p2y p2z ... 1 Part 1 name ncells npointspercell p1c1 p2c1 p3c1 ... pnc1 materialnum partnum p1c2 p2c2 p3c2 ... pnc2 materialnum partnum ...
Definition at line 47 of file vtkFacetReader.h.
Reimplemented from vtkPolyDataAlgorithm.
Definition at line 51 of file vtkFacetReader.h.
vtkFacetReader::vtkFacetReader | ( | ) | [protected] |
vtkFacetReader::~vtkFacetReader | ( | ) | [protected] |
static vtkFacetReader* vtkFacetReader::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPolyDataAlgorithm.
static int vtkFacetReader::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 vtkFacetReader::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 vtkFacetReader* vtkFacetReader::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPolyDataAlgorithm.
virtual vtkObjectBase* vtkFacetReader::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPolyDataAlgorithm.
vtkFacetReader* vtkFacetReader::NewInstance | ( | ) | const |
Reimplemented from vtkPolyDataAlgorithm.
void vtkFacetReader::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.
virtual void vtkFacetReader::SetFileName | ( | const char * | ) | [virtual] |
Specify file name of Facet datafile to read
virtual char* vtkFacetReader::GetFileName | ( | ) | [virtual] |
Specify file name of Facet datafile to read
static int vtkFacetReader::CanReadFile | ( | const char * | filename | ) | [static] |
int vtkFacetReader::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* vtkFacetReader::FileName [protected] |
Definition at line 68 of file vtkFacetReader.h.