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);
150 vtkSetStringMacro(Rscript);
158 vtkSetStringMacro(ScriptFname);
167 vtkGetMacro(Routput,
int);
181 vtkGetMacro(TimeOutput,
int);
189 vtkGetMacro(BlockInfoOutput,
int);
223 vtkRCalculatorFilterInternals* rcfi;
228 int ProcessInputGraph(
vtkGraph* gIn);
229 int ProcessOutputGraph(
vtkGraph* gOut);
237 int ProcessInputTable(
vtkTable* tOut);
241 int ProcessOutputTable(
vtkTable* tOut);
243 int ProcessInputTree(
vtkTree* tIn);
247 int ProcessOutputTree(
vtkTree* tOut);
251 int HasMultipleGets();
252 int HasMultiplePuts();
Pipeline data object that contains multiple vtkArray objects.
abstract superclass for composite (multi-block or AMR) datasets
Superclass for algorithms that produce only data object as output.
general representation of visualization data
abstract class to specify dataset behavior
dynamic, self-adjusting array of double
Base class for graph data types.
a simple class to control print indentation
This class functions as an array calculator for vtkDataArrays and VTKarray objects,...
void GetTree(const char *NameOfRvar)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void PutTree(const char *NameOfRvar)
For vtkTree input to the filter.
void PutTable(const char *NameOfRvar)
For vtkTable input to the filter.
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is required to capture REQUEST_DATA_OBJECT requests.
void GetArray(const char *NameOfVTKArray, const char *NameOfRvar)
Copies R variable NameOfRvar from R to the vtkDataArray named NameOfVTKArray.
void GetTables(vtkStringArray *NamesOfRVars)
For vtkTable output of the filter.
void PutTables(vtkStringArray *NamesOfRVars)
For vtkTable input to the filter.
void GetTrees(vtkStringArray *NamesOfRvars)
For vtkTree output of the filter.
void GetTable(const char *NameOfRvar)
virtual int RequestData(vtkInformation *vtkNotUsed(request), vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void RemoveAllGetVariables()
Clears the list of variables to be copied from R.
static vtkRCalculatorFilter * New()
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Creates the same output type as the input type.
void PutArray(const char *NameOfVTKArray, const char *NameOfRvar)
Copies vtkDataArray named NameOfVTKArray to R with variable name NameOfRvar.
int SetRscriptFromFile(const char *fname)
void PutTrees(vtkStringArray *NamesOfRvars)
For vtkTree input to the filter.
void RemoveAllPutVariables()
Clears the list of variables to be copied to R.
This class defines a VTK interface to an embedded GNU R intepreter instance.
a vtkAbstractArray subclass for strings
A table, which contains similar-typed columns of data.
A rooted tree data structure.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.