45 #ifndef __vtkRInterface_h
46 #define __vtkRInterface_h
48 #include "vtkFiltersStatisticsGnuRModule.h"
49 #include "vtkObject.h"
55 class vtkImplementationRSingleton;
64 void PrintSelf(ostream& os, vtkIndent indent);
68 int EvalRcommand(
const char *commandName,
int param);
72 int EvalRscript(
const char *
string,
bool showRoutput =
true);
76 int OutputBuffer(
char* p,
int n);
81 void AssignVTKDataArrayToRVariable(vtkDataArray* da,
const char* RVariableName);
86 void AssignVTKArrayToRVariable(vtkArray* da,
const char* RVariableName);
91 void AssignVTKTreeToRVariable(vtkTree* tr,
const char* RVariableName);
95 vtkTree* AssignRVariableToVTKTree(
const char* RVariableName);
99 vtkDataArray* AssignRVariableToVTKDataArray(
const char* RVariableName);
104 vtkArray* AssignRVariableToVTKArray(
const char* RVariableName);
110 vtkTable* AssignRVariableToVTKTable(
const char* RVariableName);
115 void AssignVTKTableToRVariable(
vtkTable* table,
const char* RVariableName);
122 int FillOutputBuffer();
126 vtkImplementationRSingleton* rs;
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...