VTK
|
reader for RIS files More...
#include <vtkRISReader.h>
Public Types | |
typedef vtkTableAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkRISReader * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual char * | GetFileName () |
virtual void | SetFileName (const char *) |
virtual char * | GetDelimiter () |
virtual void | SetDelimiter (const char *) |
virtual int | GetMaxRecords () |
virtual void | SetMaxRecords (int) |
Static Public Member Functions | |
static vtkRISReader * | New () |
static int | IsTypeOf (const char *type) |
static vtkRISReader * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkRISReader () | |
~vtkRISReader () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
char * | FileName |
char * | Delimiter |
int | MaxRecords |
reader for RIS files
RIS is a tagged format for expressing bibliographic citations. Data is structured as a collection of records with each record composed of one-to-many fields. See
http://en.wikipedia.org/wiki/RIS_(file_format) http://www.refman.com/support/risformat_intro.asp http://www.adeptscience.co.uk/kb/article/A626
for details. vtkRISReader will convert an RIS file into a vtkTable, with the set of table columns determined dynamically from the contents of the file.
Definition at line 51 of file vtkRISReader.h.
Reimplemented from vtkTableAlgorithm.
Definition at line 55 of file vtkRISReader.h.
vtkRISReader::vtkRISReader | ( | ) | [protected] |
vtkRISReader::~vtkRISReader | ( | ) | [protected] |
static vtkRISReader* vtkRISReader::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkTableAlgorithm.
static int vtkRISReader::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 vtkTableAlgorithm.
virtual int vtkRISReader::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 vtkTableAlgorithm.
static vtkRISReader* vtkRISReader::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkTableAlgorithm.
virtual vtkObjectBase* vtkRISReader::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkTableAlgorithm.
vtkRISReader* vtkRISReader::NewInstance | ( | ) | const |
Reimplemented from vtkTableAlgorithm.
void vtkRISReader::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 vtkTableAlgorithm.
virtual char* vtkRISReader::GetFileName | ( | ) | [virtual] |
Set/get the file to load
virtual void vtkRISReader::SetFileName | ( | const char * | ) | [virtual] |
Set/get the file to load
virtual char* vtkRISReader::GetDelimiter | ( | ) | [virtual] |
Set/get the delimiter to be used for concatenating field data (default: ";")
virtual void vtkRISReader::SetDelimiter | ( | const char * | ) | [virtual] |
Set/get the delimiter to be used for concatenating field data (default: ";")
virtual int vtkRISReader::GetMaxRecords | ( | ) | [virtual] |
Set/get the maximum number of records to read from the file (zero = unlimited)
virtual void vtkRISReader::SetMaxRecords | ( | int | ) | [virtual] |
Set/get the maximum number of records to read from the file (zero = unlimited)
int vtkRISReader::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkTableAlgorithm.
char* vtkRISReader::FileName [protected] |
Definition at line 87 of file vtkRISReader.h.
char* vtkRISReader::Delimiter [protected] |
Definition at line 88 of file vtkRISReader.h.
int vtkRISReader::MaxRecords [protected] |
Definition at line 89 of file vtkRISReader.h.