VTKPatented - A Perl interface to VTKPatented library
use Graphics::VTK; use Graphics::VTK::Patented;
use Graphics::VTK;
use Graphics::VTK::Patented;
Graphics::VTK::Patented is an interface to the Patented libaray of the C++ visualization toolkit VTK..
Original PerlVTK Package: Roberto De Leo <rdl@math.umd.edu>
Additional Refinements: John Cerney <j-cerney1@raytheon.com>
Inherits from PolyDataToPolyDataFilter
Functions Supported for this class by the PerlVTK module: (To find more about their use check the VTK documentation at http://www.kitware.com.)
void BoundaryVertexDeletionOff (); void BoundaryVertexDeletionOn (); void GenerateErrorScalarsOff (); void GenerateErrorScalarsOn (); float GetAspectRatio (); float GetAspectRatioMaxValue (); float GetAspectRatioMinValue (); int GetBoundaryVertexDeletion (); const char *GetClassName (); int GetDegree (); int GetDegreeMaxValue (); int GetDegreeMinValue (); float GetErrorIncrement (); float GetErrorIncrementMaxValue (); float GetErrorIncrementMinValue (); float GetFeatureAngleIncrement (); float GetFeatureAngleIncrementMaxValue (); float GetFeatureAngleIncrementMinValue (); int GetGenerateErrorScalars (); float GetInitialError (); float GetInitialErrorMaxValue (); float GetInitialErrorMinValue (); float GetInitialFeatureAngle (); float GetInitialFeatureAngleMaxValue (); float GetInitialFeatureAngleMinValue (); float GetMaximumError (); float GetMaximumErrorMaxValue (); float GetMaximumErrorMinValue (); float GetMaximumFeatureAngle (); float GetMaximumFeatureAngleMaxValue (); float GetMaximumFeatureAngleMinValue (); int GetMaximumIterations (); int GetMaximumIterationsMaxValue (); int GetMaximumIterationsMinValue (); int GetMaximumNumberOfSquawks (); int GetMaximumNumberOfSquawksMaxValue (); int GetMaximumNumberOfSquawksMinValue (); int GetMaximumSubIterations (); int GetMaximumSubIterationsMaxValue (); int GetMaximumSubIterationsMinValue (); int GetPreserveEdges (); int GetPreserveTopology (); float GetTargetReduction (); float GetTargetReductionMaxValue (); float GetTargetReductionMinValue (); vtkDecimate *New (); void PreserveEdgesOff (); void PreserveEdgesOn (); void PreserveTopologyOff (); void PreserveTopologyOn (); void SetAspectRatio (float ); void SetBoundaryVertexDeletion (int ); void SetDegree (int ); void SetErrorIncrement (float ); void SetFeatureAngleIncrement (float ); void SetGenerateErrorScalars (int ); void SetInitialError (float ); void SetInitialFeatureAngle (float ); void SetMaximumError (float ); void SetMaximumFeatureAngle (float ); void SetMaximumIterations (int ); void SetMaximumNumberOfSquawks (int ); void SetMaximumSubIterations (int ); void SetPreserveEdges (int ); void SetPreserveTopology (int ); void SetTargetReduction (float );
vtkDecimate Unsupported Funcs:
Functions which are not supported supported for this class by the PerlVTK module.
int BuildLoop (long ptId, unsigned short nTris, long *tris); Don't know the size of pointer arg number 3 int CanSplitLoop (vtkLocalVertexPtr fedges[2], long numVerts, vtkLocalVertexPtr verts[], long &n1, vtkLocalVertexPtr l1[], long &n2, vtkLocalVertexPtr l2[], float &ar); Don't know the size of pointer arg number 4 void EvaluateLoop (int &vtype, long &numFEdges, vtkLocalVertexPtr fedges[]); Don't know the size of pointer arg number 2 void PrintSelf (ostream &os, vtkIndent indent); I/O Streams not Supported yet void SplitLoop (vtkLocalVertexPtr fedges[2], long numVerts, vtkLocalVertexPtr *verts, long &n1, vtkLocalVertexPtr *l1, long &n2, vtkLocalVertexPtr *l2); Don't know the size of pointer arg number 4
Inherits from StructuredPointsToPolyDataFilter
const char *GetClassName (); float GetDistance (); float GetDistanceMaxValue (); float GetDistanceMinValue (); int GetIncrement (); int GetIncrementMaxValue (); int GetIncrementMinValue (); float GetValue (); vtkDividingCubes *New (); void SetDistance (float ); void SetIncrement (int ); void SetValue (float );
vtkDividingCubes Unsupported Funcs:
void PrintSelf (ostream &os, vtkIndent indent); I/O Streams not Supported yet void SubDivide (float origin[3], int dim[3], float h[3], float values[8]); Don't know the size of pointer arg number 1
Inherits from StructuredGridToPolyDataFilter
void ComputeGradientsOff (); void ComputeGradientsOn (); void ComputeNormalsOff (); void ComputeNormalsOn (); void ComputeScalarsOff (); void ComputeScalarsOn (); void GenerateValues (int numContours, float rangeStart, float rangeEnd); const char *GetClassName (); int GetComputeGradients (); int GetComputeNormals (); int GetComputeScalars (); int *GetExecuteExtent (); (Returns a 6-element Perl list) unsigned long GetMTime (); int GetNumberOfContours (); int GetNumberOfThreads (); int GetNumberOfThreadsMaxValue (); int GetNumberOfThreadsMinValue (); float GetValue (int i); vtkGridSynchronizedTemplates3D *New (); void SetComputeGradients (int ); void SetComputeNormals (int ); void SetComputeScalars (int ); void SetInputMemoryLimit (long limit); void SetNumberOfContours (int number); void SetNumberOfThreads (int ); void SetValue (int i, float value);
vtkGridSynchronizedTemplates3D Unsupported Funcs:
void GenerateValues (int numContours, float range[2]); Don't know the size of pointer arg number 2 float *GetValues (); Can't Handle 'float *' return type without a hint void GetValues (float *contourValues); Don't know the size of pointer arg number 1 void InitializeOutput (int *ext, vtkPolyData *o); Don't know the size of pointer arg number 1 void PrintSelf (ostream &os, vtkIndent indent); I/O Streams not Supported yet void ThreadedExecute (int *exExt, int threadId); Don't know the size of pointer arg number 1
Inherits from PolyDataSource
void AddLocatorPoint (int cellX, int cellY, int edge, int ptId); void ComputeGradientsOff (); void ComputeGradientsOn (); void ComputeNormalsOff (); void ComputeNormalsOn (); void ComputeScalarsOff (); void ComputeScalarsOn (); void GenerateValues (int numContours, float rangeStart, float rangeEnd); const char *GetClassName (); int GetComputeGradients (); int GetComputeNormals (); int GetComputeScalars (); vtkImageData *GetInput (); int GetInputMemoryLimit (); int GetLocatorPoint (int cellX, int cellY, int edge); unsigned long GetMTime (); int GetNumberOfContours (); float GetValue (int i); void IncrementLocatorZ (); vtkImageMarchingCubes *New (); void SetComputeGradients (int ); void SetComputeNormals (int ); void SetComputeScalars (int ); void SetInput (vtkImageData *input); void SetInputMemoryLimit (int ); void SetNumberOfContours (int number); void SetValue (int i, float value); void Update ();
vtkImageMarchingCubes Unsupported Funcs:
void GenerateValues (int numContours, float range[2]); Don't know the size of pointer arg number 2 float *GetValues (); Can't Handle 'float *' return type without a hint void GetValues (float *contourValues); Don't know the size of pointer arg number 1 void March (vtkImageData *inData, int chunkMin, int chunkMax, int numContours, float *values); Don't know the size of pointer arg number 5 void PrintSelf (ostream &os, vtkIndent indent); I/O Streams not Supported yet
Inherits from ContourFilter
const char *GetClassName (); vtkKitwareContourFilter *New ();
Inherits from DataSetToPolyDataFilter
void ComputeGradientsOff (); void ComputeGradientsOn (); void ComputeNormalsOff (); void ComputeNormalsOn (); void ComputeScalarsOff (); void ComputeScalarsOn (); void CreateDefaultLocator (); void GenerateValues (int numContours, float rangeStart, float rangeEnd); const char *GetClassName (); int GetComputeGradients (); int GetComputeNormals (); int GetComputeScalars (); vtkPointLocator *GetLocator (); unsigned long GetMTime (); int GetNumberOfContours (); int GetUseScalarTree (); float GetValue (int i); vtkMarchingContourFilter *New (); void SetComputeGradients (int ); void SetComputeNormals (int ); void SetComputeScalars (int ); void SetLocator (vtkPointLocator *locator); void SetNumberOfContours (int number); void SetUseScalarTree (int ); void SetValue (int i, float value); void UseScalarTreeOff (); void UseScalarTreeOn ();
vtkMarchingContourFilter Unsupported Funcs:
void GenerateValues (int numContours, float range[2]); Don't know the size of pointer arg number 2 float *GetValues (); Can't Handle 'float *' return type without a hint void GetValues (float *contourValues); Don't know the size of pointer arg number 1 void PrintSelf (ostream &os, vtkIndent indent); I/O Streams not Supported yet
void ComputeGradientsOff (); void ComputeGradientsOn (); void ComputeNormalsOff (); void ComputeNormalsOn (); void ComputeScalarsOff (); void ComputeScalarsOn (); void CreateDefaultLocator (); void GenerateValues (int numContours, float rangeStart, float rangeEnd); const char *GetClassName (); int GetComputeGradients (); int GetComputeNormals (); int GetComputeScalars (); vtkPointLocator *GetLocator (); unsigned long GetMTime (); int GetNumberOfContours (); float GetValue (int i); vtkMarchingCubes *New (); void SetComputeGradients (int ); void SetComputeNormals (int ); void SetComputeScalars (int ); void SetLocator (vtkPointLocator *locator); void SetNumberOfContours (int number); void SetValue (int i, float value);
vtkMarchingCubes Unsupported Funcs:
void CreateDefaultLocator (); void GenerateValues (int numContours, float rangeStart, float rangeEnd); const char *GetClassName (); int *GetImageRange (); (Returns a 6-element Perl list) vtkImageData *GetInput (); vtkPointLocator *GetLocator (); unsigned long GetMTime (); int GetNumberOfContours (); float GetValue (int i); vtkMarchingSquares *New (); void SetImageRange (int imin, int imax, int jmin, int jmax, int kmin, int kmax); void SetInput (vtkImageData *input); void SetLocator (vtkPointLocator *locator); void SetNumberOfContours (int number); void SetValue (int i, float value);
vtkMarchingSquares Unsupported Funcs:
void GenerateValues (int numContours, float range[2]); Don't know the size of pointer arg number 2 float *GetValues (); Can't Handle 'float *' return type without a hint void GetValues (float *contourValues); Don't know the size of pointer arg number 1 void PrintSelf (ostream &os, vtkIndent indent); I/O Streams not Supported yet void SetImageRange (int [6]); Method is redundant. Same as SetImageRange( int, int, int, int, int, int)
Inherits from Object
const char *GetClassName (); char *GetFileName (); char *GetLimitsFileName (); vtkVolumeReader *GetReader (); float GetValue (); vtkSliceCubes *New (); void SetFileName (char *); void SetLimitsFileName (char *); void SetReader (vtkVolumeReader *); void SetValue (float ); void Update (); void Write ();
vtkSliceCubes Unsupported Funcs:
void PrintSelf (ostream &os, vtkIndent indent); I/O Streams not Supported yet
Inherits from StructuredPointsToStructuredPointsFilter
void AdjustBoundsOff (); void AdjustBoundsOn (); void CappingOff (); void CappingOn (); int GetAdjustBounds (); float GetAdjustDistance (); float GetAdjustDistanceMaxValue (); float GetAdjustDistanceMinValue (); int GetCapping (); const char *GetClassName (); float GetFillValue (); unsigned long GetMTime (); int GetMaximumNumberOfInterpolationSteps (); float *GetModelBounds (); (Returns a 6-element Perl list) int GetNumberOfInterpolationSteps (); int *GetSampleDimensions (); (Returns a 3-element Perl list) vtkTransformCollection *GetTransforms (); vtkSweptSurface *New (); void SetAdjustBounds (int ); void SetAdjustDistance (float ); void SetCapping (int ); void SetFillValue (float ); void SetMaximumNumberOfInterpolationSteps (int ); void SetModelBounds (float xmin, float xmax, float ymin, float ymax, float zmin, float zmax); void SetNumberOfInterpolationSteps (int ); void SetSampleDimensions (int , int , int ); void SetTransforms (vtkTransformCollection *);
vtkSweptSurface Unsupported Funcs:
void ComputeBounds (float origin[3], float ar[3], float bbox[24]); Don't know the size of pointer arg number 1 void ComputeFootprint (vtkMatrix4x4 *m, int inDim[3], float inOrigin[3], float inSpacing[3], int Indicies[6]); Don't know the size of pointer arg number 2 int ComputeNumberOfSteps (vtkTransform *t1, vtkTransform *t2, float bbox[24]); Don't know the size of pointer arg number 3 vtkMatrix4x4 *GetActorMatrixPointer (vtkTransform &t, float origin[3], float position[3], float orientation[3]); Don't know the size of pointer arg number 2 void GetRelativePosition (vtkTransform &t, float *origin, float *position); Don't know the size of pointer arg number 2 virtual void InterpolateStates (float *pos1, float *pos2, float *euler1, float *euler2, float t, float *posOut, float *eulerOut); Don't know the size of pointer arg number 1 void PrintSelf (ostream &os, vtkIndent indent); I/O Streams not Supported yet void SampleInput (vtkMatrix4x4 *m, int inDim[3], float inOrigin[3], float inAr[3], vtkDataArray *in, vtkDataArray *out); Don't know the size of pointer arg number 2 void SetModelBounds (float [6]); Method is redundant. Same as SetModelBounds( float, float, float, float, float, float) void SetSampleDimensions (int a[3]); Method is redundant. Same as SetSampleDimensions( int, int, int)
void ComputeScalarsOff (); void ComputeScalarsOn (); void GenerateValues (int numContours, float rangeStart, float rangeEnd); const char *GetClassName (); int GetComputeScalars (); vtkImageData *GetInput (); unsigned long GetMTime (); int GetNumberOfContours (); float GetValue (int i); vtkSynchronizedTemplates2D *New (); void SetComputeScalars (int ); void SetInput (vtkImageData *input); void SetNumberOfContours (int number); void SetValue (int i, float value);
vtkSynchronizedTemplates2D Unsupported Funcs:
void ComputeGradientsOff (); void ComputeGradientsOn (); void ComputeNormalsOff (); void ComputeNormalsOn (); void ComputeScalarsOff (); void ComputeScalarsOn (); void GenerateValues (int numContours, float rangeStart, float rangeEnd); const char *GetClassName (); int GetComputeGradients (); int GetComputeNormals (); int GetComputeScalars (); int *GetExecuteExtent (); (Returns a 6-element Perl list) vtkImageData *GetInput (); unsigned long GetInputMemoryLimit (); unsigned long GetMTime (); int GetNumberOfContours (); int GetNumberOfThreads (); int GetNumberOfThreadsMaxValue (); int GetNumberOfThreadsMinValue (); float GetValue (int i); vtkSynchronizedTemplates3D *New (); void SetComputeGradients (int ); void SetComputeNormals (int ); void SetComputeScalars (int ); void SetInput (vtkImageData *input); void SetInputMemoryLimit (unsigned long limit); void SetNumberOfContours (int number); void SetNumberOfThreads (int ); void SetValue (int i, float value);
vtkSynchronizedTemplates3D Unsupported Funcs:
void GenerateValues (int numContours, float range[2]); Don't know the size of pointer arg number 2 float *GetValues (); Can't Handle 'float *' return type without a hint void GetValues (float *contourValues); Don't know the size of pointer arg number 1 void InitializeOutput (int *ext, vtkPolyData *o); Don't know the size of pointer arg number 1 void PrintSelf (ostream &os, vtkIndent indent); I/O Streams not Supported yet void ThreadedExecute (vtkImageData *data, int *exExt, int threadId); Don't know the size of pointer arg number 2
To install Graphics::VTK, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Graphics::VTK
CPAN shell
perl -MCPAN -e shell install Graphics::VTK
For more information on module installation, please visit the detailed CPAN module installation guide.