// python wrapper for vtkUnsignedLongLongArray // #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include "vtkPythonArgs.h" #include "vtkPythonOverload.h" #include "vtkConfigure.h" #include #include #include "vtkVariant.h" #include "vtkIndent.h" #include "vtkUnsignedLongLongArray.h" extern "C" { VTK_ABI_EXPORT void PyVTKAddFile_vtkUnsignedLongLongArray(PyObject *); } extern "C" { VTK_ABI_EXPORT PyObject *PyvtkUnsignedLongLongArray_ClassNew(); } #ifndef DECLARED_PyvtkDataArray_ClassNew extern "C" { PyObject *PyvtkDataArray_ClassNew(); } #define DECLARED_PyvtkDataArray_ClassNew #endif static const char *PyvtkUnsignedLongLongArray_Doc = "vtkUnsignedLongLongArray - dynamic, self-adjusting array of unsigned\nlong long\n\n" "Superclass: vtkDataArray\n\n" "vtkUnsignedLongLongArray is an array of values of type unsigned long\n" "long. It provides methods for insertion and retrieval of values and\n" "will automatically resize itself to hold new data.\n\n" "This class should not be used directly, as it only exists on systems\n" "where the unsigned long long type is defined. If you need an\n" "unsigned 64 bit integer data array, use vtkTypeUInt64Array instead.\n\n"; static PyObject * PyvtkUnsignedLongLongArray_IsTypeOf(PyObject *, PyObject *args) { vtkPythonArgs ap(args, "IsTypeOf"); char *temp0 = nullptr; PyObject *result = nullptr; if (ap.CheckArgCount(1) && ap.GetValue(temp0)) { int tempr = vtkUnsignedLongLongArray::IsTypeOf(temp0); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkUnsignedLongLongArray_IsA(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "IsA"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkUnsignedLongLongArray *op = static_cast(vp); char *temp0 = nullptr; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { int tempr = (ap.IsBound() ? op->IsA(temp0) : op->vtkUnsignedLongLongArray::IsA(temp0)); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkUnsignedLongLongArray_SafeDownCast(PyObject *, PyObject *args) { vtkPythonArgs ap(args, "SafeDownCast"); vtkObjectBase *temp0 = nullptr; PyObject *result = nullptr; if (ap.CheckArgCount(1) && ap.GetVTKObject(temp0, "vtkObjectBase")) { vtkUnsignedLongLongArray *tempr = vtkUnsignedLongLongArray::SafeDownCast(temp0); if (!ap.ErrorOccurred()) { result = ap.BuildVTKObject(tempr); } } return result; } static PyObject * PyvtkUnsignedLongLongArray_NewInstance(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "NewInstance"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkUnsignedLongLongArray *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { vtkUnsignedLongLongArray *tempr = (ap.IsBound() ? op->NewInstance() : op->vtkUnsignedLongLongArray::NewInstance()); if (!ap.ErrorOccurred()) { result = ap.BuildVTKObject(tempr); if (result && PyVTKObject_Check(result)) { PyVTKObject_GetObject(result)->UnRegister(0); PyVTKObject_SetFlag(result, VTK_PYTHON_IGNORE_UNREGISTER, 1); } } } return result; } static PyObject * PyvtkUnsignedLongLongArray_GetDataType(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetDataType"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkUnsignedLongLongArray *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { int tempr = (ap.IsBound() ? op->GetDataType() : op->vtkUnsignedLongLongArray::GetDataType()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkUnsignedLongLongArray_GetTypedTuple(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetTypedTuple"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkUnsignedLongLongArray *op = static_cast(vp); vtkIdType temp0; int size1 = ap.GetArgSize(1); vtkPythonArgs::Array store1(2*size1); unsigned long long *temp1 = store1.Data(); unsigned long long *save1 = (size1 == 0 ? nullptr : temp1 + size1); PyObject *result = nullptr; if (op && ap.CheckArgCount(2) && ap.GetValue(temp0) && ap.GetArray(temp1, size1) && ap.CheckSizeHint(1, size1, op->GetNumberOfComponents()) && ap.CheckPrecond((0 <= temp0 && temp0 < op->GetNumberOfTuples()), "0 <= i && i < GetNumberOfTuples()")) { ap.SaveArray(temp1, save1, size1); if (ap.IsBound()) { op->GetTypedTuple(temp0, temp1); } else { op->vtkUnsignedLongLongArray::GetTypedTuple(temp0, temp1); } if (ap.ArrayHasChanged(temp1, save1, size1) && !ap.ErrorOccurred()) { ap.SetArray(1, temp1, size1); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkUnsignedLongLongArray_SetTypedTuple(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetTypedTuple"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkUnsignedLongLongArray *op = static_cast(vp); vtkIdType temp0; int size1 = ap.GetArgSize(1); vtkPythonArgs::Array store1(size1); unsigned long long *temp1 = store1.Data(); PyObject *result = nullptr; if (op && ap.CheckArgCount(2) && ap.GetValue(temp0) && ap.GetArray(temp1, size1) && ap.CheckSizeHint(1, size1, op->GetNumberOfComponents()) && ap.CheckPrecond((0 <= temp0 && temp0 < op->GetNumberOfTuples()), "0 <= i && i < GetNumberOfTuples()")) { if (ap.IsBound()) { op->SetTypedTuple(temp0, temp1); } else { op->vtkUnsignedLongLongArray::SetTypedTuple(temp0, temp1); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkUnsignedLongLongArray_InsertTypedTuple(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "InsertTypedTuple"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkUnsignedLongLongArray *op = static_cast(vp); vtkIdType temp0; int size1 = ap.GetArgSize(1); vtkPythonArgs::Array store1(size1); unsigned long long *temp1 = store1.Data(); PyObject *result = nullptr; if (op && ap.CheckArgCount(2) && ap.GetValue(temp0) && ap.GetArray(temp1, size1) && ap.CheckSizeHint(1, size1, op->GetNumberOfComponents()) && ap.CheckPrecond((0 <= temp0), "0 <= i")) { if (ap.IsBound()) { op->InsertTypedTuple(temp0, temp1); } else { op->vtkUnsignedLongLongArray::InsertTypedTuple(temp0, temp1); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkUnsignedLongLongArray_InsertNextTypedTuple(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "InsertNextTypedTuple"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkUnsignedLongLongArray *op = static_cast(vp); int size0 = ap.GetArgSize(0); vtkPythonArgs::Array store0(size0); unsigned long long *temp0 = store0.Data(); PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetArray(temp0, size0) && ap.CheckSizeHint(0, size0, op->GetNumberOfComponents())) { vtkIdType tempr = (ap.IsBound() ? op->InsertNextTypedTuple(temp0) : op->vtkUnsignedLongLongArray::InsertNextTypedTuple(temp0)); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkUnsignedLongLongArray_GetValue(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetValue"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkUnsignedLongLongArray *op = static_cast(vp); vtkIdType temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0) && ap.CheckPrecond((0 <= temp0 && temp0 < op->GetNumberOfValues()), "0 <= id && id < GetNumberOfValues()")) { unsigned long long tempr = (ap.IsBound() ? op->GetValue(temp0) : op->vtkUnsignedLongLongArray::GetValue(temp0)); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkUnsignedLongLongArray_SetValue(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetValue"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkUnsignedLongLongArray *op = static_cast(vp); vtkIdType temp0; unsigned long long temp1; PyObject *result = nullptr; if (op && ap.CheckArgCount(2) && ap.GetValue(temp0) && ap.GetValue(temp1) && ap.CheckPrecond((0 <= temp0 && temp0 < op->GetNumberOfValues()), "0 <= id && id < GetNumberOfValues()")) { if (ap.IsBound()) { op->SetValue(temp0, temp1); } else { op->vtkUnsignedLongLongArray::SetValue(temp0, temp1); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkUnsignedLongLongArray_SetNumberOfValues(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetNumberOfValues"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkUnsignedLongLongArray *op = static_cast(vp); vtkIdType temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetNumberOfValues(temp0); } else { op->vtkUnsignedLongLongArray::SetNumberOfValues(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkUnsignedLongLongArray_InsertValue(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "InsertValue"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkUnsignedLongLongArray *op = static_cast(vp); vtkIdType temp0; unsigned long long temp1; PyObject *result = nullptr; if (op && ap.CheckArgCount(2) && ap.GetValue(temp0) && ap.GetValue(temp1) && ap.CheckPrecond((0 <= temp0), "0 <= id")) { if (ap.IsBound()) { op->InsertValue(temp0, temp1); } else { op->vtkUnsignedLongLongArray::InsertValue(temp0, temp1); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkUnsignedLongLongArray_InsertNextValue(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "InsertNextValue"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkUnsignedLongLongArray *op = static_cast(vp); unsigned long long temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { vtkIdType tempr = (ap.IsBound() ? op->InsertNextValue(temp0) : op->vtkUnsignedLongLongArray::InsertNextValue(temp0)); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkUnsignedLongLongArray_GetValueRange_s1(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetValueRange"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkUnsignedLongLongArray *op = static_cast(vp); int temp0; int sizer = 2; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { unsigned long long *tempr = (ap.IsBound() ? op->GetValueRange(temp0) : op->vtkUnsignedLongLongArray::GetValueRange(temp0)); if (!ap.ErrorOccurred()) { result = ap.BuildTuple(tempr, sizer); } } return result; } static PyObject * PyvtkUnsignedLongLongArray_GetValueRange_s2(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetValueRange"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkUnsignedLongLongArray *op = static_cast(vp); int sizer = 2; PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { unsigned long long *tempr = (ap.IsBound() ? op->GetValueRange() : op->vtkUnsignedLongLongArray::GetValueRange()); if (!ap.ErrorOccurred()) { result = ap.BuildTuple(tempr, sizer); } } return result; } static PyObject * PyvtkUnsignedLongLongArray_GetValueRange(PyObject *self, PyObject *args) { int nargs = vtkPythonArgs::GetArgCount(self, args); switch(nargs) { case 1: return PyvtkUnsignedLongLongArray_GetValueRange_s1(self, args); case 0: return PyvtkUnsignedLongLongArray_GetValueRange_s2(self, args); } vtkPythonArgs::ArgCountError(nargs, "GetValueRange"); return nullptr; } static PyObject * PyvtkUnsignedLongLongArray_WritePointer(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "WritePointer"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkUnsignedLongLongArray *op = static_cast(vp); vtkIdType temp0; vtkIdType temp1; PyObject *result = nullptr; if (op && ap.CheckArgCount(2) && ap.GetValue(temp0) && ap.GetValue(temp1)) { unsigned long long *tempr = (ap.IsBound() ? op->WritePointer(temp0, temp1) : op->vtkUnsignedLongLongArray::WritePointer(temp0, temp1)); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkUnsignedLongLongArray_GetPointer(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetPointer"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkUnsignedLongLongArray *op = static_cast(vp); vtkIdType temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { unsigned long long *tempr = (ap.IsBound() ? op->GetPointer(temp0) : op->vtkUnsignedLongLongArray::GetPointer(temp0)); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkUnsignedLongLongArray_SetArray_s1(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetArray"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkUnsignedLongLongArray *op = static_cast(vp); unsigned long long *temp0; Py_buffer pbuf0 = VTK_PYBUFFER_INITIALIZER; vtkIdType temp1; int temp2; PyObject *result = nullptr; if (op && ap.CheckArgCount(3) && ap.GetBuffer(temp0, &pbuf0) && ap.GetValue(temp1) && ap.GetValue(temp2)) { if (ap.IsBound()) { op->SetArray(temp0, temp1, temp2); } else { op->vtkUnsignedLongLongArray::SetArray(temp0, temp1, temp2); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } #if PY_VERSION_HEX >= 0x02060000 if (pbuf0.obj != 0) { PyBuffer_Release(&pbuf0); } #endif return result; } static PyObject * PyvtkUnsignedLongLongArray_SetArray_s2(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetArray"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkUnsignedLongLongArray *op = static_cast(vp); unsigned long long *temp0; Py_buffer pbuf0 = VTK_PYBUFFER_INITIALIZER; vtkIdType temp1; int temp2; int temp3; PyObject *result = nullptr; if (op && ap.CheckArgCount(4) && ap.GetBuffer(temp0, &pbuf0) && ap.GetValue(temp1) && ap.GetValue(temp2) && ap.GetValue(temp3)) { if (ap.IsBound()) { op->SetArray(temp0, temp1, temp2, temp3); } else { op->vtkUnsignedLongLongArray::SetArray(temp0, temp1, temp2, temp3); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } #if PY_VERSION_HEX >= 0x02060000 if (pbuf0.obj != 0) { PyBuffer_Release(&pbuf0); } #endif return result; } static PyObject * PyvtkUnsignedLongLongArray_SetArray(PyObject *self, PyObject *args) { int nargs = vtkPythonArgs::GetArgCount(self, args); switch(nargs) { case 3: return PyvtkUnsignedLongLongArray_SetArray_s1(self, args); case 4: return PyvtkUnsignedLongLongArray_SetArray_s2(self, args); } vtkPythonArgs::ArgCountError(nargs, "SetArray"); return nullptr; } static PyObject * PyvtkUnsignedLongLongArray_FastDownCast(PyObject *, PyObject *args) { vtkPythonArgs ap(args, "FastDownCast"); vtkAbstractArray *temp0 = nullptr; PyObject *result = nullptr; if (ap.CheckArgCount(1) && ap.GetVTKObject(temp0, "vtkAbstractArray")) { vtkUnsignedLongLongArray *tempr = vtkUnsignedLongLongArray::FastDownCast(temp0); if (!ap.ErrorOccurred()) { result = ap.BuildVTKObject(tempr); } } return result; } static PyObject * PyvtkUnsignedLongLongArray_GetDataTypeValueMin(PyObject *, PyObject *args) { vtkPythonArgs ap(args, "GetDataTypeValueMin"); PyObject *result = nullptr; if (ap.CheckArgCount(0)) { unsigned long long tempr = vtkUnsignedLongLongArray::GetDataTypeValueMin(); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkUnsignedLongLongArray_GetDataTypeValueMax(PyObject *, PyObject *args) { vtkPythonArgs ap(args, "GetDataTypeValueMax"); PyObject *result = nullptr; if (ap.CheckArgCount(0)) { unsigned long long tempr = vtkUnsignedLongLongArray::GetDataTypeValueMax(); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyMethodDef PyvtkUnsignedLongLongArray_Methods[] = { {"IsTypeOf", PyvtkUnsignedLongLongArray_IsTypeOf, METH_VARARGS, "V.IsTypeOf(string) -> int\nC++: static vtkTypeBool IsTypeOf(const char *type)\n\nReturn 1 if this class type is the same type of (or a subclass\nof) the named class. Returns 0 otherwise. This method works in\ncombination with vtkTypeMacro found in vtkSetGet.h.\n"}, {"IsA", PyvtkUnsignedLongLongArray_IsA, METH_VARARGS, "V.IsA(string) -> int\nC++: vtkTypeBool IsA(const char *type) override;\n\nReturn 1 if this class is the same type of (or a subclass of) the\nnamed class. Returns 0 otherwise. This method works in\ncombination with vtkTypeMacro found in vtkSetGet.h.\n"}, {"SafeDownCast", PyvtkUnsignedLongLongArray_SafeDownCast, METH_VARARGS, "V.SafeDownCast(vtkObjectBase) -> vtkUnsignedLongLongArray\nC++: static vtkUnsignedLongLongArray *SafeDownCast(\n vtkObjectBase *o)\n\n"}, {"NewInstance", PyvtkUnsignedLongLongArray_NewInstance, METH_VARARGS, "V.NewInstance() -> vtkUnsignedLongLongArray\nC++: vtkUnsignedLongLongArray *NewInstance()\n\n"}, {"GetDataType", PyvtkUnsignedLongLongArray_GetDataType, METH_VARARGS, "V.GetDataType() -> int\nC++: int GetDataType()\n\nReturn the underlying data type. An integer indicating data type\nis returned as specified in vtkType.h.\n"}, {"GetTypedTuple", PyvtkUnsignedLongLongArray_GetTypedTuple, METH_VARARGS, "V.GetTypedTuple(int, [int, ...])\nC++: void GetTypedTuple(vtkIdType i, unsigned long long *tuple)\n\n"}, {"SetTypedTuple", PyvtkUnsignedLongLongArray_SetTypedTuple, METH_VARARGS, "V.SetTypedTuple(int, (int, ...))\nC++: void SetTypedTuple(vtkIdType i,\n const unsigned long long *tuple)\n\n"}, {"InsertTypedTuple", PyvtkUnsignedLongLongArray_InsertTypedTuple, METH_VARARGS, "V.InsertTypedTuple(int, (int, ...))\nC++: void InsertTypedTuple(vtkIdType i,\n const unsigned long long *tuple)\n\n"}, {"InsertNextTypedTuple", PyvtkUnsignedLongLongArray_InsertNextTypedTuple, METH_VARARGS, "V.InsertNextTypedTuple((int, ...)) -> int\nC++: vtkIdType InsertNextTypedTuple(\n const unsigned long long *tuple)\n\n"}, {"GetValue", PyvtkUnsignedLongLongArray_GetValue, METH_VARARGS, "V.GetValue(int) -> int\nC++: unsigned long long GetValue(vtkIdType id)\n\n"}, {"SetValue", PyvtkUnsignedLongLongArray_SetValue, METH_VARARGS, "V.SetValue(int, int)\nC++: void SetValue(vtkIdType id, unsigned long long value)\n\n"}, {"SetNumberOfValues", PyvtkUnsignedLongLongArray_SetNumberOfValues, METH_VARARGS, "V.SetNumberOfValues(int)\nC++: void SetNumberOfValues(vtkIdType number)\n\nSpecify the number of values (tuples * components) for this\nobject to hold. Does an allocation as well as setting the MaxId\nivar. Used in conjunction with SetValue() method for fast\ninsertion.\n"}, {"InsertValue", PyvtkUnsignedLongLongArray_InsertValue, METH_VARARGS, "V.InsertValue(int, int)\nC++: void InsertValue(vtkIdType id, unsigned long long f)\n\n"}, {"InsertNextValue", PyvtkUnsignedLongLongArray_InsertNextValue, METH_VARARGS, "V.InsertNextValue(int) -> int\nC++: vtkIdType InsertNextValue(unsigned long long f)\n\n"}, {"GetValueRange", PyvtkUnsignedLongLongArray_GetValueRange, METH_VARARGS, "V.GetValueRange(int) -> (int, int)\nC++: unsigned long long *GetValueRange(int comp)\nV.GetValueRange() -> (int, int)\nC++: unsigned long long *GetValueRange()\n\n"}, {"WritePointer", PyvtkUnsignedLongLongArray_WritePointer, METH_VARARGS, "V.WritePointer(int, int) -> (int, ...)\nC++: unsigned long long *WritePointer(vtkIdType id,\n vtkIdType number)\n\n"}, {"GetPointer", PyvtkUnsignedLongLongArray_GetPointer, METH_VARARGS, "V.GetPointer(int) -> (int, ...)\nC++: unsigned long long *GetPointer(vtkIdType id)\n\n"}, {"SetArray", PyvtkUnsignedLongLongArray_SetArray, METH_VARARGS, "V.SetArray(int, int, int)\nC++: void SetArray(unsigned long long *array, vtkIdType size,\n int save)\nV.SetArray(int, int, int, int)\nC++: void SetArray(unsigned long long *array, vtkIdType size,\n int save, int deleteMethod)\n\n"}, {"FastDownCast", PyvtkUnsignedLongLongArray_FastDownCast, METH_VARARGS, "V.FastDownCast(vtkAbstractArray) -> vtkUnsignedLongLongArray\nC++: static vtkUnsignedLongLongArray *FastDownCast(\n vtkAbstractArray *source)\n\nA faster alternative to SafeDownCast for downcasting\nvtkAbstractArrays.\n"}, {"GetDataTypeValueMin", PyvtkUnsignedLongLongArray_GetDataTypeValueMin, METH_VARARGS, "V.GetDataTypeValueMin() -> int\nC++: static unsigned long long GetDataTypeValueMin()\n\nGet the minimum data value in its native type.\n"}, {"GetDataTypeValueMax", PyvtkUnsignedLongLongArray_GetDataTypeValueMax, METH_VARARGS, "V.GetDataTypeValueMax() -> int\nC++: static unsigned long long GetDataTypeValueMax()\n\nGet the maximum data value in its native type.\n"}, {nullptr, nullptr, 0, nullptr} }; static PyTypeObject PyvtkUnsignedLongLongArray_Type = { PyVarObject_HEAD_INIT(&PyType_Type, 0) "vtkCommonCorePython.vtkUnsignedLongLongArray", // tp_name sizeof(PyVTKObject), // tp_basicsize 0, // tp_itemsize PyVTKObject_Delete, // tp_dealloc 0, // tp_print nullptr, // tp_getattr nullptr, // tp_setattr nullptr, // tp_compare PyVTKObject_Repr, // tp_repr nullptr, // tp_as_number nullptr, // tp_as_sequence nullptr, // tp_as_mapping nullptr, // tp_hash nullptr, // tp_call PyVTKObject_String, // tp_str PyObject_GenericGetAttr, // tp_getattro PyObject_GenericSetAttr, // tp_setattro &PyVTKObject_AsBuffer, // tp_as_buffer Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_GC|Py_TPFLAGS_BASETYPE, // tp_flags PyvtkUnsignedLongLongArray_Doc, // tp_doc PyVTKObject_Traverse, // tp_traverse nullptr, // tp_clear nullptr, // tp_richcompare offsetof(PyVTKObject, vtk_weakreflist), // tp_weaklistoffset nullptr, // tp_iter nullptr, // tp_iternext nullptr, // tp_methods nullptr, // tp_members PyVTKObject_GetSet, // tp_getset nullptr, // tp_base nullptr, // tp_dict nullptr, // tp_descr_get nullptr, // tp_descr_set offsetof(PyVTKObject, vtk_dict), // tp_dictoffset nullptr, // tp_init nullptr, // tp_alloc PyVTKObject_New, // tp_new PyObject_GC_Del, // tp_free nullptr, // tp_is_gc nullptr, // tp_bases nullptr, // tp_mro nullptr, // tp_cache nullptr, // tp_subclasses nullptr, // tp_weaklist VTK_WRAP_PYTHON_SUPPRESS_UNINITIALIZED }; static vtkObjectBase *PyvtkUnsignedLongLongArray_StaticNew() { return vtkUnsignedLongLongArray::New(); } PyObject *PyvtkUnsignedLongLongArray_ClassNew() { PyVTKClass_Add( &PyvtkUnsignedLongLongArray_Type, PyvtkUnsignedLongLongArray_Methods, "vtkUnsignedLongLongArray", &PyvtkUnsignedLongLongArray_StaticNew); PyTypeObject *pytype = &PyvtkUnsignedLongLongArray_Type; if ((pytype->tp_flags & Py_TPFLAGS_READY) != 0) { return (PyObject *)pytype; } #if !defined(VTK_PY3K) && PY_VERSION_HEX >= 0x02060000 pytype->tp_flags |= Py_TPFLAGS_HAVE_NEWBUFFER; #endif pytype->tp_base = (PyTypeObject *)PyvtkDataArray_ClassNew(); PyType_Ready(pytype); return (PyObject *)pytype; } void PyVTKAddFile_vtkUnsignedLongLongArray( PyObject *dict) { PyObject *o; o = PyvtkUnsignedLongLongArray_ClassNew(); if (o && PyDict_SetItemString(dict, "vtkUnsignedLongLongArray", o) != 0) { Py_DECREF(o); } }