Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File 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 ()
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:
2001/11/13 14:30:27
Revision:
1.39

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)
Tests:
vtkBYUReader (Tests)

Definition at line 64 of file vtkBYUReader.h.


Constructor & Destructor Documentation

vtkBYUReader::vtkBYUReader   [protected]
 

vtkBYUReader::~vtkBYUReader   [protected]
 


Member Function Documentation

vtkBYUReader* vtkBYUReader::New   [static]
 

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

Reimplemented from vtkPolyDataSource.

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.

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.

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.

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.

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.

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

Specify name of geometry FileName.

virtual char* vtkBYUReader::GetGeometryFileName   [virtual]
 

Specify name of geometry FileName.

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

Specify name of displacement FileName.

virtual char* vtkBYUReader::GetDisplacementFileName   [virtual]
 

Specify name of displacement FileName.

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

Specify name of scalar FileName.

virtual char* vtkBYUReader::GetScalarFileName   [virtual]
 

Specify name of scalar FileName.

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

Specify name of texture coordinates FileName.

virtual char* vtkBYUReader::GetTextureFileName   [virtual]
 

Specify name of texture coordinates FileName.

virtual void vtkBYUReader::SetReadDisplacement int    [virtual]
 

Turn on/off the reading of the displacement file.

virtual int vtkBYUReader::GetReadDisplacement   [virtual]
 

Turn on/off the reading of the displacement file.

virtual void vtkBYUReader::ReadDisplacementOn   [virtual]
 

Turn on/off the reading of the displacement file.

virtual void vtkBYUReader::ReadDisplacementOff   [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 int vtkBYUReader::GetReadScalar   [virtual]
 

Turn on/off the reading of the scalar file.

virtual void vtkBYUReader::ReadScalarOn   [virtual]
 

Turn on/off the reading of the scalar file.

virtual void vtkBYUReader::ReadScalarOff   [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 int vtkBYUReader::GetReadTexture   [virtual]
 

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

virtual void vtkBYUReader::ReadTextureOn   [virtual]
 

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

virtual void vtkBYUReader::ReadTextureOff   [virtual]
 

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

virtual void vtkBYUReader::SetPartNumber int    [virtual]
 

Set/Get the part number to be read.

virtual int vtkBYUReader::GetPartNumber   [virtual]
 

Set/Get the part number to be read.

void vtkBYUReader::Execute   [protected, virtual]
 

This method is the old style execute method

Reimplemented from vtkSource.

int vtkBYUReader::ComputeDivisionExtents vtkDataObject   output,
int    idx,
int    numDivisions
[protected]
 

void vtkBYUReader::ReadGeometryFile FILE *    fp,
int &    numPts
[protected]
 

void vtkBYUReader::ReadDisplacementFile int    numPts [protected]
 

void vtkBYUReader::ReadScalarFile int    numPts [protected]
 

void vtkBYUReader::ReadTextureFile int    numPts [protected]
 


Member Data Documentation

char* vtkBYUReader::GeometryFileName [protected]
 

Definition at line 133 of file vtkBYUReader.h.

char* vtkBYUReader::DisplacementFileName [protected]
 

Definition at line 134 of file vtkBYUReader.h.

char* vtkBYUReader::ScalarFileName [protected]
 

Definition at line 135 of file vtkBYUReader.h.

char* vtkBYUReader::TextureFileName [protected]
 

Definition at line 136 of file vtkBYUReader.h.

int vtkBYUReader::ReadDisplacement [protected]
 

Definition at line 137 of file vtkBYUReader.h.

int vtkBYUReader::ReadScalar [protected]
 

Definition at line 138 of file vtkBYUReader.h.

int vtkBYUReader::ReadTexture [protected]
 

Definition at line 139 of file vtkBYUReader.h.

int vtkBYUReader::PartNumber [protected]
 

Definition at line 140 of file vtkBYUReader.h.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:27:31 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001