52#ifndef vtkMatlabMexAdapter_h
53#define vtkMatlabMexAdapter_h
58#include "vtkFiltersMatlabModule.h"
134 template<
typename T>
vtkArray* CopymxArrayToVTKArray(mxArray* mxa,
int ValueType);
Pipeline data object that contains multiple vtkArray objects.
Abstract interface for N-dimensional arrays.
maintain an unordered list of dataarray objects
abstract superclass for arrays of numeric data
maintain an unordered list of data objects
Base class for graph data types.
a simple class to control print indentation
This is a utility class to convert VTK array data to and from the Matlab mxArray format.
static vtkDataArray * GetVTKDataType(mxClassID cid)
Match Matlab and VTK data types for conversion.
vtkGraph * mxArrayTovtkGraph(mxArray *mxa)
Create a vtkGraph copy of a mxArray (Allocates memory by default) Input mxArray should be a n by n co...
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
mxArray * vtkDataArrayToMxArray(vtkDataArray *aa, bool ShallowCopy=false)
Create a mxArray copy of a vtkDataArray (Allocates memory by default)
mxArray * vtkArrayToMxArray(vtkArray *va)
Create a mxArray copy of a vtkArray (Allocates memory by default)
mxArray * vtkGraphToMxArray(vtkGraph *ga)
Create a mxArray copy of a vtkGraph (Allocates memory by default) The result is an n by n connectivit...
static mxClassID GetMatlabDataType(vtkDataArray *da)
Match Matlab and VTK data types for conversion.
static vtkMatlabMexAdapter * New()
vtkDataArray * mxArrayTovtkDataArray(const mxArray *mxa, bool ShallowCopy=false)
Create a vtkDataArray copy of a Matlab mxArray (Allocates memory by default)
vtkArray * mxArrayTovtkArray(mxArray *mxa)
Create a vtkArray copy of a mxArray (Allocates memory by default)
abstract base class for most VTK objects