vtkUnsignedLongArray.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00039 #ifndef __vtkUnsignedLongArray_h
00040 #define __vtkUnsignedLongArray_h
00041
00042
00043 #if !defined(__vtkUnsignedLongArray_cxx)
00044 # define VTK_DATA_ARRAY_TEMPLATE_TYPE unsigned long
00045 #endif
00046
00047 #include "vtkDataArray.h"
00048 #include "vtkDataArrayTemplate.h"
00049
00050
00051 #define vtkDataArray vtkDataArrayTemplate<unsigned long>
00052 class VTK_COMMON_EXPORT vtkUnsignedLongArray : public vtkDataArray
00053 #undef vtkDataArray
00054 {
00055 public:
00056 static vtkUnsignedLongArray* New();
00057 vtkTypeRevisionMacro(vtkUnsignedLongArray,vtkDataArray);
00058 void PrintSelf(ostream& os, vtkIndent indent);
00059
00061
00062 int GetDataType()
00063 { return VTK_UNSIGNED_LONG; }
00065
00067
00068 unsigned long GetValue(vtkIdType id)
00069 { return this->RealSuperclass::GetValue(id); }
00071
00073
00075 void SetValue(vtkIdType id, unsigned long value)
00076 { this->RealSuperclass::SetValue(id, value); }
00078
00080
00083 void SetNumberOfValues(vtkIdType number)
00084 { this->RealSuperclass::SetNumberOfValues(number); }
00086
00088
00089 void InsertValue(vtkIdType id, unsigned long f)
00090 { this->RealSuperclass::InsertValue(id, f); }
00092
00094
00096 vtkIdType InsertNextValue(unsigned long f)
00097 { return this->RealSuperclass::InsertNextValue(f); }
00099
00101
00104 unsigned long* WritePointer(vtkIdType id, vtkIdType number)
00105 { return this->RealSuperclass::WritePointer(id, number); }
00107
00109
00111 unsigned long* GetPointer(vtkIdType id)
00112 { return this->RealSuperclass::GetPointer(id); }
00114
00116
00122 void SetArray(unsigned long* array, vtkIdType size, int save)
00123 { this->RealSuperclass::SetArray(array, size, save); }
00125
00126 protected:
00127 vtkUnsignedLongArray(vtkIdType numComp=1);
00128 ~vtkUnsignedLongArray();
00129
00130 private:
00131
00132 typedef vtkDataArrayTemplate<unsigned long> RealSuperclass;
00133
00134 vtkUnsignedLongArray(const vtkUnsignedLongArray&);
00135 void operator=(const vtkUnsignedLongArray&);
00136 };
00137
00138 #endif