46#ifndef vtkRInterface_h
47#define vtkRInterface_h
49#include "vtkFiltersStatisticsGnuRModule.h"
56class vtkImplementationRSingleton;
140 int FillOutputBuffer();
144 vtkImplementationRSingleton* rs;
Abstract interface for N-dimensional arrays.
abstract superclass for arrays of numeric data
a simple class to control print indentation
abstract base class for most VTK objects
This is a utility class to convert VTK array data and VTK tables to and from Gnu R S expression (SEXP...
This class defines a VTK interface to an embedded GNU R intepreter instance.
vtkDataArray * AssignRVariableToVTKDataArray(const char *RVariableName)
Copies the R variable RVariableName to the returned vtkDataArray.
static vtkRInterface * New()
vtkArray * AssignRVariableToVTKArray(const char *RVariableName)
Copies the R variable RVariableName to the returned vtkArray.
void AssignVTKArrayToRVariable(vtkArray *da, const char *RVariableName)
Copies vtkArray da into the R interpreter instance as a variable named RVariableName.
int EvalRcommand(const char *commandName, int param)
Evaluate an R command on the embedded R interpreter that takes one integer argument.
void AssignVTKDataArrayToRVariable(vtkDataArray *da, const char *RVariableName)
Copies vtkDataArray da into the R interpreter instance as a variable named RVariableName.
void AssignVTKTableToRVariable(vtkTable *table, const char *RVariableName)
Copies the vtkTable given in table to an R list structure name RVariableName.
void AssignVTKTreeToRVariable(vtkTree *tr, const char *RVariableName)
Copies vtkTree tr into the R interpreter instance as a variable named RVariableName.
int EvalRscript(const char *string, bool showRoutput=true)
Evaluate an R script given in string on the embedded R interpreter.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkTree * AssignRVariableToVTKTree(const char *RVariableName)
Copies the R variable RVariableName to the returned vtkDataArray.
int OutputBuffer(char *p, int n)
Provide a character buffer in p of length n.
vtkTable * AssignRVariableToVTKTable(const char *RVariableName)
Copies the R matrix or R list in RVariableName to the returned vtkTable.
A table, which contains similar-typed columns of data.
A rooted tree data structure.