Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

vtkBYUReader Class Reference

read MOVIE.BYU polygon files. More...

#include <vtkBYUReader.h>

Inheritance diagram for vtkBYUReader:

Inheritance graph
[legend]
Collaboration diagram for vtkBYUReader:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetGeometryFileName (const char *)
virtual char * GetGeometryFileName ()
virtual void SetDisplacementFileName (const char *)
virtual char * GetDisplacementFileName ()
virtual void SetScalarFileName (const char *)
virtual char * GetScalarFileName ()
virtual void SetTextureFileName (const char *)
virtual char * GetTextureFileName ()
virtual void SetReadDisplacement (int)
virtual int GetReadDisplacement ()
virtual void ReadDisplacementOn ()
virtual void ReadDisplacementOff ()
virtual void SetReadScalar (int)
virtual int GetReadScalar ()
virtual void ReadScalarOn ()
virtual void ReadScalarOff ()
virtual void SetReadTexture (int)
virtual int GetReadTexture ()
virtual void ReadTextureOn ()
virtual void ReadTextureOff ()
virtual void SetPartNumber (int)
virtual int GetPartNumber ()

Static Public Methods

vtkBYUReader * New ()
int IsTypeOf (const char *type)
vtkBYUReader * SafeDownCast (vtkObject *o)

Protected Methods

 vtkBYUReader ()
 ~vtkBYUReader ()
 vtkBYUReader (const vtkBYUReader &)
void operator= (const vtkBYUReader &)
void Execute ()
int ComputeDivisionExtents (vtkDataObject *output, int idx, int numDivisions)
void ReadGeometryFile (FILE *fp, int &numPts)
void ReadDisplacementFile (int numPts)
void ReadScalarFile (int numPts)
void ReadTextureFile (int numPts)

Protected Attributes

char * GeometryFileName
char * DisplacementFileName
char * ScalarFileName
char * TextureFileName
int ReadDisplacement
int ReadScalar
int ReadTexture
int PartNumber

Detailed Description

read MOVIE.BYU polygon files.

Date:
2000/12/10 20:08:30
Revision:
1.35

vtkBYUReader is a source object that reads MOVIE.BYU polygon files. These files consist of a geometry file (.g), a scalar file (.s), a displacement or vector file (.d), and a 2D texture coordinate file (.t).

Examples:
vtkBYUReader (examples)


Member Function Documentation

virtual const char* vtkBYUReader::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataSource.

virtual int vtkBYUReader::IsA const char *    type [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 vtkPolyDataSource.

int vtkBYUReader::IsTypeOf const char *    type [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 vtkPolyDataSource.

vtkBYUReader* vtkBYUReader::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkPolyDataSource.

void vtkBYUReader::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 vtkSource.

vtkBYUReader* vtkBYUReader::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataSource.

virtual void vtkBYUReader::SetDisplacementFileName const char *    [virtual]
 

Specify name of displacement FileName.

virtual void vtkBYUReader::SetGeometryFileName const char *    [virtual]
 

Specify name of geometry FileName.

virtual void vtkBYUReader::SetPartNumber int    [virtual]
 

Set/Get the part number to be read.

virtual void vtkBYUReader::SetReadDisplacement int    [virtual]
 

Turn on/off the reading of the displacement file.

virtual void vtkBYUReader::SetReadScalar int    [virtual]
 

Turn on/off the reading of the scalar file.

virtual void vtkBYUReader::SetReadTexture int    [virtual]
 

Turn on/off the reading of the texture coordinate file. Specify name of geometry FileName.

virtual void vtkBYUReader::SetScalarFileName const char *    [virtual]
 

Specify name of scalar FileName.

virtual void vtkBYUReader::SetTextureFileName const char *    [virtual]
 

Specify name of texture coordinates FileName.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:23:54 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002