Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkFSSurfaceReader Class Reference

Read a surface file from Freesurfer tools. More...

#include <Libs/FreeSurfer/vtkFSSurfaceReader.h>

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

Public Types

enum  {
  FS_QUAD_FILE_MAGIC_NUMBER = (-1 & 0x00ffffff), FS_NEW_QUAD_FILE_MAGIC_NUMBER = (-3 & 0x00ffffff), FS_TRIANGLE_FILE_MAGIC_NUMBER = (-2 & 0x00ffffff), FS_NUM_VERTS_IN_QUAD_FACE = 4,
  FS_NUM_VERTS_IN_TRI_FACE = 3, FS_MAX_NUM_FACES_PER_VERTEX = 10
}
 old previous versions constants More...
 
typedef vtkDataReader Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
vtkPolyData * GetOutput ()
 Get the output of this reader. More...
 
vtkPolyData * GetOutput (int idx)
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE
 
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *outputVector) VTK_OVERRIDE
 
void SetOutput (vtkPolyData *output)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkFSSurfaceReaderNew ()
 
static vtkFSSurfaceReaderSafeDownCast (vtkObject *o)
 

Protected Member Functions

virtual int FillOutputPortInformation (int, vtkInformation *) VTK_OVERRIDE
 
 vtkFSSurfaceReader ()
 
 ~vtkFSSurfaceReader ()
 

Protected Attributes

int ExecuteGhostLevel
 
int ExecuteNumberOfPieces
 
int ExecutePiece
 

Detailed Description

Read a surface file from Freesurfer tools.

Reads a surface file from FreeSurfer and output PolyData. Use the SetFileName function to specify the file name.

Definition at line 34 of file vtkFSSurfaceReader.h.

Member Typedef Documentation

◆ Superclass

typedef vtkDataReader vtkFSSurfaceReader::Superclass

Definition at line 38 of file vtkFSSurfaceReader.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

old previous versions constants

Enumerator
FS_QUAD_FILE_MAGIC_NUMBER 
FS_NEW_QUAD_FILE_MAGIC_NUMBER 
FS_TRIANGLE_FILE_MAGIC_NUMBER 
FS_NUM_VERTS_IN_QUAD_FACE 
FS_NUM_VERTS_IN_TRI_FACE 

dealing with quads

FS_MAX_NUM_FACES_PER_VERTEX 

dealing with tris

Definition at line 47 of file vtkFSSurfaceReader.h.

Constructor & Destructor Documentation

◆ vtkFSSurfaceReader()

vtkFSSurfaceReader::vtkFSSurfaceReader ( )
protected

◆ ~vtkFSSurfaceReader()

vtkFSSurfaceReader::~vtkFSSurfaceReader ( )
protected

Member Function Documentation

◆ FillOutputPortInformation()

virtual int vtkFSSurfaceReader::FillOutputPortInformation ( int  ,
vtkInformation *   
)
protectedvirtual

Update extent of PolyData is specified in pieces. Since all DataObjects should be able to set UpdateExent as pieces, just copy output->UpdateExtent all Inputs.

◆ GetClassName()

virtual const char* vtkFSSurfaceReader::GetClassName ( )
virtual

◆ GetOutput() [1/2]

vtkPolyData* vtkFSSurfaceReader::GetOutput ( )

Get the output of this reader.

◆ GetOutput() [2/2]

vtkPolyData* vtkFSSurfaceReader::GetOutput ( int  idx)

◆ IsA()

virtual int vtkFSSurfaceReader::IsA ( const char *  type)
virtual

◆ IsTypeOf()

static int vtkFSSurfaceReader::IsTypeOf ( const char *  type)
static

◆ New()

static vtkFSSurfaceReader* vtkFSSurfaceReader::New ( )
static

◆ PrintSelf()

void vtkFSSurfaceReader::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ RequestData()

int vtkFSSurfaceReader::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *  outputVector 
)

◆ SafeDownCast()

static vtkFSSurfaceReader* vtkFSSurfaceReader::SafeDownCast ( vtkObject *  o)
static

◆ SetOutput()

void vtkFSSurfaceReader::SetOutput ( vtkPolyData *  output)

Member Data Documentation

◆ ExecuteGhostLevel

int vtkFSSurfaceReader::ExecuteGhostLevel
protected

Definition at line 75 of file vtkFSSurfaceReader.h.

◆ ExecuteNumberOfPieces

int vtkFSSurfaceReader::ExecuteNumberOfPieces
protected

Definition at line 74 of file vtkFSSurfaceReader.h.

◆ ExecutePiece

int vtkFSSurfaceReader::ExecutePiece
protected

Used by streaming: The extent of the output being processed by the execute method. Set in the ComputeInputUpdateExtents method.

Definition at line 73 of file vtkFSSurfaceReader.h.


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