VTK
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 
24 namespace OT
25 {
26 class Sample;
27 }
28 
29 class vtkDataArray;
31 class vtkPoints;
32 
34 {
35 public:
46  static OT::Sample* SingleDimArraysToSample(vtkDataArrayCollection* arrays);
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
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
maintain an ordered list of dataarray objects
Set of utilities for OpenTURNS<->VTK conversions.
Definition: vtkOTFilter.h:32
represent and manipulate 3D points
Definition: vtkPoints.h:39