39#ifndef vtkArrayReader_h
40#define vtkArrayReader_h
43#include "vtkIOCoreModule.h"
76 vtkSetMacro(ReadFromInputString,
bool);
77 vtkGetMacro(ReadFromInputString,
bool);
78 vtkBooleanMacro(ReadFromInputString,
bool);
Superclass for algorithms that produce vtkArrayDatas as output.
Reads sparse and dense vtkArray data written by vtkArrayWriter.
virtual vtkStdString GetInputString()
The input string to parse.
static vtkArrayReader * New()
vtkSetFilePathMacro(FileName)
Set the filesystem location from which data will be read.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkArray * Read(istream &stream)
Read an arbitrary array from a stream.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetInputString(const vtkStdString &string)
The input string to parse.
~vtkArrayReader() override
static vtkArray * Read(const vtkStdString &str)
Read an arbitrary array from a string.
vtkGetFilePathMacro(FileName)
Set the filesystem location from which data will be read.
Abstract interface for N-dimensional arrays.
a simple class to control print indentation
Wrapper around std::string to keep symbols short.