Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkMCubesWriter Class Reference

#include <vtkMCubesWriter.h>

Inheritance diagram for vtkMCubesWriter:

Inheritance graph
[legend]
Collaboration diagram for vtkMCubesWriter:

Collaboration graph
[legend]
List of all members.

Detailed Description

write binary marching cubes file

vtkMCubesWriter is a polydata writer that writes binary marching cubes files. (Marching cubes is an isosurfacing technique that generates many triangles.) The binary format is supported by W. Lorensen's marching cubes program (and the vtkSliceCubes object). Each triangle is represented by three records, with each record consisting of six single precision floating point numbers representing the a triangle vertex coordinate and vertex normal.

Warning:
Binary files are written in sun/hp/sgi (i.e., Big Endian) form.
See also:
vtkMarchingCubes vtkSliceCubes vtkMCubesReader
Created by:
  • Lorensen, Bill
CVS contributions (if > 5%):
  • Lorensen, Bill (55%)
  • Schroeder, Will (15%)
  • Martin, Ken (15%)
  • Cedilnik, Andy (5%)
CVS logs (CVSweb):
  • .h (/IO/vtkMCubesWriter.h)
  • .cxx (/IO/vtkMCubesWriter.cxx)
Tests:
vtkMCubesWriter (Tests)

Definition at line 54 of file vtkMCubesWriter.h.

Public Types

typedef vtkPolyDataWriter Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetLimitsFileName (const char *)
virtual char * GetLimitsFileName ()

Static Public Member Functions

vtkMCubesWriterNew ()
int IsTypeOf (const char *type)
vtkMCubesWriterSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkMCubesWriter ()
 ~vtkMCubesWriter ()
void WriteData ()

Protected Attributes

char * LimitsFileName


Member Typedef Documentation

typedef vtkPolyDataWriter vtkMCubesWriter::Superclass
 

Reimplemented from vtkPolyDataWriter.

Definition at line 58 of file vtkMCubesWriter.h.


Constructor & Destructor Documentation

vtkMCubesWriter::vtkMCubesWriter  )  [protected]
 

vtkMCubesWriter::~vtkMCubesWriter  )  [protected]
 


Member Function Documentation

vtkMCubesWriter* vtkMCubesWriter::New  )  [static]
 

Created object with default header, ASCII format, and default names for scalars, vectors, tensors, normals, and texture coordinates.

Reimplemented from vtkPolyDataWriter.

virtual const char* vtkMCubesWriter::GetClassName  )  [virtual]
 

Reimplemented from vtkPolyDataWriter.

int vtkMCubesWriter::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataWriter.

virtual int vtkMCubesWriter::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataWriter.

vtkMCubesWriter* vtkMCubesWriter::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkPolyDataWriter.

void vtkMCubesWriter::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 vtkPolyDataWriter.

virtual void vtkMCubesWriter::SetLimitsFileName const char *   )  [virtual]
 

Set/get file name of marching cubes limits file.

virtual char* vtkMCubesWriter::GetLimitsFileName  )  [virtual]
 

Set/get file name of marching cubes limits file.

void vtkMCubesWriter::WriteData  )  [protected, virtual]
 

Reimplemented from vtkPolyDataWriter.


Member Data Documentation

char* vtkMCubesWriter::LimitsFileName [protected]
 

Definition at line 72 of file vtkMCubesWriter.h.


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