VTK
|
A reader for MNI surface mesh files. More...
#include <vtkMNIObjectReader.h>
A reader 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 reader, but for those formats, all data elements are read including normals, colors, and surface properties. ASCII and binary file types are supported.
Definition at line 80 of file vtkMNIObjectReader.h.
Reimplemented from vtkPolyDataAlgorithm.
Definition at line 83 of file vtkMNIObjectReader.h.
vtkMNIObjectReader::vtkMNIObjectReader | ( | ) | [protected] |
vtkMNIObjectReader::~vtkMNIObjectReader | ( | ) | [protected] |
static int vtkMNIObjectReader::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 vtkMNIObjectReader::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.
static vtkMNIObjectReader* vtkMNIObjectReader::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPolyDataAlgorithm.
virtual vtkObjectBase* vtkMNIObjectReader::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPolyDataAlgorithm.
Reimplemented from vtkPolyDataAlgorithm.
static vtkMNIObjectReader* vtkMNIObjectReader::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPolyDataAlgorithm.
virtual void vtkMNIObjectReader::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 vtkMNIObjectReader::SetFileName | ( | const char * | ) | [virtual] |
Set the file name.
virtual char* vtkMNIObjectReader::GetFileName | ( | ) | [virtual] |
Set the file name.
virtual const char* vtkMNIObjectReader::GetFileExtensions | ( | ) | [inline, virtual] |
Get the entension for this file format.
Definition at line 96 of file vtkMNIObjectReader.h.
virtual const char* vtkMNIObjectReader::GetDescriptiveName | ( | ) | [inline, virtual] |
Get the name of this file format.
Definition at line 102 of file vtkMNIObjectReader.h.
virtual int vtkMNIObjectReader::CanReadFile | ( | const char * | name | ) | [virtual] |
Test whether the specified file can be read.
virtual vtkProperty* vtkMNIObjectReader::GetProperty | ( | ) | [inline, virtual] |
Get the property associated with the object.
Definition at line 110 of file vtkMNIObjectReader.h.
int vtkMNIObjectReader::ReadLine | ( | char * | text, |
unsigned int | length | ||
) | [protected] |
int vtkMNIObjectReader::SkipWhitespace | ( | ) | [protected] |
int vtkMNIObjectReader::ParseValues | ( | vtkDataArray * | array, |
vtkIdType | n | ||
) | [protected] |
int vtkMNIObjectReader::ParseIdValue | ( | vtkIdType * | value | ) | [protected] |
int vtkMNIObjectReader::ReadNumberOfPoints | ( | vtkIdType * | numCells | ) | [protected] |
int vtkMNIObjectReader::ReadNumberOfCells | ( | vtkIdType * | numCells | ) | [protected] |
int vtkMNIObjectReader::ReadProperty | ( | vtkProperty * | property | ) | [protected] |
int vtkMNIObjectReader::ReadLineThickness | ( | vtkProperty * | property | ) | [protected] |
int vtkMNIObjectReader::ReadPoints | ( | vtkPolyData * | polyData, |
vtkIdType | numPoints | ||
) | [protected] |
int vtkMNIObjectReader::ReadNormals | ( | vtkPolyData * | polyData, |
vtkIdType | numPoints | ||
) | [protected] |
int vtkMNIObjectReader::ReadColors | ( | vtkProperty * | property, |
vtkPolyData * | data, | ||
vtkIdType | numPoints, | ||
vtkIdType | numCells | ||
) | [protected] |
int vtkMNIObjectReader::ReadCells | ( | vtkPolyData * | data, |
vtkIdType | numCells, | ||
int | cellType | ||
) | [protected] |
int vtkMNIObjectReader::ReadPolygonObject | ( | vtkPolyData * | output | ) | [protected] |
int vtkMNIObjectReader::ReadLineObject | ( | vtkPolyData * | output | ) | [protected] |
virtual int vtkMNIObjectReader::ReadFile | ( | vtkPolyData * | output | ) | [protected, virtual] |
virtual int vtkMNIObjectReader::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.
char* vtkMNIObjectReader::FileName [protected] |
Definition at line 116 of file vtkMNIObjectReader.h.
vtkProperty* vtkMNIObjectReader::Property [protected] |
Definition at line 117 of file vtkMNIObjectReader.h.
int vtkMNIObjectReader::FileType [protected] |
Definition at line 118 of file vtkMNIObjectReader.h.
istream* vtkMNIObjectReader::InputStream [protected] |
Definition at line 120 of file vtkMNIObjectReader.h.
int vtkMNIObjectReader::LineNumber [protected] |
Definition at line 121 of file vtkMNIObjectReader.h.
char* vtkMNIObjectReader::LineText [protected] |
Definition at line 122 of file vtkMNIObjectReader.h.
char* vtkMNIObjectReader::CharPointer [protected] |
Definition at line 123 of file vtkMNIObjectReader.h.