VTK
vtkDoubleArray.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDoubleArray.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 =========================================================================*/
29 #ifndef vtkDoubleArray_h
30 #define vtkDoubleArray_h
31 
32 // Tell the template header how to give our superclass a DLL interface.
33 #if !defined(vtkDoubleArray_cxx)
34 # define VTK_DATA_ARRAY_TEMPLATE_TYPE double
35 #endif
36 
37 #include "vtkCommonCoreModule.h" // For export macro
38 #include "vtkDataArray.h"
39 #include "vtkDataArrayTemplate.h" // Real Superclass
40 
41 // Fake the superclass for the wrappers.
42 #ifndef __WRAP__
43 #define vtkDataArray vtkDataArrayTemplate<double>
44 #endif
46 #ifndef __WRAP__
47 #undef vtkDataArray
48 #endif
49 {
50 public:
51  static vtkDoubleArray* New();
53  void PrintSelf(ostream& os, vtkIndent indent);
54 
55  // This macro expands to the set of method declarations that
56  // make up the interface of vtkDataArrayTemplate, which is ignored
57  // by the wrappers.
58 #if defined(__WRAP__) || defined (__WRAP_GCCXML__)
60 #endif
61 
63  static double GetDataTypeValueMin() { return VTK_DOUBLE_MIN; }
64 
66  static double GetDataTypeValueMax() { return VTK_DOUBLE_MAX; }
67 
68 protected:
70  ~vtkDoubleArray();
71 
72 private:
73  //BTX
74  typedef vtkDataArrayTemplate<double> RealSuperclass;
75  //ETX
76  vtkDoubleArray(const vtkDoubleArray&); // Not implemented.
77  void operator=(const vtkDoubleArray&); // Not implemented.
78 };
79 
80 #endif
Implementation template for vtkDataArray.
#define VTK_DOUBLE_MAX
Definition: vtkType.h:142
#define VTKCOMMONCORE_EXPORT
dynamic, self-adjusting array of double
static double GetDataTypeValueMin()
static double GetDataTypeValueMax()
#define vtkCreateWrappedArrayInterface(T)
a simple class to control print indentation
Definition: vtkIndent.h:38
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
#define VTK_DOUBLE_MIN
Definition: vtkType.h:141
void PrintSelf(ostream &os, vtkIndent indent)
static vtkObject * New()