VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkUnsigned__Int64Array.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00023 #ifndef __vtkUnsigned__Int64Array_h 00024 #define __vtkUnsigned__Int64Array_h 00025 00026 // Tell the template header how to give our superclass a DLL interface. 00027 #if !defined(__vtkUnsigned__Int64Array_cxx) 00028 # define VTK_DATA_ARRAY_TEMPLATE_TYPE unsigned __int64 00029 #endif 00030 00031 #include "vtkCommonCoreModule.h" // For export macro 00032 #include "vtkDataArray.h" 00033 #include "vtkDataArrayTemplate.h" // Real Superclass 00034 00035 // Fake the superclass for the wrappers. 00036 #define vtkDataArray vtkDataArrayTemplate<unsigned __int64> 00037 class VTKCOMMONCORE_EXPORT vtkUnsigned__Int64Array : public vtkDataArray 00038 #undef vtkDataArray 00039 { 00040 public: 00041 static vtkUnsigned__Int64Array* New(); 00042 vtkTypeMacro(vtkUnsigned__Int64Array,vtkDataArray); 00043 void PrintSelf(ostream& os, vtkIndent indent); 00044 00046 00047 int GetDataType() 00048 { return VTK_UNSIGNED___INT64; } 00050 00052 00053 void GetTupleValue(vtkIdType i, unsigned __int64* tuple) 00054 { this->RealSuperclass::GetTupleValue(i, tuple); } 00056 00058 00059 void SetTupleValue(vtkIdType i, const unsigned __int64* tuple) 00060 { this->RealSuperclass::SetTupleValue(i, tuple); } 00062 00064 00066 void InsertTupleValue(vtkIdType i, const unsigned __int64* tuple) 00067 { this->RealSuperclass::InsertTupleValue(i, tuple); } 00069 00071 00073 vtkIdType InsertNextTupleValue(const unsigned __int64* tuple) 00074 { return this->RealSuperclass::InsertNextTupleValue(tuple); } 00076 00078 00079 unsigned __int64 GetValue(vtkIdType id) 00080 { return this->RealSuperclass::GetValue(id); } 00082 00084 00086 void SetValue(vtkIdType id, unsigned __int64 value) 00087 { this->RealSuperclass::SetValue(id, value); } 00089 00091 00094 void SetNumberOfValues(vtkIdType number) 00095 { this->RealSuperclass::SetNumberOfValues(number); } 00097 00099 00100 void InsertValue(vtkIdType id, unsigned __int64 f) 00101 { this->RealSuperclass::InsertValue(id, f); } 00103 00105 00107 vtkIdType InsertNextValue(unsigned __int64 f) 00108 { return this->RealSuperclass::InsertNextValue(f); } 00110 00112 00114 unsigned __int64 *GetValueRange(int comp) 00115 { return this->RealSuperclass::GetValueRange(comp); } 00116 //BTX 00117 void GetValueRange(unsigned __int64 range[2], int comp) 00118 { this->RealSuperclass::GetValueRange(range, comp); } 00119 //ETX 00121 00123 00125 unsigned __int64 *GetValueRange() 00126 { return this->RealSuperclass::GetValueRange(0); } 00127 //BTX 00128 void GetValueRange(unsigned __int64 range[2]) 00129 { this->RealSuperclass::GetValueRange(range, 0); } 00130 //ETX 00132 00134 static unsigned __int64 GetDataTypeValueMin() { return VTK_UNSIGNED___INT64_MIN; } 00135 00137 static unsigned __int64 GetDataTypeValueMax() { return VTK_UNSIGNED___INT64_MAX; } 00138 00140 00143 unsigned __int64* WritePointer(vtkIdType id, vtkIdType number) 00144 { return this->RealSuperclass::WritePointer(id, number); } 00146 00148 00150 unsigned __int64* GetPointer(vtkIdType id) 00151 { return this->RealSuperclass::GetPointer(id); } 00153 00155 00161 void SetArray(unsigned __int64* array, vtkIdType size, int save) 00162 { this->RealSuperclass::SetArray(array, size, save); } 00163 void SetArray(unsigned __int64* array, vtkIdType size, int save, int deleteMethod) 00164 { this->RealSuperclass::SetArray(array, size, save, deleteMethod); } 00166 00167 protected: 00168 vtkUnsigned__Int64Array(vtkIdType numComp=1); 00169 ~vtkUnsigned__Int64Array(); 00170 00171 private: 00172 //BTX 00173 typedef vtkDataArrayTemplate<unsigned __int64> RealSuperclass; 00174 //ETX 00175 vtkUnsigned__Int64Array(const vtkUnsigned__Int64Array&); // Not implemented. 00176 void operator=(const vtkUnsigned__Int64Array&); // Not implemented. 00177 }; 00178 00179 #endif