// python wrapper for vtkHyperOctreeFractalSource // #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 "vtkHyperOctreeFractalSource.h" extern "C" { VTK_ABI_EXPORT void PyVTKAddFile_vtkHyperOctreeFractalSource(PyObject *); } extern "C" { VTK_ABI_EXPORT PyObject *PyvtkHyperOctreeFractalSource_ClassNew(); } #ifndef DECLARED_PyvtkHyperOctreeAlgorithm_ClassNew extern "C" { PyObject *PyvtkHyperOctreeAlgorithm_ClassNew(); } #define DECLARED_PyvtkHyperOctreeAlgorithm_ClassNew #endif static const char *PyvtkHyperOctreeFractalSource_Doc = "vtkHyperOctreeFractalSource - Create an octree from a fractal.\n\n" "Superclass: vtkHyperOctreeAlgorithm\n\n" "hyperoctree\n\n" "@sa\n" "vtkHyperOctreeSampleFunction\n\n"; static PyObject * PyvtkHyperOctreeFractalSource_IsTypeOf(PyObject *, PyObject *args) { vtkPythonArgs ap(args, "IsTypeOf"); char *temp0 = nullptr; PyObject *result = nullptr; if (ap.CheckArgCount(1) && ap.GetValue(temp0)) { int tempr = vtkHyperOctreeFractalSource::IsTypeOf(temp0); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_IsA(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "IsA"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *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->vtkHyperOctreeFractalSource::IsA(temp0)); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_SafeDownCast(PyObject *, PyObject *args) { vtkPythonArgs ap(args, "SafeDownCast"); vtkObjectBase *temp0 = nullptr; PyObject *result = nullptr; if (ap.CheckArgCount(1) && ap.GetVTKObject(temp0, "vtkObjectBase")) { vtkHyperOctreeFractalSource *tempr = vtkHyperOctreeFractalSource::SafeDownCast(temp0); if (!ap.ErrorOccurred()) { result = ap.BuildVTKObject(tempr); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_NewInstance(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "NewInstance"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { vtkHyperOctreeFractalSource *tempr = (ap.IsBound() ? op->NewInstance() : op->vtkHyperOctreeFractalSource::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 * PyvtkHyperOctreeFractalSource_GetMaximumLevel(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetMaximumLevel"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { int tempr = (ap.IsBound() ? op->GetMaximumLevel() : op->vtkHyperOctreeFractalSource::GetMaximumLevel()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_SetMaximumLevel(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetMaximumLevel"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); int temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetMaximumLevel(temp0); } else { op->vtkHyperOctreeFractalSource::SetMaximumLevel(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_SetMinimumLevel(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetMinimumLevel"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); int temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetMinimumLevel(temp0); } else { op->vtkHyperOctreeFractalSource::SetMinimumLevel(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_GetMinimumLevel(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetMinimumLevel"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { int tempr = (ap.IsBound() ? op->GetMinimumLevel() : op->vtkHyperOctreeFractalSource::GetMinimumLevel()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_SetProjectionAxes_s1(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetProjectionAxes"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); int temp0; int temp1; int temp2; PyObject *result = nullptr; if (op && ap.CheckArgCount(3) && ap.GetValue(temp0) && ap.GetValue(temp1) && ap.GetValue(temp2)) { if (ap.IsBound()) { op->SetProjectionAxes(temp0, temp1, temp2); } else { op->vtkHyperOctreeFractalSource::SetProjectionAxes(temp0, temp1, temp2); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_SetProjectionAxes_s2(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetProjectionAxes"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); const int size0 = 3; int temp0[3]; int save0[3]; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetArray(temp0, size0)) { ap.SaveArray(temp0, save0, size0); if (ap.IsBound()) { op->SetProjectionAxes(temp0); } else { op->vtkHyperOctreeFractalSource::SetProjectionAxes(temp0); } if (ap.ArrayHasChanged(temp0, save0, size0) && !ap.ErrorOccurred()) { ap.SetArray(0, temp0, size0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_SetProjectionAxes(PyObject *self, PyObject *args) { int nargs = vtkPythonArgs::GetArgCount(self, args); switch(nargs) { case 3: return PyvtkHyperOctreeFractalSource_SetProjectionAxes_s1(self, args); case 1: return PyvtkHyperOctreeFractalSource_SetProjectionAxes_s2(self, args); } vtkPythonArgs::ArgCountError(nargs, "SetProjectionAxes"); return nullptr; } static PyObject * PyvtkHyperOctreeFractalSource_GetProjectionAxes(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetProjectionAxes"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); int sizer = 3; PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { int *tempr = (ap.IsBound() ? op->GetProjectionAxes() : op->vtkHyperOctreeFractalSource::GetProjectionAxes()); if (!ap.ErrorOccurred()) { result = ap.BuildTuple(tempr, sizer); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_SetOriginCX_s1(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetOriginCX"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); double temp0; double temp1; double temp2; double temp3; PyObject *result = nullptr; if (op && ap.CheckArgCount(4) && ap.GetValue(temp0) && ap.GetValue(temp1) && ap.GetValue(temp2) && ap.GetValue(temp3)) { if (ap.IsBound()) { op->SetOriginCX(temp0, temp1, temp2, temp3); } else { op->vtkHyperOctreeFractalSource::SetOriginCX(temp0, temp1, temp2, temp3); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_SetOriginCX_s2(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetOriginCX"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); const int size0 = 4; double temp0[4]; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetArray(temp0, size0)) { if (ap.IsBound()) { op->SetOriginCX(temp0); } else { op->vtkHyperOctreeFractalSource::SetOriginCX(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_SetOriginCX(PyObject *self, PyObject *args) { int nargs = vtkPythonArgs::GetArgCount(self, args); switch(nargs) { case 4: return PyvtkHyperOctreeFractalSource_SetOriginCX_s1(self, args); case 1: return PyvtkHyperOctreeFractalSource_SetOriginCX_s2(self, args); } vtkPythonArgs::ArgCountError(nargs, "SetOriginCX"); return nullptr; } static PyObject * PyvtkHyperOctreeFractalSource_GetOriginCX(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetOriginCX"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); int sizer = 4; PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { double *tempr = (ap.IsBound() ? op->GetOriginCX() : op->vtkHyperOctreeFractalSource::GetOriginCX()); if (!ap.ErrorOccurred()) { result = ap.BuildTuple(tempr, sizer); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_SetSizeCX_s1(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetSizeCX"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); double temp0; double temp1; double temp2; double temp3; PyObject *result = nullptr; if (op && ap.CheckArgCount(4) && ap.GetValue(temp0) && ap.GetValue(temp1) && ap.GetValue(temp2) && ap.GetValue(temp3)) { if (ap.IsBound()) { op->SetSizeCX(temp0, temp1, temp2, temp3); } else { op->vtkHyperOctreeFractalSource::SetSizeCX(temp0, temp1, temp2, temp3); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_SetSizeCX_s2(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetSizeCX"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); const int size0 = 4; double temp0[4]; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetArray(temp0, size0)) { if (ap.IsBound()) { op->SetSizeCX(temp0); } else { op->vtkHyperOctreeFractalSource::SetSizeCX(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_SetSizeCX(PyObject *self, PyObject *args) { int nargs = vtkPythonArgs::GetArgCount(self, args); switch(nargs) { case 4: return PyvtkHyperOctreeFractalSource_SetSizeCX_s1(self, args); case 1: return PyvtkHyperOctreeFractalSource_SetSizeCX_s2(self, args); } vtkPythonArgs::ArgCountError(nargs, "SetSizeCX"); return nullptr; } static PyObject * PyvtkHyperOctreeFractalSource_GetSizeCX(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetSizeCX"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); int sizer = 4; PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { double *tempr = (ap.IsBound() ? op->GetSizeCX() : op->vtkHyperOctreeFractalSource::GetSizeCX()); if (!ap.ErrorOccurred()) { result = ap.BuildTuple(tempr, sizer); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_SetMaximumNumberOfIterations(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetMaximumNumberOfIterations"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); unsigned short temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetMaximumNumberOfIterations(temp0); } else { op->vtkHyperOctreeFractalSource::SetMaximumNumberOfIterations(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_GetMaximumNumberOfIterationsMinValue(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetMaximumNumberOfIterationsMinValue"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { unsigned short tempr = (ap.IsBound() ? op->GetMaximumNumberOfIterationsMinValue() : op->vtkHyperOctreeFractalSource::GetMaximumNumberOfIterationsMinValue()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_GetMaximumNumberOfIterationsMaxValue(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetMaximumNumberOfIterationsMaxValue"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { unsigned short tempr = (ap.IsBound() ? op->GetMaximumNumberOfIterationsMaxValue() : op->vtkHyperOctreeFractalSource::GetMaximumNumberOfIterationsMaxValue()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_GetMaximumNumberOfIterations(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetMaximumNumberOfIterations"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { unsigned char tempr = (ap.IsBound() ? op->GetMaximumNumberOfIterations() : op->vtkHyperOctreeFractalSource::GetMaximumNumberOfIterations()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_SetDimension(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetDimension"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); int temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetDimension(temp0); } else { op->vtkHyperOctreeFractalSource::SetDimension(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_GetDimensionMinValue(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetDimensionMinValue"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { int tempr = (ap.IsBound() ? op->GetDimensionMinValue() : op->vtkHyperOctreeFractalSource::GetDimensionMinValue()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_GetDimensionMaxValue(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetDimensionMaxValue"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { int tempr = (ap.IsBound() ? op->GetDimensionMaxValue() : op->vtkHyperOctreeFractalSource::GetDimensionMaxValue()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_GetDimension(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetDimension"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { int tempr = (ap.IsBound() ? op->GetDimension() : op->vtkHyperOctreeFractalSource::GetDimension()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_SetSpanThreshold(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetSpanThreshold"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); double temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetSpanThreshold(temp0); } else { op->vtkHyperOctreeFractalSource::SetSpanThreshold(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkHyperOctreeFractalSource_GetSpanThreshold(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetSpanThreshold"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkHyperOctreeFractalSource *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { double tempr = (ap.IsBound() ? op->GetSpanThreshold() : op->vtkHyperOctreeFractalSource::GetSpanThreshold()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyMethodDef PyvtkHyperOctreeFractalSource_Methods[] = { {"IsTypeOf", PyvtkHyperOctreeFractalSource_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", PyvtkHyperOctreeFractalSource_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", PyvtkHyperOctreeFractalSource_SafeDownCast, METH_VARARGS, "V.SafeDownCast(vtkObjectBase) -> vtkHyperOctreeFractalSource\nC++: static vtkHyperOctreeFractalSource *SafeDownCast(\n vtkObjectBase *o)\n\n"}, {"NewInstance", PyvtkHyperOctreeFractalSource_NewInstance, METH_VARARGS, "V.NewInstance() -> vtkHyperOctreeFractalSource\nC++: vtkHyperOctreeFractalSource *NewInstance()\n\n"}, {"GetMaximumLevel", PyvtkHyperOctreeFractalSource_GetMaximumLevel, METH_VARARGS, "V.GetMaximumLevel() -> int\nC++: int GetMaximumLevel()\n\nReturn the maximum number of levels of the hyperoctree.\n\\post positive_result: result>=1\n"}, {"SetMaximumLevel", PyvtkHyperOctreeFractalSource_SetMaximumLevel, METH_VARARGS, "V.SetMaximumLevel(int)\nC++: void SetMaximumLevel(int levels)\n\nSet the maximum number of levels of the hyperoctree. If\nGetMinLevels()>=levels, GetMinLevels() is changed to levels-1.\n\\pre positive_levels: levels>=1\n\\post is_set: this->GetLevels()==levels\n\\post min_is_valid: this->GetMinLevels()GetLevels()\n"}, {"SetMinimumLevel", PyvtkHyperOctreeFractalSource_SetMinimumLevel, METH_VARARGS, "V.SetMinimumLevel(int)\nC++: void SetMinimumLevel(int level)\n\nReturn the minimal number of levels of systematic subdivision.\n\\post positive_result: result>=0\n"}, {"GetMinimumLevel", PyvtkHyperOctreeFractalSource_GetMinimumLevel, METH_VARARGS, "V.GetMinimumLevel() -> int\nC++: int GetMinimumLevel()\n\nReturn the minimal number of levels of systematic subdivision.\n\\post positive_result: result>=0\n"}, {"SetProjectionAxes", PyvtkHyperOctreeFractalSource_SetProjectionAxes, METH_VARARGS, "V.SetProjectionAxes(int, int, int)\nC++: void SetProjectionAxes(int x, int y, int z)\nV.SetProjectionAxes([int, int, int])\nC++: void SetProjectionAxes(int a[3])\n\nSet the projection from the 4D space (4 parameters / 2 imaginary\nnumbers) to the axes of the 3D Volume. 0=C_Real, 1=C_Imaginary,\n2=X_Real, 4=X_Imaginary\n"}, {"GetProjectionAxes", PyvtkHyperOctreeFractalSource_GetProjectionAxes, METH_VARARGS, "V.GetProjectionAxes() -> (int, int, int)\nC++: int *GetProjectionAxes()\n\n"}, {"SetOriginCX", PyvtkHyperOctreeFractalSource_SetOriginCX, METH_VARARGS, "V.SetOriginCX(float, float, float, float)\nC++: void SetOriginCX(double, double, double, double)\nV.SetOriginCX((float, float, float, float))\nC++: void SetOriginCX(double a[4])\n\n"}, {"GetOriginCX", PyvtkHyperOctreeFractalSource_GetOriginCX, METH_VARARGS, "V.GetOriginCX() -> (float, float, float, float)\nC++: double *GetOriginCX()\n\n"}, {"SetSizeCX", PyvtkHyperOctreeFractalSource_SetSizeCX, METH_VARARGS, "V.SetSizeCX(float, float, float, float)\nC++: void SetSizeCX(double, double, double, double)\nV.SetSizeCX((float, float, float, float))\nC++: void SetSizeCX(double a[4])\n\n"}, {"GetSizeCX", PyvtkHyperOctreeFractalSource_GetSizeCX, METH_VARARGS, "V.GetSizeCX() -> (float, float, float, float)\nC++: double *GetSizeCX()\n\n"}, {"SetMaximumNumberOfIterations", PyvtkHyperOctreeFractalSource_SetMaximumNumberOfIterations, METH_VARARGS, "V.SetMaximumNumberOfIterations(int)\nC++: virtual void SetMaximumNumberOfIterations(\n unsigned short _arg)\n\nThe maximum number of cycles run to see if the value goes over 2\n"}, {"GetMaximumNumberOfIterationsMinValue", PyvtkHyperOctreeFractalSource_GetMaximumNumberOfIterationsMinValue, METH_VARARGS, "V.GetMaximumNumberOfIterationsMinValue() -> int\nC++: virtual unsigned short GetMaximumNumberOfIterationsMinValue()\n\nThe maximum number of cycles run to see if the value goes over 2\n"}, {"GetMaximumNumberOfIterationsMaxValue", PyvtkHyperOctreeFractalSource_GetMaximumNumberOfIterationsMaxValue, METH_VARARGS, "V.GetMaximumNumberOfIterationsMaxValue() -> int\nC++: virtual unsigned short GetMaximumNumberOfIterationsMaxValue()\n\nThe maximum number of cycles run to see if the value goes over 2\n"}, {"GetMaximumNumberOfIterations", PyvtkHyperOctreeFractalSource_GetMaximumNumberOfIterations, METH_VARARGS, "V.GetMaximumNumberOfIterations() -> int\nC++: virtual unsigned char GetMaximumNumberOfIterations()\n\nThe maximum number of cycles run to see if the value goes over 2\n"}, {"SetDimension", PyvtkHyperOctreeFractalSource_SetDimension, METH_VARARGS, "V.SetDimension(int)\nC++: virtual void SetDimension(int _arg)\n\nCreate a 2D or 3D fractal.\n"}, {"GetDimensionMinValue", PyvtkHyperOctreeFractalSource_GetDimensionMinValue, METH_VARARGS, "V.GetDimensionMinValue() -> int\nC++: virtual int GetDimensionMinValue()\n\nCreate a 2D or 3D fractal.\n"}, {"GetDimensionMaxValue", PyvtkHyperOctreeFractalSource_GetDimensionMaxValue, METH_VARARGS, "V.GetDimensionMaxValue() -> int\nC++: virtual int GetDimensionMaxValue()\n\nCreate a 2D or 3D fractal.\n"}, {"GetDimension", PyvtkHyperOctreeFractalSource_GetDimension, METH_VARARGS, "V.GetDimension() -> int\nC++: virtual int GetDimension()\n\nCreate a 2D or 3D fractal.\n"}, {"SetSpanThreshold", PyvtkHyperOctreeFractalSource_SetSpanThreshold, METH_VARARGS, "V.SetSpanThreshold(float)\nC++: virtual void SetSpanThreshold(double _arg)\n\nControls when a leaf gets subdivided. If the corner values span\na larger range than this value, the leaf is subdivided. This\ndefaults to 2.\n"}, {"GetSpanThreshold", PyvtkHyperOctreeFractalSource_GetSpanThreshold, METH_VARARGS, "V.GetSpanThreshold() -> float\nC++: virtual double GetSpanThreshold()\n\nControls when a leaf gets subdivided. If the corner values span\na larger range than this value, the leaf is subdivided. This\ndefaults to 2.\n"}, {nullptr, nullptr, 0, nullptr} }; static PyTypeObject PyvtkHyperOctreeFractalSource_Type = { PyVarObject_HEAD_INIT(&PyType_Type, 0) "vtkFiltersSourcesPython.vtkHyperOctreeFractalSource", // 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 PyvtkHyperOctreeFractalSource_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 *PyvtkHyperOctreeFractalSource_StaticNew() { return vtkHyperOctreeFractalSource::New(); } PyObject *PyvtkHyperOctreeFractalSource_ClassNew() { PyVTKClass_Add( &PyvtkHyperOctreeFractalSource_Type, PyvtkHyperOctreeFractalSource_Methods, "vtkHyperOctreeFractalSource", &PyvtkHyperOctreeFractalSource_StaticNew); PyTypeObject *pytype = &PyvtkHyperOctreeFractalSource_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 *)PyvtkHyperOctreeAlgorithm_ClassNew(); PyType_Ready(pytype); return (PyObject *)pytype; } void PyVTKAddFile_vtkHyperOctreeFractalSource( PyObject *dict) { PyObject *o; o = PyvtkHyperOctreeFractalSource_ClassNew(); if (o && PyDict_SetItemString(dict, "vtkHyperOctreeFractalSource", o) != 0) { Py_DECREF(o); } }