VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkUnsigned__Int64Array.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkUnsigned__Int64Array.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 =========================================================================*/
23 #ifndef __vtkUnsigned__Int64Array_h
24 #define __vtkUnsigned__Int64Array_h
25 
26 // Tell the template header how to give our superclass a DLL interface.
27 #if !defined(__vtkUnsigned__Int64Array_cxx)
28 # define VTK_DATA_ARRAY_TEMPLATE_TYPE unsigned __int64
29 #endif
30 
31 #include "vtkCommonCoreModule.h" // For export macro
32 #include "vtkDataArray.h"
33 #include "vtkDataArrayTemplate.h" // Real Superclass
34 
35 // Fake the superclass for the wrappers.
36 #define vtkDataArray vtkDataArrayTemplate<unsigned __int64>
37 class VTKCOMMONCORE_EXPORT vtkUnsigned__Int64Array : public vtkDataArray
38 #undef vtkDataArray
39 {
40 public:
41  static vtkUnsigned__Int64Array* New();
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
46 
48  { return VTK_UNSIGNED___INT64; }
50 
52 
53  void GetTupleValue(vtkIdType i, unsigned __int64* tuple)
54  { this->RealSuperclass::GetTupleValue(i, tuple); }
56 
58 
59  void SetTupleValue(vtkIdType i, const unsigned __int64* tuple)
60  { this->RealSuperclass::SetTupleValue(i, tuple); }
62 
64 
66  void InsertTupleValue(vtkIdType i, const unsigned __int64* tuple)
67  { this->RealSuperclass::InsertTupleValue(i, tuple); }
69 
71 
73  vtkIdType InsertNextTupleValue(const unsigned __int64* tuple)
74  { return this->RealSuperclass::InsertNextTupleValue(tuple); }
76 
78 
79  unsigned __int64 GetValue(vtkIdType id)
80  { return this->RealSuperclass::GetValue(id); }
82 
84 
86  void SetValue(vtkIdType id, unsigned __int64 value)
87  { this->RealSuperclass::SetValue(id, value); }
89 
91 
95  { this->RealSuperclass::SetNumberOfValues(number); }
97 
99 
100  void InsertValue(vtkIdType id, unsigned __int64 f)
101  { this->RealSuperclass::InsertValue(id, f); }
103 
105 
107  vtkIdType InsertNextValue(unsigned __int64 f)
108  { return this->RealSuperclass::InsertNextValue(f); }
110 
112 
114  unsigned __int64 *GetValueRange(int comp)
115  { return this->RealSuperclass::GetValueRange(comp); }
116 //BTX
117  void GetValueRange(unsigned __int64 range[2], int comp)
118  { this->RealSuperclass::GetValueRange(range, comp); }
119 //ETX
121 
123 
125  unsigned __int64 *GetValueRange()
126  { return this->RealSuperclass::GetValueRange(0); }
127 //BTX
128  void GetValueRange(unsigned __int64 range[2])
129  { this->RealSuperclass::GetValueRange(range, 0); }
130 //ETX
132 
134  static unsigned __int64 GetDataTypeValueMin() { return VTK_UNSIGNED___INT64_MIN; }
135 
137  static unsigned __int64 GetDataTypeValueMax() { return VTK_UNSIGNED___INT64_MAX; }
138 
140 
143  unsigned __int64* WritePointer(vtkIdType id, vtkIdType number)
144  { return this->RealSuperclass::WritePointer(id, number); }
146 
148 
150  unsigned __int64* GetPointer(vtkIdType id)
151  { return this->RealSuperclass::GetPointer(id); }
153 
155 
161  void SetArray(unsigned __int64* array, vtkIdType size, int save)
162  { this->RealSuperclass::SetArray(array, size, save); }
163  void SetArray(unsigned __int64* array, vtkIdType size, int save, int deleteMethod)
164  { this->RealSuperclass::SetArray(array, size, save, deleteMethod); }
166 
167 protected:
170 
171 private:
172  //BTX
173  typedef vtkDataArrayTemplate<unsigned __int64> RealSuperclass;
174  //ETX
175  vtkUnsigned__Int64Array(const vtkUnsigned__Int64Array&); // Not implemented.
176  void operator=(const vtkUnsigned__Int64Array&); // Not implemented.
177 };
178 
179 #endif
unsigned __int64 * GetPointer(vtkIdType id)
dynamic, self-adjusting array of unsigned __int64
Implementation template for vtkDataArray.
static unsigned __int64 GetDataTypeValueMin()
void SetArray(unsigned __int64 *array, vtkIdType size, int save)
void GetTupleValue(vtkIdType i, unsigned __int64 *tuple)
void InsertValue(vtkIdType id, unsigned __int64 f)
int vtkIdType
Definition: vtkType.h:268
void SetNumberOfValues(vtkIdType number)
#define VTK_UNSIGNED___INT64
Definition: vtkType.h:53
void GetValueRange(unsigned __int64 range[2], int comp)
vtkIdType InsertNextTupleValue(const unsigned __int64 *tuple)
static unsigned __int64 GetDataTypeValueMax()
unsigned __int64 * GetValueRange(int comp)
a simple class to control print indentation
Definition: vtkIndent.h:38
unsigned __int64 GetValue(vtkIdType id)
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:53
unsigned __int64 * GetValueRange()
void GetValueRange(unsigned __int64 range[2])
void SetValue(vtkIdType id, unsigned __int64 value)
void PrintSelf(ostream &os, vtkIndent indent)
unsigned __int64 * WritePointer(vtkIdType id, vtkIdType number)
static vtkObject * New()
void InsertTupleValue(vtkIdType i, const unsigned __int64 *tuple)
void SetArray(unsigned __int64 *array, vtkIdType size, int save, int deleteMethod)
vtkIdType InsertNextValue(unsigned __int64 f)
void SetTupleValue(vtkIdType i, const unsigned __int64 *tuple)