VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkBYUWriter Class Reference

write MOVIE.BYU files More...

#include <vtkBYUWriter.h>

Inheritance diagram for vtkBYUWriter:
Inheritance graph
[legend]
Collaboration diagram for vtkBYUWriter:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkWriter Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkBYUWriterNewInstance () const
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 SetWriteDisplacement (int)
virtual int GetWriteDisplacement ()
virtual void WriteDisplacementOn ()
virtual void WriteDisplacementOff ()
virtual void SetWriteScalar (int)
virtual int GetWriteScalar ()
virtual void WriteScalarOn ()
virtual void WriteScalarOff ()
virtual void SetWriteTexture (int)
virtual int GetWriteTexture ()
virtual void WriteTextureOn ()
virtual void WriteTextureOff ()
vtkPolyDataGetInput ()
vtkPolyDataGetInput (int port)

Static Public Member Functions

static vtkBYUWriterNew ()
static int IsTypeOf (const char *type)
static vtkBYUWriterSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkBYUWriter ()
 ~vtkBYUWriter ()
void WriteData ()
void WriteGeometryFile (FILE *fp, int numPts)
void WriteDisplacementFile (int numPts)
void WriteScalarFile (int numPts)
void WriteTextureFile (int numPts)
virtual int FillInputPortInformation (int port, vtkInformation *info)

Protected Attributes

char * GeometryFileName
char * DisplacementFileName
char * ScalarFileName
char * TextureFileName
int WriteDisplacement
int WriteScalar
int WriteTexture

Detailed Description

write MOVIE.BYU files

vtkBYUWriter writes MOVIE.BYU polygonal 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). These files must be specified to the object, the appropriate boolean variables must be true, and data must be available from the input for the files to be written. WARNING: this writer does not currently write triangle strips. Use vtkTriangleFilter to convert strips to triangles.

Tests:
vtkBYUWriter (Tests)

Definition at line 39 of file vtkBYUWriter.h.


Member Typedef Documentation

Reimplemented from vtkWriter.

Definition at line 44 of file vtkBYUWriter.h.


Constructor & Destructor Documentation

vtkBYUWriter::vtkBYUWriter ( ) [protected]
vtkBYUWriter::~vtkBYUWriter ( ) [protected]

Member Function Documentation

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

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

Reimplemented from vtkAlgorithm.

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

virtual int vtkBYUWriter::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 vtkWriter.

Reimplemented from vtkWriter.

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

Reimplemented from vtkWriter.

Reimplemented from vtkWriter.

void vtkBYUWriter::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 vtkWriter.

virtual void vtkBYUWriter::SetGeometryFileName ( const char *  ) [virtual]

Specify the name of the geometry file to write.

virtual char* vtkBYUWriter::GetGeometryFileName ( ) [virtual]

Specify the name of the geometry file to write.

virtual void vtkBYUWriter::SetDisplacementFileName ( const char *  ) [virtual]

Specify the name of the displacement file to write.

virtual char* vtkBYUWriter::GetDisplacementFileName ( ) [virtual]

Specify the name of the displacement file to write.

virtual void vtkBYUWriter::SetScalarFileName ( const char *  ) [virtual]

Specify the name of the scalar file to write.

virtual char* vtkBYUWriter::GetScalarFileName ( ) [virtual]

Specify the name of the scalar file to write.

virtual void vtkBYUWriter::SetTextureFileName ( const char *  ) [virtual]

Specify the name of the texture file to write.

virtual char* vtkBYUWriter::GetTextureFileName ( ) [virtual]

Specify the name of the texture file to write.

virtual void vtkBYUWriter::SetWriteDisplacement ( int  ) [virtual]

Turn on/off writing the displacement file.

virtual int vtkBYUWriter::GetWriteDisplacement ( ) [virtual]

Turn on/off writing the displacement file.

virtual void vtkBYUWriter::WriteDisplacementOn ( ) [virtual]

Turn on/off writing the displacement file.

virtual void vtkBYUWriter::WriteDisplacementOff ( ) [virtual]

Turn on/off writing the displacement file.

virtual void vtkBYUWriter::SetWriteScalar ( int  ) [virtual]

Turn on/off writing the scalar file.

virtual int vtkBYUWriter::GetWriteScalar ( ) [virtual]

Turn on/off writing the scalar file.

virtual void vtkBYUWriter::WriteScalarOn ( ) [virtual]

Turn on/off writing the scalar file.

virtual void vtkBYUWriter::WriteScalarOff ( ) [virtual]

Turn on/off writing the scalar file.

virtual void vtkBYUWriter::SetWriteTexture ( int  ) [virtual]

Turn on/off writing the texture file.

virtual int vtkBYUWriter::GetWriteTexture ( ) [virtual]

Turn on/off writing the texture file.

virtual void vtkBYUWriter::WriteTextureOn ( ) [virtual]

Turn on/off writing the texture file.

virtual void vtkBYUWriter::WriteTextureOff ( ) [virtual]

Turn on/off writing the texture file.

Get the input to this writer.

Reimplemented from vtkWriter.

Get the input to this writer.

Reimplemented from vtkWriter.

void vtkBYUWriter::WriteData ( ) [protected, virtual]

Implements vtkWriter.

void vtkBYUWriter::WriteGeometryFile ( FILE *  fp,
int  numPts 
) [protected]
void vtkBYUWriter::WriteDisplacementFile ( int  numPts) [protected]
void vtkBYUWriter::WriteScalarFile ( int  numPts) [protected]
void vtkBYUWriter::WriteTextureFile ( int  numPts) [protected]
virtual int vtkBYUWriter::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkAlgorithm.


Member Data Documentation

char* vtkBYUWriter::GeometryFileName [protected]

Definition at line 104 of file vtkBYUWriter.h.

Definition at line 105 of file vtkBYUWriter.h.

char* vtkBYUWriter::ScalarFileName [protected]

Definition at line 106 of file vtkBYUWriter.h.

char* vtkBYUWriter::TextureFileName [protected]

Definition at line 107 of file vtkBYUWriter.h.

Definition at line 108 of file vtkBYUWriter.h.

Definition at line 109 of file vtkBYUWriter.h.

Definition at line 110 of file vtkBYUWriter.h.


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