// python wrapper for vtkTemporalFractal // #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 "vtkTemporalFractal.h" extern "C" { VTK_ABI_EXPORT void PyVTKAddFile_vtkTemporalFractal(PyObject *); } extern "C" { VTK_ABI_EXPORT PyObject *PyvtkTemporalFractal_ClassNew(); } #ifndef DECLARED_PyvtkAlgorithm_ClassNew extern "C" { PyObject *PyvtkAlgorithm_ClassNew(); } #define DECLARED_PyvtkAlgorithm_ClassNew #endif static const char *PyvtkTemporalFractal_Doc = "vtkTemporalFractal - A source to test AMR data object.\n\n" "Superclass: vtkAlgorithm\n\n" "vtkTemporalFractal is a collection of uniform grids. All have the\n" "same dimensions. Each block has a different origin and spacing. It\n" "uses mandelbrot to create cell data. I scale the fractal array to\n" "look like a volme fraction. I may also add block id and level as\n" "extra cell arrays. This source produces a vtkHierarchicalBoxDataSet\n" "when GenerateRectilinearGrids is off, otherwise produces a\n" "vtkMultiBlockDataSet.\n\n"; static PyObject * PyvtkTemporalFractal_IsTypeOf(PyObject *, PyObject *args) { vtkPythonArgs ap(args, "IsTypeOf"); char *temp0 = nullptr; PyObject *result = nullptr; if (ap.CheckArgCount(1) && ap.GetValue(temp0)) { int tempr = vtkTemporalFractal::IsTypeOf(temp0); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkTemporalFractal_IsA(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "IsA"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *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->vtkTemporalFractal::IsA(temp0)); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkTemporalFractal_SafeDownCast(PyObject *, PyObject *args) { vtkPythonArgs ap(args, "SafeDownCast"); vtkObjectBase *temp0 = nullptr; PyObject *result = nullptr; if (ap.CheckArgCount(1) && ap.GetVTKObject(temp0, "vtkObjectBase")) { vtkTemporalFractal *tempr = vtkTemporalFractal::SafeDownCast(temp0); if (!ap.ErrorOccurred()) { result = ap.BuildVTKObject(tempr); } } return result; } static PyObject * PyvtkTemporalFractal_NewInstance(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "NewInstance"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { vtkTemporalFractal *tempr = (ap.IsBound() ? op->NewInstance() : op->vtkTemporalFractal::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 * PyvtkTemporalFractal_SetFractalValue(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetFractalValue"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); float temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetFractalValue(temp0); } else { op->vtkTemporalFractal::SetFractalValue(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTemporalFractal_GetFractalValue(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetFractalValue"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { float tempr = (ap.IsBound() ? op->GetFractalValue() : op->vtkTemporalFractal::GetFractalValue()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkTemporalFractal_SetMaximumLevel(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetMaximumLevel"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *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->vtkTemporalFractal::SetMaximumLevel(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTemporalFractal_GetMaximumLevel(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetMaximumLevel"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { int tempr = (ap.IsBound() ? op->GetMaximumLevel() : op->vtkTemporalFractal::GetMaximumLevel()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkTemporalFractal_SetDimensions(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetDimensions"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); int temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetDimensions(temp0); } else { op->vtkTemporalFractal::SetDimensions(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTemporalFractal_GetDimensions(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetDimensions"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { int tempr = (ap.IsBound() ? op->GetDimensions() : op->vtkTemporalFractal::GetDimensions()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkTemporalFractal_SetGhostLevels(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetGhostLevels"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); int temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetGhostLevels(temp0); } else { op->vtkTemporalFractal::SetGhostLevels(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTemporalFractal_GetGhostLevels(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetGhostLevels"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { int tempr = (ap.IsBound() ? op->GetGhostLevels() : op->vtkTemporalFractal::GetGhostLevels()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkTemporalFractal_GhostLevelsOn(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GhostLevelsOn"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->GhostLevelsOn(); } else { op->vtkTemporalFractal::GhostLevelsOn(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTemporalFractal_GhostLevelsOff(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GhostLevelsOff"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->GhostLevelsOff(); } else { op->vtkTemporalFractal::GhostLevelsOff(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTemporalFractal_SetGenerateRectilinearGrids(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetGenerateRectilinearGrids"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); int temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetGenerateRectilinearGrids(temp0); } else { op->vtkTemporalFractal::SetGenerateRectilinearGrids(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTemporalFractal_GetGenerateRectilinearGrids(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetGenerateRectilinearGrids"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { int tempr = (ap.IsBound() ? op->GetGenerateRectilinearGrids() : op->vtkTemporalFractal::GetGenerateRectilinearGrids()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkTemporalFractal_GenerateRectilinearGridsOn(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GenerateRectilinearGridsOn"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->GenerateRectilinearGridsOn(); } else { op->vtkTemporalFractal::GenerateRectilinearGridsOn(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTemporalFractal_GenerateRectilinearGridsOff(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GenerateRectilinearGridsOff"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->GenerateRectilinearGridsOff(); } else { op->vtkTemporalFractal::GenerateRectilinearGridsOff(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTemporalFractal_SetDiscreteTimeSteps(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetDiscreteTimeSteps"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); int temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetDiscreteTimeSteps(temp0); } else { op->vtkTemporalFractal::SetDiscreteTimeSteps(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTemporalFractal_GetDiscreteTimeSteps(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetDiscreteTimeSteps"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { int tempr = (ap.IsBound() ? op->GetDiscreteTimeSteps() : op->vtkTemporalFractal::GetDiscreteTimeSteps()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkTemporalFractal_DiscreteTimeStepsOn(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "DiscreteTimeStepsOn"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->DiscreteTimeStepsOn(); } else { op->vtkTemporalFractal::DiscreteTimeStepsOn(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTemporalFractal_DiscreteTimeStepsOff(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "DiscreteTimeStepsOff"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->DiscreteTimeStepsOff(); } else { op->vtkTemporalFractal::DiscreteTimeStepsOff(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTemporalFractal_SetTwoDimensional(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetTwoDimensional"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); int temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetTwoDimensional(temp0); } else { op->vtkTemporalFractal::SetTwoDimensional(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTemporalFractal_GetTwoDimensional(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetTwoDimensional"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { int tempr = (ap.IsBound() ? op->GetTwoDimensional() : op->vtkTemporalFractal::GetTwoDimensional()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkTemporalFractal_TwoDimensionalOn(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "TwoDimensionalOn"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->TwoDimensionalOn(); } else { op->vtkTemporalFractal::TwoDimensionalOn(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTemporalFractal_TwoDimensionalOff(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "TwoDimensionalOff"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->TwoDimensionalOff(); } else { op->vtkTemporalFractal::TwoDimensionalOff(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTemporalFractal_SetAsymetric(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetAsymetric"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); int temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetAsymetric(temp0); } else { op->vtkTemporalFractal::SetAsymetric(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTemporalFractal_GetAsymetric(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetAsymetric"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { int tempr = (ap.IsBound() ? op->GetAsymetric() : op->vtkTemporalFractal::GetAsymetric()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkTemporalFractal_SetAdaptiveSubdivision(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetAdaptiveSubdivision"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); int temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetAdaptiveSubdivision(temp0); } else { op->vtkTemporalFractal::SetAdaptiveSubdivision(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTemporalFractal_GetAdaptiveSubdivision(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetAdaptiveSubdivision"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { int tempr = (ap.IsBound() ? op->GetAdaptiveSubdivision() : op->vtkTemporalFractal::GetAdaptiveSubdivision()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkTemporalFractal_AdaptiveSubdivisionOn(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "AdaptiveSubdivisionOn"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->AdaptiveSubdivisionOn(); } else { op->vtkTemporalFractal::AdaptiveSubdivisionOn(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTemporalFractal_AdaptiveSubdivisionOff(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "AdaptiveSubdivisionOff"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTemporalFractal *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->AdaptiveSubdivisionOff(); } else { op->vtkTemporalFractal::AdaptiveSubdivisionOff(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyMethodDef PyvtkTemporalFractal_Methods[] = { {"IsTypeOf", PyvtkTemporalFractal_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", PyvtkTemporalFractal_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", PyvtkTemporalFractal_SafeDownCast, METH_VARARGS, "V.SafeDownCast(vtkObjectBase) -> vtkTemporalFractal\nC++: static vtkTemporalFractal *SafeDownCast(vtkObjectBase *o)\n\n"}, {"NewInstance", PyvtkTemporalFractal_NewInstance, METH_VARARGS, "V.NewInstance() -> vtkTemporalFractal\nC++: vtkTemporalFractal *NewInstance()\n\n"}, {"SetFractalValue", PyvtkTemporalFractal_SetFractalValue, METH_VARARGS, "V.SetFractalValue(float)\nC++: virtual void SetFractalValue(float _arg)\n\nEssentially the iso surface value. The fractal array is scaled to\nmap this value to 0.5 for use as a volume fraction.\n"}, {"GetFractalValue", PyvtkTemporalFractal_GetFractalValue, METH_VARARGS, "V.GetFractalValue() -> float\nC++: virtual float GetFractalValue()\n\nEssentially the iso surface value. The fractal array is scaled to\nmap this value to 0.5 for use as a volume fraction.\n"}, {"SetMaximumLevel", PyvtkTemporalFractal_SetMaximumLevel, METH_VARARGS, "V.SetMaximumLevel(int)\nC++: virtual void SetMaximumLevel(int _arg)\n\nAny blocks touching a predefined line will be subdivided to this\nlevel. Other blocks are subdivided so that neighboring blocks\nonly differ by one level.\n"}, {"GetMaximumLevel", PyvtkTemporalFractal_GetMaximumLevel, METH_VARARGS, "V.GetMaximumLevel() -> int\nC++: virtual int GetMaximumLevel()\n\nAny blocks touching a predefined line will be subdivided to this\nlevel. Other blocks are subdivided so that neighboring blocks\nonly differ by one level.\n"}, {"SetDimensions", PyvtkTemporalFractal_SetDimensions, METH_VARARGS, "V.SetDimensions(int)\nC++: virtual void SetDimensions(int _arg)\n\nXYZ dimensions of cells.\n"}, {"GetDimensions", PyvtkTemporalFractal_GetDimensions, METH_VARARGS, "V.GetDimensions() -> int\nC++: virtual int GetDimensions()\n\nXYZ dimensions of cells.\n"}, {"SetGhostLevels", PyvtkTemporalFractal_SetGhostLevels, METH_VARARGS, "V.SetGhostLevels(int)\nC++: virtual void SetGhostLevels(int _arg)\n\nFor testing ghost levels.\n"}, {"GetGhostLevels", PyvtkTemporalFractal_GetGhostLevels, METH_VARARGS, "V.GetGhostLevels() -> int\nC++: virtual int GetGhostLevels()\n\nFor testing ghost levels.\n"}, {"GhostLevelsOn", PyvtkTemporalFractal_GhostLevelsOn, METH_VARARGS, "V.GhostLevelsOn()\nC++: virtual void GhostLevelsOn()\n\nFor testing ghost levels.\n"}, {"GhostLevelsOff", PyvtkTemporalFractal_GhostLevelsOff, METH_VARARGS, "V.GhostLevelsOff()\nC++: virtual void GhostLevelsOff()\n\nFor testing ghost levels.\n"}, {"SetGenerateRectilinearGrids", PyvtkTemporalFractal_SetGenerateRectilinearGrids, METH_VARARGS, "V.SetGenerateRectilinearGrids(int)\nC++: virtual void SetGenerateRectilinearGrids(int _arg)\n\nGenerate either rectilinear grids either uniform grids. Default\nis false.\n"}, {"GetGenerateRectilinearGrids", PyvtkTemporalFractal_GetGenerateRectilinearGrids, METH_VARARGS, "V.GetGenerateRectilinearGrids() -> int\nC++: virtual int GetGenerateRectilinearGrids()\n\nGenerate either rectilinear grids either uniform grids. Default\nis false.\n"}, {"GenerateRectilinearGridsOn", PyvtkTemporalFractal_GenerateRectilinearGridsOn, METH_VARARGS, "V.GenerateRectilinearGridsOn()\nC++: virtual void GenerateRectilinearGridsOn()\n\nGenerate either rectilinear grids either uniform grids. Default\nis false.\n"}, {"GenerateRectilinearGridsOff", PyvtkTemporalFractal_GenerateRectilinearGridsOff, METH_VARARGS, "V.GenerateRectilinearGridsOff()\nC++: virtual void GenerateRectilinearGridsOff()\n\nGenerate either rectilinear grids either uniform grids. Default\nis false.\n"}, {"SetDiscreteTimeSteps", PyvtkTemporalFractal_SetDiscreteTimeSteps, METH_VARARGS, "V.SetDiscreteTimeSteps(int)\nC++: virtual void SetDiscreteTimeSteps(int _arg)\n\nLimit this source to discrete integer time steps Default is off\n(continuous)\n"}, {"GetDiscreteTimeSteps", PyvtkTemporalFractal_GetDiscreteTimeSteps, METH_VARARGS, "V.GetDiscreteTimeSteps() -> int\nC++: virtual int GetDiscreteTimeSteps()\n\nLimit this source to discrete integer time steps Default is off\n(continuous)\n"}, {"DiscreteTimeStepsOn", PyvtkTemporalFractal_DiscreteTimeStepsOn, METH_VARARGS, "V.DiscreteTimeStepsOn()\nC++: virtual void DiscreteTimeStepsOn()\n\nLimit this source to discrete integer time steps Default is off\n(continuous)\n"}, {"DiscreteTimeStepsOff", PyvtkTemporalFractal_DiscreteTimeStepsOff, METH_VARARGS, "V.DiscreteTimeStepsOff()\nC++: virtual void DiscreteTimeStepsOff()\n\nLimit this source to discrete integer time steps Default is off\n(continuous)\n"}, {"SetTwoDimensional", PyvtkTemporalFractal_SetTwoDimensional, METH_VARARGS, "V.SetTwoDimensional(int)\nC++: virtual void SetTwoDimensional(int _arg)\n\nMake a 2D data set to test.\n"}, {"GetTwoDimensional", PyvtkTemporalFractal_GetTwoDimensional, METH_VARARGS, "V.GetTwoDimensional() -> int\nC++: virtual int GetTwoDimensional()\n\nMake a 2D data set to test.\n"}, {"TwoDimensionalOn", PyvtkTemporalFractal_TwoDimensionalOn, METH_VARARGS, "V.TwoDimensionalOn()\nC++: virtual void TwoDimensionalOn()\n\nMake a 2D data set to test.\n"}, {"TwoDimensionalOff", PyvtkTemporalFractal_TwoDimensionalOff, METH_VARARGS, "V.TwoDimensionalOff()\nC++: virtual void TwoDimensionalOff()\n\nMake a 2D data set to test.\n"}, {"SetAsymetric", PyvtkTemporalFractal_SetAsymetric, METH_VARARGS, "V.SetAsymetric(int)\nC++: virtual void SetAsymetric(int _arg)\n\nTest the case when the blocks do not have the same sizes. Adds 2\nto the x extent of the far x blocks (level 1).\n"}, {"GetAsymetric", PyvtkTemporalFractal_GetAsymetric, METH_VARARGS, "V.GetAsymetric() -> int\nC++: virtual int GetAsymetric()\n\nTest the case when the blocks do not have the same sizes. Adds 2\nto the x extent of the far x blocks (level 1).\n"}, {"SetAdaptiveSubdivision", PyvtkTemporalFractal_SetAdaptiveSubdivision, METH_VARARGS, "V.SetAdaptiveSubdivision(int)\nC++: virtual void SetAdaptiveSubdivision(int _arg)\n\nMake the division adaptive or not, defaults to Adaptive\n"}, {"GetAdaptiveSubdivision", PyvtkTemporalFractal_GetAdaptiveSubdivision, METH_VARARGS, "V.GetAdaptiveSubdivision() -> int\nC++: virtual int GetAdaptiveSubdivision()\n\nMake the division adaptive or not, defaults to Adaptive\n"}, {"AdaptiveSubdivisionOn", PyvtkTemporalFractal_AdaptiveSubdivisionOn, METH_VARARGS, "V.AdaptiveSubdivisionOn()\nC++: virtual void AdaptiveSubdivisionOn()\n\nMake the division adaptive or not, defaults to Adaptive\n"}, {"AdaptiveSubdivisionOff", PyvtkTemporalFractal_AdaptiveSubdivisionOff, METH_VARARGS, "V.AdaptiveSubdivisionOff()\nC++: virtual void AdaptiveSubdivisionOff()\n\nMake the division adaptive or not, defaults to Adaptive\n"}, {nullptr, nullptr, 0, nullptr} }; static PyTypeObject PyvtkTemporalFractal_Type = { PyVarObject_HEAD_INIT(&PyType_Type, 0) "vtkFiltersHybridPython.vtkTemporalFractal", // 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 PyvtkTemporalFractal_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 *PyvtkTemporalFractal_StaticNew() { return vtkTemporalFractal::New(); } PyObject *PyvtkTemporalFractal_ClassNew() { PyVTKClass_Add( &PyvtkTemporalFractal_Type, PyvtkTemporalFractal_Methods, "vtkTemporalFractal", &PyvtkTemporalFractal_StaticNew); PyTypeObject *pytype = &PyvtkTemporalFractal_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 *)PyvtkAlgorithm_ClassNew(); PyType_Ready(pytype); return (PyObject *)pytype; } void PyVTKAddFile_vtkTemporalFractal( PyObject *dict) { PyObject *o; o = PyvtkTemporalFractal_ClassNew(); if (o && PyDict_SetItemString(dict, "vtkTemporalFractal", o) != 0) { Py_DECREF(o); } }