#include <vtkMCubesWriter.h>
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.
Definition at line 41 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 | |
static vtkMCubesWriter * | New () |
static int | IsTypeOf (const char *type) |
static vtkMCubesWriter * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkMCubesWriter () | |
~vtkMCubesWriter () | |
void | WriteData () |
Protected Attributes | |
char * | LimitsFileName |
vtkMCubesWriter::vtkMCubesWriter | ( | ) | [protected] |
vtkMCubesWriter::~vtkMCubesWriter | ( | ) | [protected] |
static 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.
static int vtkMCubesWriter::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataWriter.
virtual int vtkMCubesWriter::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataWriter.
static 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.
char* vtkMCubesWriter::LimitsFileName [protected] |
Definition at line 59 of file vtkMCubesWriter.h.