VTK  9.1.0
vtkOTUtilities.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkOTUtilities.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
21#ifndef vtkOTUtilities_h
22#define vtkOTUtilities_h
23
24namespace OT
25{
26class Sample;
27}
28
29class vtkDataArray;
31class vtkPoints;
32
34{
35public:
47
54 static OT::Sample* ArrayToSample(vtkDataArray* arr);
55
62 static vtkDataArray* SampleToArray(OT::Sample* ns);
63};
64
65#endif
66// VTK-HeaderTest-Exclude: vtkOTUtilities.h
maintain an ordered list of dataarray objects
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:159
static OT::Sample * SingleDimArraysToSample(vtkDataArrayCollection *arrays)
Methods to convert a collection of uni-dimensional data array into a single Sample The number of arra...
static vtkDataArray * SampleToArray(OT::Sample *ns)
Methods to convert a Sample into a multi-component array.
static OT::Sample * ArrayToSample(vtkDataArray *arr)
Methods to convert a multi-component array into a Sample.
represent and manipulate 3D points
Definition: vtkPoints.h:143
Set of utilities for OpenTURNS<->VTK conversions.
Definition: vtkOTFilter.h:33