VTK
vtk__Int64Array.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtk__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 __vtk__Int64Array_h
24 #define __vtk__Int64Array_h
25 
26 // Tell the template header how to give our superclass a DLL interface.
27 #if !defined(__vtk__Int64Array_cxx)
28 # define VTK_DATA_ARRAY_TEMPLATE_TYPE __int64
29 #endif
30 
31 #include "vtkDataArray.h"
32 #include "vtkDataArrayTemplate.h" // Real Superclass
33 
34 // Fake the superclass for the wrappers.
35 #define vtkDataArray vtkDataArrayTemplate<__int64>
37 #undef vtkDataArray
38 {
39 public:
40  static vtk__Int64Array* New();
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
47  { return VTK___INT64; }
49 
51 
52  void GetTupleValue(vtkIdType i, __int64* tuple)
53  { this->RealSuperclass::GetTupleValue(i, tuple); }
55 
57 
58  void SetTupleValue(vtkIdType i, const __int64* tuple)
59  { this->RealSuperclass::SetTupleValue(i, tuple); }
61 
63 
65  void InsertTupleValue(vtkIdType i, const __int64* tuple)
66  { this->RealSuperclass::InsertTupleValue(i, tuple); }
68 
70 
72  vtkIdType InsertNextTupleValue(const __int64* tuple)
73  { return this->RealSuperclass::InsertNextTupleValue(tuple); }
75 
77 
78  __int64 GetValue(vtkIdType id)
79  { return this->RealSuperclass::GetValue(id); }
81 
83 
85  void SetValue(vtkIdType id, __int64 value)
86  { this->RealSuperclass::SetValue(id, value); }
88 
90 
94  { this->RealSuperclass::SetNumberOfValues(number); }
96 
98 
99  void InsertValue(vtkIdType id, __int64 f)
100  { this->RealSuperclass::InsertValue(id, f); }
102 
104 
107  { return this->RealSuperclass::InsertNextValue(f); }
109 
111 
113  __int64 *GetValueRange(int comp)
114  { return this->RealSuperclass::GetValueRange(comp); }
115 //BTX
116  void GetValueRange(__int64 range[2], int comp)
117  { this->RealSuperclass::GetValueRange(range, comp); }
118 //ETX
120 
122 
124  __int64 *GetValueRange()
125  { return this->RealSuperclass::GetValueRange(0); }
126 //BTX
127  void GetValueRange(__int64 range[2])
128  { this->RealSuperclass::GetValueRange(range, 0); }
129 //ETX
131 
133  static __int64 GetDataTypeValueMin() { return VTK___INT64_MIN; }
134 
136  static __int64 GetDataTypeValueMax() { return VTK___INT64_MAX; }
137 
139 
142  __int64* WritePointer(vtkIdType id, vtkIdType number)
143  { return this->RealSuperclass::WritePointer(id, number); }
145 
147 
149  __int64* GetPointer(vtkIdType id)
150  { return this->RealSuperclass::GetPointer(id); }
152 
154 
160  void SetArray(__int64* array, vtkIdType size, int save)
161  { this->RealSuperclass::SetArray(array, size, save); }
162  void SetArray(__int64* array, vtkIdType size, int save, int deleteMethod)
163  { this->RealSuperclass::SetArray(array, size, save, deleteMethod); }
165 
166 protected:
167  vtk__Int64Array(vtkIdType numComp=1);
168  ~vtk__Int64Array();
169 
170 private:
171  //BTX
172  typedef vtkDataArrayTemplate<__int64> RealSuperclass;
173  //ETX
174  vtk__Int64Array(const vtk__Int64Array&); // Not implemented.
175  void operator=(const vtk__Int64Array&); // Not implemented.
176 };
177 
178 #endif
Implementation template for vtkDataArray.
__int64 GetValue(vtkIdType id)
__int64 * WritePointer(vtkIdType id, vtkIdType number)
static __int64 GetDataTypeValueMin()
void InsertTupleValue(vtkIdType i, const __int64 *tuple)
static __int64 GetDataTypeValueMax()
int vtkIdType
Definition: vtkType.h:255
void SetTupleValue(vtkIdType i, const __int64 *tuple)
void SetNumberOfValues(vtkIdType number)
void SetArray(__int64 *array, vtkIdType size, int save, int deleteMethod)
a simple class to control print indentation
Definition: vtkIndent.h:37
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:53
#define VTK_COMMON_EXPORT
vtkIdType InsertNextValue(__int64 f)
void GetValueRange(__int64 range[2])
void GetValueRange(__int64 range[2], int comp)
void SetValue(vtkIdType id, __int64 value)
__int64 * GetPointer(vtkIdType id)
void SetArray(__int64 *array, vtkIdType size, int save)
dynamic, self-adjusting array of __int64
void save(Archiver &ar, const vtkVariant &variant, const unsigned int vtkNotUsed(version))
void PrintSelf(ostream &os, vtkIndent indent)
void GetTupleValue(vtkIdType i, __int64 *tuple)
__int64 * GetValueRange()
static vtkObject * New()
__int64 * GetValueRange(int comp)
vtkIdType InsertNextTupleValue(const __int64 *tuple)
#define VTK___INT64
Definition: vtkType.h:49
void InsertValue(vtkIdType id, __int64 f)