// python wrapper for vtkPlotParallelCoordinates // #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 "vtkRect.h" #include "vtkStdString.h" #include "vtkPlotParallelCoordinates.h" extern "C" { VTK_ABI_EXPORT void PyVTKAddFile_vtkPlotParallelCoordinates(PyObject *); } extern "C" { VTK_ABI_EXPORT PyObject *PyvtkPlotParallelCoordinates_ClassNew(); } #ifndef DECLARED_PyvtkPlot_ClassNew extern "C" { PyObject *PyvtkPlot_ClassNew(); } #define DECLARED_PyvtkPlot_ClassNew #endif static const char *PyvtkPlotParallelCoordinates_Doc = "vtkPlotParallelCoordinates - Class for drawing a parallel coordinate\nplot given columns from a vtkTable.\n\n" "Superclass: vtkPlot\n\n" ; static PyObject * PyvtkPlotParallelCoordinates_IsTypeOf(PyObject *, PyObject *args) { vtkPythonArgs ap(args, "IsTypeOf"); char *temp0 = nullptr; PyObject *result = nullptr; if (ap.CheckArgCount(1) && ap.GetValue(temp0)) { int tempr = vtkPlotParallelCoordinates::IsTypeOf(temp0); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkPlotParallelCoordinates_IsA(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "IsA"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkPlotParallelCoordinates *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->vtkPlotParallelCoordinates::IsA(temp0)); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkPlotParallelCoordinates_SafeDownCast(PyObject *, PyObject *args) { vtkPythonArgs ap(args, "SafeDownCast"); vtkObjectBase *temp0 = nullptr; PyObject *result = nullptr; if (ap.CheckArgCount(1) && ap.GetVTKObject(temp0, "vtkObjectBase")) { vtkPlotParallelCoordinates *tempr = vtkPlotParallelCoordinates::SafeDownCast(temp0); if (!ap.ErrorOccurred()) { result = ap.BuildVTKObject(tempr); } } return result; } static PyObject * PyvtkPlotParallelCoordinates_NewInstance(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "NewInstance"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkPlotParallelCoordinates *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { vtkPlotParallelCoordinates *tempr = (ap.IsBound() ? op->NewInstance() : op->vtkPlotParallelCoordinates::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 * PyvtkPlotParallelCoordinates_Update(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "Update"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkPlotParallelCoordinates *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->Update(); } else { op->vtkPlotParallelCoordinates::Update(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkPlotParallelCoordinates_Paint(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "Paint"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkPlotParallelCoordinates *op = static_cast(vp); vtkContext2D *temp0 = nullptr; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetVTKObject(temp0, "vtkContext2D")) { bool tempr = (ap.IsBound() ? op->Paint(temp0) : op->vtkPlotParallelCoordinates::Paint(temp0)); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkPlotParallelCoordinates_PaintLegend(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "PaintLegend"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkPlotParallelCoordinates *op = static_cast(vp); vtkContext2D *temp0 = nullptr; vtkRectf *temp1 = nullptr; PyObject *pobj1 = nullptr; int temp2; PyObject *result = nullptr; if (op && ap.CheckArgCount(3) && ap.GetVTKObject(temp0, "vtkContext2D") && ap.GetSpecialObject(temp1, pobj1, "vtkRectf") && ap.GetValue(temp2)) { bool tempr = (ap.IsBound() ? op->PaintLegend(temp0, *temp1, temp2) : op->vtkPlotParallelCoordinates::PaintLegend(temp0, *temp1, temp2)); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } Py_XDECREF(pobj1); return result; } static PyObject * PyvtkPlotParallelCoordinates_GetBounds(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetBounds"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkPlotParallelCoordinates *op = static_cast(vp); const int size0 = 4; double temp0[4]; double save0[4]; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetArray(temp0, size0)) { ap.SaveArray(temp0, save0, size0); if (ap.IsBound()) { op->GetBounds(temp0); } else { op->vtkPlotParallelCoordinates::GetBounds(temp0); } if (ap.ArrayHasChanged(temp0, save0, size0) && !ap.ErrorOccurred()) { ap.SetArray(0, temp0, size0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkPlotParallelCoordinates_SetSelectionRange(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetSelectionRange"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkPlotParallelCoordinates *op = static_cast(vp); int temp0; float temp1; float temp2; PyObject *result = nullptr; if (op && ap.CheckArgCount(3) && ap.GetValue(temp0) && ap.GetValue(temp1) && ap.GetValue(temp2)) { bool tempr = (ap.IsBound() ? op->SetSelectionRange(temp0, temp1, temp2) : op->vtkPlotParallelCoordinates::SetSelectionRange(temp0, temp1, temp2)); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkPlotParallelCoordinates_ResetSelectionRange(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "ResetSelectionRange"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkPlotParallelCoordinates *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { bool tempr = (ap.IsBound() ? op->ResetSelectionRange() : op->vtkPlotParallelCoordinates::ResetSelectionRange()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkPlotParallelCoordinates_SetInputData_s1(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetInputData"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkPlotParallelCoordinates *op = static_cast(vp); vtkTable *temp0 = nullptr; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetVTKObject(temp0, "vtkTable")) { if (ap.IsBound()) { op->SetInputData(temp0); } else { op->vtkPlotParallelCoordinates::SetInputData(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkPlotParallelCoordinates_SetInputData_s2(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetInputData"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkPlotParallelCoordinates *op = static_cast(vp); vtkTable *temp0 = nullptr; vtkStdString temp1; vtkStdString temp2; PyObject *result = nullptr; if (op && ap.CheckArgCount(3) && ap.GetVTKObject(temp0, "vtkTable") && ap.GetValue(temp1) && ap.GetValue(temp2)) { if (ap.IsBound()) { op->SetInputData(temp0, temp1, temp2); } else { op->vtkPlotParallelCoordinates::SetInputData(temp0, temp1, temp2); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkPlotParallelCoordinates_SetInputData(PyObject *self, PyObject *args) { int nargs = vtkPythonArgs::GetArgCount(self, args); switch(nargs) { case 1: return PyvtkPlotParallelCoordinates_SetInputData_s1(self, args); case 3: return PyvtkPlotParallelCoordinates_SetInputData_s2(self, args); } vtkPythonArgs::ArgCountError(nargs, "SetInputData"); return nullptr; } static PyObject * PyvtkPlotParallelCoordinates_SetLookupTable(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetLookupTable"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkPlotParallelCoordinates *op = static_cast(vp); vtkScalarsToColors *temp0 = nullptr; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetVTKObject(temp0, "vtkScalarsToColors")) { if (ap.IsBound()) { op->SetLookupTable(temp0); } else { op->vtkPlotParallelCoordinates::SetLookupTable(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkPlotParallelCoordinates_GetLookupTable(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetLookupTable"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkPlotParallelCoordinates *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { vtkScalarsToColors *tempr = (ap.IsBound() ? op->GetLookupTable() : op->vtkPlotParallelCoordinates::GetLookupTable()); if (!ap.ErrorOccurred()) { result = ap.BuildVTKObject(tempr); } } return result; } static PyObject * PyvtkPlotParallelCoordinates_CreateDefaultLookupTable(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "CreateDefaultLookupTable"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkPlotParallelCoordinates *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->CreateDefaultLookupTable(); } else { op->vtkPlotParallelCoordinates::CreateDefaultLookupTable(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkPlotParallelCoordinates_SetScalarVisibility(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetScalarVisibility"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkPlotParallelCoordinates *op = static_cast(vp); int temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetScalarVisibility(temp0); } else { op->vtkPlotParallelCoordinates::SetScalarVisibility(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkPlotParallelCoordinates_GetScalarVisibility(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetScalarVisibility"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkPlotParallelCoordinates *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { int tempr = (ap.IsBound() ? op->GetScalarVisibility() : op->vtkPlotParallelCoordinates::GetScalarVisibility()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkPlotParallelCoordinates_ScalarVisibilityOn(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "ScalarVisibilityOn"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkPlotParallelCoordinates *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->ScalarVisibilityOn(); } else { op->vtkPlotParallelCoordinates::ScalarVisibilityOn(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkPlotParallelCoordinates_ScalarVisibilityOff(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "ScalarVisibilityOff"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkPlotParallelCoordinates *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->ScalarVisibilityOff(); } else { op->vtkPlotParallelCoordinates::ScalarVisibilityOff(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkPlotParallelCoordinates_SelectColorArray_s1(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SelectColorArray"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkPlotParallelCoordinates *op = static_cast(vp); vtkIdType temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SelectColorArray(temp0); } else { op->vtkPlotParallelCoordinates::SelectColorArray(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkPlotParallelCoordinates_SelectColorArray_s2(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SelectColorArray"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkPlotParallelCoordinates *op = static_cast(vp); vtkStdString temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SelectColorArray(temp0); } else { op->vtkPlotParallelCoordinates::SelectColorArray(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyMethodDef PyvtkPlotParallelCoordinates_SelectColorArray_Methods[] = { {nullptr, PyvtkPlotParallelCoordinates_SelectColorArray_s1, METH_VARARGS, "@k"}, {nullptr, PyvtkPlotParallelCoordinates_SelectColorArray_s2, METH_VARARGS, "@s"}, {nullptr, nullptr, 0, nullptr} }; static PyObject * PyvtkPlotParallelCoordinates_SelectColorArray(PyObject *self, PyObject *args) { PyMethodDef *methods = PyvtkPlotParallelCoordinates_SelectColorArray_Methods; int nargs = vtkPythonArgs::GetArgCount(self, args); switch(nargs) { case 1: return vtkPythonOverload::CallMethod(methods, self, args); } vtkPythonArgs::ArgCountError(nargs, "SelectColorArray"); return nullptr; } static PyObject * PyvtkPlotParallelCoordinates_GetColorArrayName(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetColorArrayName"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkPlotParallelCoordinates *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { vtkStdString tempr = (ap.IsBound() ? op->GetColorArrayName() : op->vtkPlotParallelCoordinates::GetColorArrayName()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyMethodDef PyvtkPlotParallelCoordinates_Methods[] = { {"IsTypeOf", PyvtkPlotParallelCoordinates_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", PyvtkPlotParallelCoordinates_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", PyvtkPlotParallelCoordinates_SafeDownCast, METH_VARARGS, "V.SafeDownCast(vtkObjectBase) -> vtkPlotParallelCoordinates\nC++: static vtkPlotParallelCoordinates *SafeDownCast(\n vtkObjectBase *o)\n\n"}, {"NewInstance", PyvtkPlotParallelCoordinates_NewInstance, METH_VARARGS, "V.NewInstance() -> vtkPlotParallelCoordinates\nC++: vtkPlotParallelCoordinates *NewInstance()\n\n"}, {"Update", PyvtkPlotParallelCoordinates_Update, METH_VARARGS, "V.Update()\nC++: void Update() override;\n\nPerform any updates to the item that may be necessary before\nrendering. The scene should take care of calling this on all\nitems before their Paint function is invoked.\n"}, {"Paint", PyvtkPlotParallelCoordinates_Paint, METH_VARARGS, "V.Paint(vtkContext2D) -> bool\nC++: bool Paint(vtkContext2D *painter) override;\n\nPaint event for the XY plot, called whenever the chart needs to\nbe drawn\n"}, {"PaintLegend", PyvtkPlotParallelCoordinates_PaintLegend, METH_VARARGS, "V.PaintLegend(vtkContext2D, vtkRectf, int) -> bool\nC++: bool PaintLegend(vtkContext2D *painter, const vtkRectf &rect,\n int legendIndex) override;\n\nPaint legend event for the XY plot, called whenever the legend\nneeds the plot items symbol/mark/line drawn. A rect is supplied\nwith the lower left corner of the rect (elements 0 and 1) and\nwith width x height (elements 2 and 3). The plot can choose how\nto fill the space supplied.\n"}, {"GetBounds", PyvtkPlotParallelCoordinates_GetBounds, METH_VARARGS, "V.GetBounds([float, float, float, float])\nC++: void GetBounds(double bounds[4]) override;\n\nGet the bounds for this mapper as\n(Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).\n"}, {"SetSelectionRange", PyvtkPlotParallelCoordinates_SetSelectionRange, METH_VARARGS, "V.SetSelectionRange(int, float, float) -> bool\nC++: bool SetSelectionRange(int Axis, float low, float high)\n\nSet the selection criteria on the given axis in normalized space\n(0.0 - 1.0).\n"}, {"ResetSelectionRange", PyvtkPlotParallelCoordinates_ResetSelectionRange, METH_VARARGS, "V.ResetSelectionRange() -> bool\nC++: bool ResetSelectionRange()\n\nReset the selection criteria for the chart.\n"}, {"SetInputData", PyvtkPlotParallelCoordinates_SetInputData, METH_VARARGS, "V.SetInputData(vtkTable)\nC++: void SetInputData(vtkTable *table) override;\nV.SetInputData(vtkTable, string, string)\nC++: void SetInputData(vtkTable *table, const vtkStdString &,\n const vtkStdString &) override;\n\nThis is a convenience function to set the input table.\n"}, {"SetLookupTable", PyvtkPlotParallelCoordinates_SetLookupTable, METH_VARARGS, "V.SetLookupTable(vtkScalarsToColors)\nC++: void SetLookupTable(vtkScalarsToColors *lut)\n\nSpecify a lookup table for the mapper to use.\n"}, {"GetLookupTable", PyvtkPlotParallelCoordinates_GetLookupTable, METH_VARARGS, "V.GetLookupTable() -> vtkScalarsToColors\nC++: vtkScalarsToColors *GetLookupTable()\n\nSpecify a lookup table for the mapper to use.\n"}, {"CreateDefaultLookupTable", PyvtkPlotParallelCoordinates_CreateDefaultLookupTable, METH_VARARGS, "V.CreateDefaultLookupTable()\nC++: virtual void CreateDefaultLookupTable()\n\nCreate default lookup table. Generally used to create one when\nnone is available with the scalar data.\n"}, {"SetScalarVisibility", PyvtkPlotParallelCoordinates_SetScalarVisibility, METH_VARARGS, "V.SetScalarVisibility(int)\nC++: virtual void SetScalarVisibility(int _arg)\n\nTurn on/off flag to control whether scalar data is used to color\nobjects.\n"}, {"GetScalarVisibility", PyvtkPlotParallelCoordinates_GetScalarVisibility, METH_VARARGS, "V.GetScalarVisibility() -> int\nC++: virtual int GetScalarVisibility()\n\nTurn on/off flag to control whether scalar data is used to color\nobjects.\n"}, {"ScalarVisibilityOn", PyvtkPlotParallelCoordinates_ScalarVisibilityOn, METH_VARARGS, "V.ScalarVisibilityOn()\nC++: virtual void ScalarVisibilityOn()\n\nTurn on/off flag to control whether scalar data is used to color\nobjects.\n"}, {"ScalarVisibilityOff", PyvtkPlotParallelCoordinates_ScalarVisibilityOff, METH_VARARGS, "V.ScalarVisibilityOff()\nC++: virtual void ScalarVisibilityOff()\n\nTurn on/off flag to control whether scalar data is used to color\nobjects.\n"}, {"SelectColorArray", PyvtkPlotParallelCoordinates_SelectColorArray, METH_VARARGS, "V.SelectColorArray(int)\nC++: void SelectColorArray(vtkIdType arrayNum)\nV.SelectColorArray(string)\nC++: void SelectColorArray(const vtkStdString &arrayName)\n\nWhen ScalarMode is set to UsePointFieldData or UseCellFieldData,\nyou can specify which array to use for coloring using these\nmethods. The lookup table will decide how to convert vectors to\ncolors.\n"}, {"GetColorArrayName", PyvtkPlotParallelCoordinates_GetColorArrayName, METH_VARARGS, "V.GetColorArrayName() -> string\nC++: vtkStdString GetColorArrayName()\n\nGet the array name to color by.\n"}, {nullptr, nullptr, 0, nullptr} }; static PyTypeObject PyvtkPlotParallelCoordinates_Type = { PyVarObject_HEAD_INIT(&PyType_Type, 0) "vtkChartsCorePython.vtkPlotParallelCoordinates", // 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 PyvtkPlotParallelCoordinates_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 *PyvtkPlotParallelCoordinates_StaticNew() { return vtkPlotParallelCoordinates::New(); } PyObject *PyvtkPlotParallelCoordinates_ClassNew() { PyVTKClass_Add( &PyvtkPlotParallelCoordinates_Type, PyvtkPlotParallelCoordinates_Methods, "vtkPlotParallelCoordinates", &PyvtkPlotParallelCoordinates_StaticNew); PyTypeObject *pytype = &PyvtkPlotParallelCoordinates_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 *)PyvtkPlot_ClassNew(); PyType_Ready(pytype); return (PyObject *)pytype; } void PyVTKAddFile_vtkPlotParallelCoordinates( PyObject *dict) { PyObject *o; o = PyvtkPlotParallelCoordinates_ClassNew(); if (o && PyDict_SetItemString(dict, "vtkPlotParallelCoordinates", o) != 0) { Py_DECREF(o); } }