44 #ifndef vtkRCalculatorFilter_h
45 #define vtkRCalculatorFilter_h
47 #include "vtkFiltersStatisticsGnuRModule.h"
51 class vtkRCalculatorFilterInternals;
78 void PutArray(
const char* NameOfVTKArray,
const char* NameOfRvar);
87 void GetArray(
const char* NameOfVTKArray,
const char* NameOfRvar);
92 void RemoveAllPutVariables();
97 void RemoveAllGetVariables();
105 void PutTable(
const char* NameOfRvar);
106 void GetTable(
const char* NameOfRvar);
128 void PutTree(
const char* NameOfRvar);
129 void GetTree(
const char* NameOfRvar);
150 vtkSetStringMacro(Rscript);
158 vtkSetStringMacro(ScriptFname);
167 vtkGetMacro(Routput,
int);
181 vtkGetMacro(TimeOutput,
int);
189 vtkGetMacro(BlockInfoOutput,
int);
201 int SetRscriptFromFile(
const char* fname);
223 vtkRCalculatorFilterInternals* rcfi;
228 int ProcessInputGraph(
vtkGraph* gIn);
229 int ProcessOutputGraph(
vtkGraph* gOut);
237 int ProcessInputTable(
vtkTable* tOut);
238 int ProcessInputTable(std::
string&
name,
vtkTable* tIn);
240 vtkTable* GetOutputTable(std::
string& name);
241 int ProcessOutputTable(
vtkTable* tOut);
243 int ProcessInputTree(
vtkTree* tIn);
244 int ProcessInputTree(std::
string& name,
vtkTree* tIn);
246 vtkTree* GetOutputTree(std::
string& name);
247 int ProcessOutputTree(
vtkTree* tOut);
251 int HasMultipleGets();
252 int HasMultiplePuts();
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
abstract class to specify dataset behavior
static vtkDataObjectAlgorithm * New()
a vtkAbstractArray subclass for strings
Pipeline data object that contains multiple vtkArray objects.
This class defines a VTK interface to an embedded GNU R intepreter instance.
dynamic, self-adjusting array of double
Base class for graph data types.
abstract superclass for composite (multi-block or AMR) datasets
a simple class to control print indentation
This class functions as an array calculator for vtkDataArrays and VTKarray objects, using GNU R as the calculation engine.
int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
see vtkAlgorithm for details
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Superclass for algorithms that produce only data object as output.
A table, which contains similar-typed columns of data.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
A rooted tree data structure.
general representation of visualization data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.