40 #ifndef vtkRInterface_h 41 #define vtkRInterface_h 43 #include "vtkFiltersStatisticsGnuRModule.h" 50 class vtkImplementationRSingleton;
64 int EvalRcommand(
const char *commandName,
int param);
70 int EvalRscript(
const char *
string,
bool showRoutput =
true);
76 int OutputBuffer(
char* p,
int n);
82 void AssignVTKDataArrayToRVariable(
vtkDataArray* da,
const char* RVariableName);
88 void AssignVTKArrayToRVariable(
vtkArray* da,
const char* RVariableName);
94 void AssignVTKTreeToRVariable(
vtkTree* tr,
const char* RVariableName);
100 vtkTree* AssignRVariableToVTKTree(
const char* RVariableName);
106 vtkDataArray* AssignRVariableToVTKDataArray(
const char* RVariableName);
113 vtkArray* AssignRVariableToVTKArray(
const char* RVariableName);
120 vtkTable* AssignRVariableToVTKTable(
const char* RVariableName);
127 void AssignVTKTableToRVariable(
vtkTable* table,
const char* RVariableName);
134 int FillOutputBuffer();
138 vtkImplementationRSingleton* rs;
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Abstract interface for N-dimensional arrays.
This class defines a VTK interface to an embedded GNU R interpreter instance.
a simple class to control print indentation
abstract superclass for arrays of numeric data
A table, which contains similar-typed columns of data.
This is a utility class to convert VTK array data and VTK tables to and from Gnu R S expression (SEXP...
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
A rooted tree data structure.