VTK  9.4.20241226
vtkOTUtilities.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
9#ifndef vtkOTUtilities_h
10#define vtkOTUtilities_h
11
12#include "vtkABINamespace.h"
13
14namespace OT
15{
16class Sample;
17}
18
19VTK_ABI_NAMESPACE_BEGIN
20
21class vtkDataArray;
23class vtkPoints;
24
26{
27public:
39
46 static OT::Sample* ArrayToSample(vtkDataArray* arr);
47
54 static vtkDataArray* SampleToArray(OT::Sample* ns);
55};
56
57VTK_ABI_NAMESPACE_END
58#endif
59// VTK-HeaderTest-Exclude: vtkOTUtilities.h
maintain an ordered list of dataarray objects
abstract superclass for arrays of numeric data
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:139
Set of utilities for OpenTURNS<->VTK conversions.
Definition vtkOTFilter.h:21