VTK
|
A writer for MNI surface mesh files. More...
#include <vtkMNIObjectWriter.h>
A writer for MNI surface mesh files.
The MNI .obj file format is used to store geometrical data. This file format was developed at the McConnell Brain Imaging Centre at the Montreal Neurological Institute and is used by their software. Only polygon and line files are supported by this writer. For these formats, all data elements are written including normals, colors, and surface properties. ASCII and binary file types are supported.
Definition at line 81 of file vtkMNIObjectWriter.h.
Reimplemented from vtkWriter.
Definition at line 84 of file vtkMNIObjectWriter.h.
vtkMNIObjectWriter::vtkMNIObjectWriter | ( | ) | [protected] |
vtkMNIObjectWriter::~vtkMNIObjectWriter | ( | ) | [protected] |
static int vtkMNIObjectWriter::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 vtkMNIObjectWriter::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.
static vtkMNIObjectWriter* vtkMNIObjectWriter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkWriter.
virtual vtkObjectBase* vtkMNIObjectWriter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkWriter.
Reimplemented from vtkWriter.
static vtkMNIObjectWriter* vtkMNIObjectWriter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
virtual void vtkMNIObjectWriter::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
virtual const char* vtkMNIObjectWriter::GetFileExtensions | ( | ) | [inline, virtual] |
Get the entension for this file format.
Definition at line 91 of file vtkMNIObjectWriter.h.
virtual const char* vtkMNIObjectWriter::GetDescriptiveName | ( | ) | [inline, virtual] |
Get the name of this file format.
Definition at line 97 of file vtkMNIObjectWriter.h.
virtual void vtkMNIObjectWriter::SetProperty | ( | vtkProperty * | property | ) | [virtual] |
Set the property associated with the object. Optional. This is useful for exporting an actor.
virtual vtkProperty* vtkMNIObjectWriter::GetProperty | ( | ) | [inline, virtual] |
Set the property associated with the object. Optional. This is useful for exporting an actor.
Definition at line 105 of file vtkMNIObjectWriter.h.
virtual void vtkMNIObjectWriter::SetMapper | ( | vtkMapper * | mapper | ) | [virtual] |
Set the mapper associated with the object. Optional. This is useful for exporting an actor with the same colors that are used to display the actor within VTK.
virtual vtkMapper* vtkMNIObjectWriter::GetMapper | ( | ) | [inline, virtual] |
Set the mapper associated with the object. Optional. This is useful for exporting an actor with the same colors that are used to display the actor within VTK.
Definition at line 113 of file vtkMNIObjectWriter.h.
virtual void vtkMNIObjectWriter::SetLookupTable | ( | vtkLookupTable * | table | ) | [virtual] |
Set the lookup table associated with the object. This will be used to convert scalar values to colors, if a mapper is not set.
virtual vtkLookupTable* vtkMNIObjectWriter::GetLookupTable | ( | ) | [inline, virtual] |
Set the lookup table associated with the object. This will be used to convert scalar values to colors, if a mapper is not set.
Definition at line 120 of file vtkMNIObjectWriter.h.
Get the input to this writer.
Reimplemented from vtkWriter.
vtkPolyData* vtkMNIObjectWriter::GetInput | ( | int | port | ) |
Get the input to this writer.
Reimplemented from vtkWriter.
virtual void vtkMNIObjectWriter::SetFileName | ( | const char * | ) | [virtual] |
Specify file name of vtk polygon data file to write.
virtual char* vtkMNIObjectWriter::GetFileName | ( | ) | [virtual] |
Specify file name of vtk polygon data file to write.
virtual void vtkMNIObjectWriter::SetFileType | ( | int | ) | [virtual] |
Specify file type (ASCII or BINARY) for vtk data file.
virtual int vtkMNIObjectWriter::GetFileType | ( | ) | [virtual] |
Specify file type (ASCII or BINARY) for vtk data file.
void vtkMNIObjectWriter::SetFileTypeToASCII | ( | ) | [inline] |
Specify file type (ASCII or BINARY) for vtk data file.
Definition at line 139 of file vtkMNIObjectWriter.h.
void vtkMNIObjectWriter::SetFileTypeToBinary | ( | ) | [inline] |
Specify file type (ASCII or BINARY) for vtk data file.
Definition at line 140 of file vtkMNIObjectWriter.h.
int vtkMNIObjectWriter::WriteObjectType | ( | int | objType | ) | [protected] |
int vtkMNIObjectWriter::WriteValues | ( | vtkDataArray * | array | ) | [protected] |
int vtkMNIObjectWriter::WriteIdValue | ( | vtkIdType | value | ) | [protected] |
int vtkMNIObjectWriter::WriteNewline | ( | ) | [protected] |
int vtkMNIObjectWriter::WriteProperty | ( | vtkProperty * | property | ) | [protected] |
int vtkMNIObjectWriter::WriteLineThickness | ( | vtkProperty * | property | ) | [protected] |
int vtkMNIObjectWriter::WritePoints | ( | vtkPolyData * | polyData | ) | [protected] |
int vtkMNIObjectWriter::WriteNormals | ( | vtkPolyData * | polyData | ) | [protected] |
int vtkMNIObjectWriter::WriteColors | ( | vtkProperty * | property, |
vtkMapper * | mapper, | ||
vtkPolyData * | data | ||
) | [protected] |
int vtkMNIObjectWriter::WriteCells | ( | vtkPolyData * | data, |
int | cellType | ||
) | [protected] |
int vtkMNIObjectWriter::WritePolygonObject | ( | vtkPolyData * | output | ) | [protected] |
int vtkMNIObjectWriter::WriteLineObject | ( | vtkPolyData * | output | ) | [protected] |
void vtkMNIObjectWriter::WriteData | ( | ) | [protected, virtual] |
Implements vtkWriter.
virtual int vtkMNIObjectWriter::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.
ostream* vtkMNIObjectWriter::OpenFile | ( | ) | [protected] |
void vtkMNIObjectWriter::CloseFile | ( | ostream * | fp | ) | [protected] |
vtkProperty* vtkMNIObjectWriter::Property [protected] |
Definition at line 147 of file vtkMNIObjectWriter.h.
vtkMapper* vtkMNIObjectWriter::Mapper [protected] |
Definition at line 148 of file vtkMNIObjectWriter.h.
vtkLookupTable* vtkMNIObjectWriter::LookupTable [protected] |
Definition at line 149 of file vtkMNIObjectWriter.h.
ostream* vtkMNIObjectWriter::OutputStream [protected] |
Definition at line 151 of file vtkMNIObjectWriter.h.
char* vtkMNIObjectWriter::FileName [protected] |
Definition at line 170 of file vtkMNIObjectWriter.h.
int vtkMNIObjectWriter::FileType [protected] |
Definition at line 172 of file vtkMNIObjectWriter.h.