VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
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 Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkBYUReaderNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetGeometryFileName (const char *)
virtual char * GetGeometryFileName ()
virtual void SetFileName (const char *f)
virtual char * GetFileName ()
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 Member Functions

static vtkBYUReaderNew ()
static int IsTypeOf (const char *type)
static vtkBYUReaderSafeDownCast (vtkObjectBase *o)
static int CanReadFile (const char *filename)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkBYUReader ()
 ~vtkBYUReader ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int ComputeDivisionExtents (vtkDataObject *output, int idx, int numDivisions)
void ReadGeometryFile (FILE *fp, int &numPts, vtkInformation *outInfo)
void ReadDisplacementFile (int numPts, vtkInformation *outInfo)
void ReadScalarFile (int numPts, vtkInformation *outInfo)
void ReadTextureFile (int numPts, vtkInformation *outInfo)

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

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 36 of file vtkBYUReader.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 41 of file vtkBYUReader.h.


Constructor & Destructor Documentation

vtkBYUReader::vtkBYUReader ( ) [protected]
vtkBYUReader::~vtkBYUReader ( ) [protected]

Member Function Documentation

static vtkBYUReader* vtkBYUReader::New ( ) [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkPolyDataAlgorithm.

static int vtkBYUReader::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 vtkBYUReader::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.

Reimplemented from vtkPolyDataAlgorithm.

virtual vtkObjectBase* vtkBYUReader::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented from vtkPolyDataAlgorithm.

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 vtkPolyDataAlgorithm.

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::SetFileName ( const char *  f) [inline, virtual]

Specify name of geometry FileName (alias).

Definition at line 52 of file vtkBYUReader.h.

virtual char* vtkBYUReader::GetFileName ( ) [inline, virtual]

Specify name of geometry FileName (alias).

Definition at line 53 of file vtkBYUReader.h.

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.

static int vtkBYUReader::CanReadFile ( const char *  filename) [static]

Returns 1 if this file can be read and 0 if the file cannot be read. Because BYU files do not have anything in the header specifying the file type, the result is not definitive. Invalid files may still return 1 although a valid file will never return 0.

int vtkBYUReader::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.

int vtkBYUReader::ComputeDivisionExtents ( vtkDataObject output,
int  idx,
int  numDivisions 
) [protected]
void vtkBYUReader::ReadGeometryFile ( FILE *  fp,
int numPts,
vtkInformation outInfo 
) [protected]
void vtkBYUReader::ReadDisplacementFile ( int  numPts,
vtkInformation outInfo 
) [protected]
void vtkBYUReader::ReadScalarFile ( int  numPts,
vtkInformation outInfo 
) [protected]
void vtkBYUReader::ReadTextureFile ( int  numPts,
vtkInformation outInfo 
) [protected]

Member Data Documentation

char* vtkBYUReader::GeometryFileName [protected]

Definition at line 117 of file vtkBYUReader.h.

Definition at line 118 of file vtkBYUReader.h.

char* vtkBYUReader::ScalarFileName [protected]

Definition at line 119 of file vtkBYUReader.h.

char* vtkBYUReader::TextureFileName [protected]

Definition at line 120 of file vtkBYUReader.h.

Definition at line 121 of file vtkBYUReader.h.

Definition at line 122 of file vtkBYUReader.h.

Definition at line 123 of file vtkBYUReader.h.

Definition at line 124 of file vtkBYUReader.h.


The documentation for this class was generated from the following file: