// python wrapper for vtkStackedTreeLayoutStrategy // #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 "vtkStackedTreeLayoutStrategy.h" extern "C" { VTK_ABI_EXPORT void PyVTKAddFile_vtkStackedTreeLayoutStrategy(PyObject *); } extern "C" { VTK_ABI_EXPORT PyObject *PyvtkStackedTreeLayoutStrategy_ClassNew(); } #ifndef DECLARED_PyvtkAreaLayoutStrategy_ClassNew extern "C" { PyObject *PyvtkAreaLayoutStrategy_ClassNew(); } #define DECLARED_PyvtkAreaLayoutStrategy_ClassNew #endif static const char *PyvtkStackedTreeLayoutStrategy_Doc = "vtkStackedTreeLayoutStrategy - lays out tree in stacked boxes or rings\n\n" "Superclass: vtkAreaLayoutStrategy\n\n" "Performs a tree ring layout or \"icicle\" layout on a tree. This\n" "involves assigning a sector region to each vertex in the tree, and\n" "placing that information in a data array with four components per\n" "tuple representing (innerRadius, outerRadius, startAngle, endAngle).\n\n" "This class may be assigned as the layout strategy to vtkAreaLayout.\n\n" "@par Thanks: Thanks to Jason Shepherd from Sandia National\n" "Laboratories for help developing this class.\n\n"; static PyObject * PyvtkStackedTreeLayoutStrategy_IsTypeOf(PyObject *, PyObject *args) { vtkPythonArgs ap(args, "IsTypeOf"); char *temp0 = nullptr; PyObject *result = nullptr; if (ap.CheckArgCount(1) && ap.GetValue(temp0)) { int tempr = vtkStackedTreeLayoutStrategy::IsTypeOf(temp0); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkStackedTreeLayoutStrategy_IsA(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "IsA"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkStackedTreeLayoutStrategy *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->vtkStackedTreeLayoutStrategy::IsA(temp0)); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkStackedTreeLayoutStrategy_SafeDownCast(PyObject *, PyObject *args) { vtkPythonArgs ap(args, "SafeDownCast"); vtkObjectBase *temp0 = nullptr; PyObject *result = nullptr; if (ap.CheckArgCount(1) && ap.GetVTKObject(temp0, "vtkObjectBase")) { vtkStackedTreeLayoutStrategy *tempr = vtkStackedTreeLayoutStrategy::SafeDownCast(temp0); if (!ap.ErrorOccurred()) { result = ap.BuildVTKObject(tempr); } } return result; } static PyObject * PyvtkStackedTreeLayoutStrategy_NewInstance(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "NewInstance"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkStackedTreeLayoutStrategy *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { vtkStackedTreeLayoutStrategy *tempr = (ap.IsBound() ? op->NewInstance() : op->vtkStackedTreeLayoutStrategy::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 * PyvtkStackedTreeLayoutStrategy_Layout(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "Layout"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkStackedTreeLayoutStrategy *op = static_cast(vp); vtkTree *temp0 = nullptr; vtkDataArray *temp1 = nullptr; vtkDataArray *temp2 = nullptr; PyObject *result = nullptr; if (op && ap.CheckArgCount(3) && ap.GetVTKObject(temp0, "vtkTree") && ap.GetVTKObject(temp1, "vtkDataArray") && ap.GetVTKObject(temp2, "vtkDataArray")) { if (ap.IsBound()) { op->Layout(temp0, temp1, temp2); } else { op->vtkStackedTreeLayoutStrategy::Layout(temp0, temp1, temp2); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkStackedTreeLayoutStrategy_LayoutEdgePoints(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "LayoutEdgePoints"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkStackedTreeLayoutStrategy *op = static_cast(vp); vtkTree *temp0 = nullptr; vtkDataArray *temp1 = nullptr; vtkDataArray *temp2 = nullptr; vtkTree *temp3 = nullptr; PyObject *result = nullptr; if (op && ap.CheckArgCount(4) && ap.GetVTKObject(temp0, "vtkTree") && ap.GetVTKObject(temp1, "vtkDataArray") && ap.GetVTKObject(temp2, "vtkDataArray") && ap.GetVTKObject(temp3, "vtkTree")) { if (ap.IsBound()) { op->LayoutEdgePoints(temp0, temp1, temp2, temp3); } else { op->vtkStackedTreeLayoutStrategy::LayoutEdgePoints(temp0, temp1, temp2, temp3); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkStackedTreeLayoutStrategy_SetInteriorRadius(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetInteriorRadius"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkStackedTreeLayoutStrategy *op = static_cast(vp); double temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetInteriorRadius(temp0); } else { op->vtkStackedTreeLayoutStrategy::SetInteriorRadius(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkStackedTreeLayoutStrategy_GetInteriorRadius(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetInteriorRadius"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkStackedTreeLayoutStrategy *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { double tempr = (ap.IsBound() ? op->GetInteriorRadius() : op->vtkStackedTreeLayoutStrategy::GetInteriorRadius()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkStackedTreeLayoutStrategy_SetRingThickness(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetRingThickness"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkStackedTreeLayoutStrategy *op = static_cast(vp); double temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetRingThickness(temp0); } else { op->vtkStackedTreeLayoutStrategy::SetRingThickness(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkStackedTreeLayoutStrategy_GetRingThickness(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetRingThickness"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkStackedTreeLayoutStrategy *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { double tempr = (ap.IsBound() ? op->GetRingThickness() : op->vtkStackedTreeLayoutStrategy::GetRingThickness()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkStackedTreeLayoutStrategy_SetRootStartAngle(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetRootStartAngle"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkStackedTreeLayoutStrategy *op = static_cast(vp); double temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetRootStartAngle(temp0); } else { op->vtkStackedTreeLayoutStrategy::SetRootStartAngle(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkStackedTreeLayoutStrategy_GetRootStartAngle(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetRootStartAngle"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkStackedTreeLayoutStrategy *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { double tempr = (ap.IsBound() ? op->GetRootStartAngle() : op->vtkStackedTreeLayoutStrategy::GetRootStartAngle()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkStackedTreeLayoutStrategy_SetRootEndAngle(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetRootEndAngle"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkStackedTreeLayoutStrategy *op = static_cast(vp); double temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetRootEndAngle(temp0); } else { op->vtkStackedTreeLayoutStrategy::SetRootEndAngle(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkStackedTreeLayoutStrategy_GetRootEndAngle(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetRootEndAngle"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkStackedTreeLayoutStrategy *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { double tempr = (ap.IsBound() ? op->GetRootEndAngle() : op->vtkStackedTreeLayoutStrategy::GetRootEndAngle()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkStackedTreeLayoutStrategy_SetUseRectangularCoordinates(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetUseRectangularCoordinates"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkStackedTreeLayoutStrategy *op = static_cast(vp); bool temp0 = false; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetUseRectangularCoordinates(temp0); } else { op->vtkStackedTreeLayoutStrategy::SetUseRectangularCoordinates(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkStackedTreeLayoutStrategy_GetUseRectangularCoordinates(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetUseRectangularCoordinates"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkStackedTreeLayoutStrategy *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { bool tempr = (ap.IsBound() ? op->GetUseRectangularCoordinates() : op->vtkStackedTreeLayoutStrategy::GetUseRectangularCoordinates()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkStackedTreeLayoutStrategy_UseRectangularCoordinatesOn(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "UseRectangularCoordinatesOn"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkStackedTreeLayoutStrategy *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->UseRectangularCoordinatesOn(); } else { op->vtkStackedTreeLayoutStrategy::UseRectangularCoordinatesOn(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkStackedTreeLayoutStrategy_UseRectangularCoordinatesOff(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "UseRectangularCoordinatesOff"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkStackedTreeLayoutStrategy *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->UseRectangularCoordinatesOff(); } else { op->vtkStackedTreeLayoutStrategy::UseRectangularCoordinatesOff(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkStackedTreeLayoutStrategy_SetReverse(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetReverse"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkStackedTreeLayoutStrategy *op = static_cast(vp); bool temp0 = false; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetReverse(temp0); } else { op->vtkStackedTreeLayoutStrategy::SetReverse(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkStackedTreeLayoutStrategy_GetReverse(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetReverse"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkStackedTreeLayoutStrategy *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { bool tempr = (ap.IsBound() ? op->GetReverse() : op->vtkStackedTreeLayoutStrategy::GetReverse()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkStackedTreeLayoutStrategy_ReverseOn(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "ReverseOn"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkStackedTreeLayoutStrategy *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->ReverseOn(); } else { op->vtkStackedTreeLayoutStrategy::ReverseOn(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkStackedTreeLayoutStrategy_ReverseOff(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "ReverseOff"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkStackedTreeLayoutStrategy *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->ReverseOff(); } else { op->vtkStackedTreeLayoutStrategy::ReverseOff(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkStackedTreeLayoutStrategy_SetInteriorLogSpacingValue(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetInteriorLogSpacingValue"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkStackedTreeLayoutStrategy *op = static_cast(vp); double temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetInteriorLogSpacingValue(temp0); } else { op->vtkStackedTreeLayoutStrategy::SetInteriorLogSpacingValue(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkStackedTreeLayoutStrategy_GetInteriorLogSpacingValue(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetInteriorLogSpacingValue"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkStackedTreeLayoutStrategy *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { double tempr = (ap.IsBound() ? op->GetInteriorLogSpacingValue() : op->vtkStackedTreeLayoutStrategy::GetInteriorLogSpacingValue()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkStackedTreeLayoutStrategy_FindVertex(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "FindVertex"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkStackedTreeLayoutStrategy *op = static_cast(vp); vtkTree *temp0 = nullptr; vtkDataArray *temp1 = nullptr; const int size2 = 2; float temp2[2]; float save2[2]; PyObject *result = nullptr; if (op && ap.CheckArgCount(3) && ap.GetVTKObject(temp0, "vtkTree") && ap.GetVTKObject(temp1, "vtkDataArray") && ap.GetArray(temp2, size2)) { ap.SaveArray(temp2, save2, size2); vtkIdType tempr = (ap.IsBound() ? op->FindVertex(temp0, temp1, temp2) : op->vtkStackedTreeLayoutStrategy::FindVertex(temp0, temp1, temp2)); if (ap.ArrayHasChanged(temp2, save2, size2) && !ap.ErrorOccurred()) { ap.SetArray(2, temp2, size2); } if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyMethodDef PyvtkStackedTreeLayoutStrategy_Methods[] = { {"IsTypeOf", PyvtkStackedTreeLayoutStrategy_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", PyvtkStackedTreeLayoutStrategy_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", PyvtkStackedTreeLayoutStrategy_SafeDownCast, METH_VARARGS, "V.SafeDownCast(vtkObjectBase) -> vtkStackedTreeLayoutStrategy\nC++: static vtkStackedTreeLayoutStrategy *SafeDownCast(\n vtkObjectBase *o)\n\n"}, {"NewInstance", PyvtkStackedTreeLayoutStrategy_NewInstance, METH_VARARGS, "V.NewInstance() -> vtkStackedTreeLayoutStrategy\nC++: vtkStackedTreeLayoutStrategy *NewInstance()\n\n"}, {"Layout", PyvtkStackedTreeLayoutStrategy_Layout, METH_VARARGS, "V.Layout(vtkTree, vtkDataArray, vtkDataArray)\nC++: void Layout(vtkTree *inputTree, vtkDataArray *sectorArray,\n vtkDataArray *sizeArray) override;\n\nPerform the layout of the input tree, and store the sector bounds\nof each vertex as a tuple (innerRadius, outerRadius, startAngle,\nendAngle) in a data array.\n"}, {"LayoutEdgePoints", PyvtkStackedTreeLayoutStrategy_LayoutEdgePoints, METH_VARARGS, "V.LayoutEdgePoints(vtkTree, vtkDataArray, vtkDataArray, vtkTree)\nC++: void LayoutEdgePoints(vtkTree *inputTree,\n vtkDataArray *sectorArray, vtkDataArray *sizeArray,\n vtkTree *edgeRoutingTree) override;\n\nFill edgeRoutingTree with points suitable for routing edges of an\noverlaid graph.\n"}, {"SetInteriorRadius", PyvtkStackedTreeLayoutStrategy_SetInteriorRadius, METH_VARARGS, "V.SetInteriorRadius(float)\nC++: virtual void SetInteriorRadius(double _arg)\n\nDefine the tree ring's interior radius.\n"}, {"GetInteriorRadius", PyvtkStackedTreeLayoutStrategy_GetInteriorRadius, METH_VARARGS, "V.GetInteriorRadius() -> float\nC++: virtual double GetInteriorRadius()\n\nDefine the tree ring's interior radius.\n"}, {"SetRingThickness", PyvtkStackedTreeLayoutStrategy_SetRingThickness, METH_VARARGS, "V.SetRingThickness(float)\nC++: virtual void SetRingThickness(double _arg)\n\nDefine the thickness of each of the tree rings.\n"}, {"GetRingThickness", PyvtkStackedTreeLayoutStrategy_GetRingThickness, METH_VARARGS, "V.GetRingThickness() -> float\nC++: virtual double GetRingThickness()\n\nDefine the thickness of each of the tree rings.\n"}, {"SetRootStartAngle", PyvtkStackedTreeLayoutStrategy_SetRootStartAngle, METH_VARARGS, "V.SetRootStartAngle(float)\nC++: virtual void SetRootStartAngle(double _arg)\n\nDefine the start angle for the root node. NOTE: It is assumed\nthat the root end angle is greater than the root start angle and\nsubtends no more than 360 degrees.\n"}, {"GetRootStartAngle", PyvtkStackedTreeLayoutStrategy_GetRootStartAngle, METH_VARARGS, "V.GetRootStartAngle() -> float\nC++: virtual double GetRootStartAngle()\n\nDefine the start angle for the root node. NOTE: It is assumed\nthat the root end angle is greater than the root start angle and\nsubtends no more than 360 degrees.\n"}, {"SetRootEndAngle", PyvtkStackedTreeLayoutStrategy_SetRootEndAngle, METH_VARARGS, "V.SetRootEndAngle(float)\nC++: virtual void SetRootEndAngle(double _arg)\n\nDefine the end angle for the root node. NOTE: It is assumed that\nthe root end angle is greater than the root start angle and\nsubtends no more than 360 degrees.\n"}, {"GetRootEndAngle", PyvtkStackedTreeLayoutStrategy_GetRootEndAngle, METH_VARARGS, "V.GetRootEndAngle() -> float\nC++: virtual double GetRootEndAngle()\n\nDefine the end angle for the root node. NOTE: It is assumed that\nthe root end angle is greater than the root start angle and\nsubtends no more than 360 degrees.\n"}, {"SetUseRectangularCoordinates", PyvtkStackedTreeLayoutStrategy_SetUseRectangularCoordinates, METH_VARARGS, "V.SetUseRectangularCoordinates(bool)\nC++: virtual void SetUseRectangularCoordinates(bool _arg)\n\nDefine whether or not rectangular coordinates are being used (as\nopposed to polar coordinates).\n"}, {"GetUseRectangularCoordinates", PyvtkStackedTreeLayoutStrategy_GetUseRectangularCoordinates, METH_VARARGS, "V.GetUseRectangularCoordinates() -> bool\nC++: virtual bool GetUseRectangularCoordinates()\n\nDefine whether or not rectangular coordinates are being used (as\nopposed to polar coordinates).\n"}, {"UseRectangularCoordinatesOn", PyvtkStackedTreeLayoutStrategy_UseRectangularCoordinatesOn, METH_VARARGS, "V.UseRectangularCoordinatesOn()\nC++: virtual void UseRectangularCoordinatesOn()\n\nDefine whether or not rectangular coordinates are being used (as\nopposed to polar coordinates).\n"}, {"UseRectangularCoordinatesOff", PyvtkStackedTreeLayoutStrategy_UseRectangularCoordinatesOff, METH_VARARGS, "V.UseRectangularCoordinatesOff()\nC++: virtual void UseRectangularCoordinatesOff()\n\nDefine whether or not rectangular coordinates are being used (as\nopposed to polar coordinates).\n"}, {"SetReverse", PyvtkStackedTreeLayoutStrategy_SetReverse, METH_VARARGS, "V.SetReverse(bool)\nC++: virtual void SetReverse(bool _arg)\n\nDefine whether to reverse the order of the tree stacks from low\nto high.\n"}, {"GetReverse", PyvtkStackedTreeLayoutStrategy_GetReverse, METH_VARARGS, "V.GetReverse() -> bool\nC++: virtual bool GetReverse()\n\nDefine whether to reverse the order of the tree stacks from low\nto high.\n"}, {"ReverseOn", PyvtkStackedTreeLayoutStrategy_ReverseOn, METH_VARARGS, "V.ReverseOn()\nC++: virtual void ReverseOn()\n\nDefine whether to reverse the order of the tree stacks from low\nto high.\n"}, {"ReverseOff", PyvtkStackedTreeLayoutStrategy_ReverseOff, METH_VARARGS, "V.ReverseOff()\nC++: virtual void ReverseOff()\n\nDefine whether to reverse the order of the tree stacks from low\nto high.\n"}, {"SetInteriorLogSpacingValue", PyvtkStackedTreeLayoutStrategy_SetInteriorLogSpacingValue, METH_VARARGS, "V.SetInteriorLogSpacingValue(float)\nC++: virtual void SetInteriorLogSpacingValue(double _arg)\n\nThe spacing of tree levels in the edge routing tree. Levels near\nzero give more space to levels near the root, while levels near\none (the default) create evenly-spaced levels. Levels above one\ngive more space to levels near the leaves.\n"}, {"GetInteriorLogSpacingValue", PyvtkStackedTreeLayoutStrategy_GetInteriorLogSpacingValue, METH_VARARGS, "V.GetInteriorLogSpacingValue() -> float\nC++: virtual double GetInteriorLogSpacingValue()\n\nThe spacing of tree levels in the edge routing tree. Levels near\nzero give more space to levels near the root, while levels near\none (the default) create evenly-spaced levels. Levels above one\ngive more space to levels near the leaves.\n"}, {"FindVertex", PyvtkStackedTreeLayoutStrategy_FindVertex, METH_VARARGS, "V.FindVertex(vtkTree, vtkDataArray, [float, float]) -> int\nC++: vtkIdType FindVertex(vtkTree *tree, vtkDataArray *array,\n float pnt[2]) override;\n\nReturns the vertex id that contains pnt (or -1 if no one contains\nit).\n"}, {nullptr, nullptr, 0, nullptr} }; static PyTypeObject PyvtkStackedTreeLayoutStrategy_Type = { PyVarObject_HEAD_INIT(&PyType_Type, 0) "vtkInfovisLayoutPython.vtkStackedTreeLayoutStrategy", // 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 PyvtkStackedTreeLayoutStrategy_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 *PyvtkStackedTreeLayoutStrategy_StaticNew() { return vtkStackedTreeLayoutStrategy::New(); } PyObject *PyvtkStackedTreeLayoutStrategy_ClassNew() { PyVTKClass_Add( &PyvtkStackedTreeLayoutStrategy_Type, PyvtkStackedTreeLayoutStrategy_Methods, "vtkStackedTreeLayoutStrategy", &PyvtkStackedTreeLayoutStrategy_StaticNew); PyTypeObject *pytype = &PyvtkStackedTreeLayoutStrategy_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 *)PyvtkAreaLayoutStrategy_ClassNew(); PyType_Ready(pytype); return (PyObject *)pytype; } void PyVTKAddFile_vtkStackedTreeLayoutStrategy( PyObject *dict) { PyObject *o; o = PyvtkStackedTreeLayoutStrategy_ClassNew(); if (o && PyDict_SetItemString(dict, "vtkStackedTreeLayoutStrategy", o) != 0) { Py_DECREF(o); } }