// python wrapper for vtkLagrangianParticleTracker // #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 "vtkInformationVector.h" #include "vtkLagrangianParticleTracker.h" extern "C" { VTK_ABI_EXPORT void PyVTKAddFile_vtkLagrangianParticleTracker(PyObject *); } extern "C" { VTK_ABI_EXPORT PyObject *PyvtkLagrangianParticleTracker_ClassNew(); } #ifndef DECLARED_PyvtkDataObjectAlgorithm_ClassNew extern "C" { PyObject *PyvtkDataObjectAlgorithm_ClassNew(); } #define DECLARED_PyvtkDataObjectAlgorithm_ClassNew #endif static const char *PyvtkLagrangianParticleTracker_Doc = "vtkLagrangianParticleTracker - Filter to inject and track particles\nin a flow\n\n" "Superclass: vtkDataObjectAlgorithm\n\n" "Introduce LagrangianParticleTracker\n\n" "This is a very flexible and adaptive filter to inject and track\n" "particles in a flow. It takes three inputs :\n" "* port 0 : Flow Input, a volumic dataset containing data to integrate\n" "with, any kind of data object, support distributed input.\n" "* port 1 : Seed (source) Input, a dataset containing point to\n" " generate particles with, any kind of data object, support\n" " distributed input. Only first leaf of composite dataset is used.\n" "* port 2 : Optional Surface Input, containing dataset to interact\n" " with, any kind of data object, support distributed input.\n\n" "It has two outputs :\n" "* port 0 : ParticlePaths : a polyData of polyLines showing the paths\n" " of particles in the flow\n" "* port 1 : ParticleInteractions : empty if no surface input, contains\n" "a polydata of vertex with the same composite layout of surface input\n" " if any, showing all interactions between particles and the surface\n" " input\n\n" "It has a parallel implementation which streams particle between\n" "domains.\n\n" "The most important parameters of this filter is it's\n" "integrationModel. Only one integration model implementation exist\n" "currently in ParaView ,vtkLagrangianMatidaIntegrationModel but the\n" "design enables plugin developers to expand this tracker by creating\n" "new models. A model can define :\n" "* The number of integration variable and new user defined integration\n" "variable\n" "* the way the particle are integrated\n" "* the way particles intersect and interact with the surface\n" "* the way freeFlight termination is handled\n" "* PreProcess and PostProcess methods\n" "* Manual Integration, Manual partichle shifting see\n" " vtkLagrangianBasicIntegrationModel and\n" " vtkLagrangianMatidaIntegrationModel for more information\n\n" "It also let the user choose the Locator to use when integrating in\n" "the flow, as well as the Integrator to use. Integration steps are\n" "also highly configurable, step, step min and step max are passed down\n" "to the integrator (hence min and max does not matter with a non\n" "adaptive integrator like RK4/5)\n\n\n" " An IntegrationModel is a very specific vtkFunctionSet with a lot of\n" "features allowing inherited classes to concentrate on the\n" "mathematical part of the code.\n" " a Particle is basically a class wrapper around three table\n" "containing variables about the particle at previous, current and next\n" "position.\n" " The particle is passed to the integrator, which use the integration\n" "model to integrate the particle in the flow.\n\n" "It has other features also, including :\n" "* Adaptative Step Reintegration, to retry the step with different\n" " time step when the next position is too far\n" "* Different kind of cell length computation, including a divergence\n" " theorem based computation\n" "* Optional lines rendering controlled by a threshold\n" "* Ghost cell support\n" "* Non planar quad interaction support\n" "* Built-in support for surface interaction including, terminate,\n" " bounce, break-up and pass-through surface The serial and parallel\n" " filters are fully tested.\n\n" "@sa\n" "vtkLagrangianMatidaIntegrationModel vtkLagrangianParticle\n" "vtkLagrangianBasicIntegrationModel\n\n"; static PyTypeObject PyvtkLagrangianParticleTracker_CellLengthComputation_Type = { PyVarObject_HEAD_INIT(&PyType_Type, 0) "vtkFiltersFlowPathsPython.vtkLagrangianParticleTracker.CellLengthComputation", // tp_name sizeof(PyIntObject), // tp_basicsize 0, // tp_itemsize nullptr, // tp_dealloc 0, // tp_print nullptr, // tp_getattr nullptr, // tp_setattr nullptr, // tp_compare nullptr, // tp_repr nullptr, // tp_as_number nullptr, // tp_as_sequence nullptr, // tp_as_mapping nullptr, // tp_hash nullptr, // tp_call nullptr, // tp_str nullptr, // tp_getattro nullptr, // tp_setattro nullptr, // tp_as_buffer Py_TPFLAGS_DEFAULT, // tp_flags nullptr, // tp_doc nullptr, // tp_traverse nullptr, // tp_clear nullptr, // tp_richcompare 0, // tp_weaklistoffset nullptr, // tp_iter nullptr, // tp_iternext nullptr, // tp_methods nullptr, // tp_members nullptr, // tp_getset &PyInt_Type, // tp_base nullptr, // tp_dict nullptr, // tp_descr_get nullptr, // tp_descr_set 0, // tp_dictoffset nullptr, // tp_init nullptr, // tp_alloc nullptr, // tp_new PyObject_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 }; PyObject *PyvtkLagrangianParticleTracker_CellLengthComputation_FromEnum(int val) { #ifdef VTK_PY3K PyObject *args = Py_BuildValue("(i)", val); PyObject *obj = PyLong_Type.tp_new(&PyvtkLagrangianParticleTracker_CellLengthComputation_Type, args, nullptr); Py_DECREF(args); return obj; #else PyIntObject *self = PyObject_New(PyIntObject, &PyvtkLagrangianParticleTracker_CellLengthComputation_Type); self->ob_ival = val; return (PyObject *)self; #endif } static PyObject * PyvtkLagrangianParticleTracker_IsTypeOf(PyObject *, PyObject *args) { vtkPythonArgs ap(args, "IsTypeOf"); char *temp0 = nullptr; PyObject *result = nullptr; if (ap.CheckArgCount(1) && ap.GetValue(temp0)) { int tempr = vtkLagrangianParticleTracker::IsTypeOf(temp0); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_IsA(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "IsA"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *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->vtkLagrangianParticleTracker::IsA(temp0)); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_SafeDownCast(PyObject *, PyObject *args) { vtkPythonArgs ap(args, "SafeDownCast"); vtkObjectBase *temp0 = nullptr; PyObject *result = nullptr; if (ap.CheckArgCount(1) && ap.GetVTKObject(temp0, "vtkObjectBase")) { vtkLagrangianParticleTracker *tempr = vtkLagrangianParticleTracker::SafeDownCast(temp0); if (!ap.ErrorOccurred()) { result = ap.BuildVTKObject(tempr); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_NewInstance(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "NewInstance"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { vtkLagrangianParticleTracker *tempr = (ap.IsBound() ? op->NewInstance() : op->vtkLagrangianParticleTracker::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 * PyvtkLagrangianParticleTracker_SetIntegrationModel(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetIntegrationModel"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); vtkLagrangianBasicIntegrationModel *temp0 = nullptr; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetVTKObject(temp0, "vtkLagrangianBasicIntegrationModel")) { if (ap.IsBound()) { op->SetIntegrationModel(temp0); } else { op->vtkLagrangianParticleTracker::SetIntegrationModel(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_GetIntegrationModel(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetIntegrationModel"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { vtkLagrangianBasicIntegrationModel *tempr = (ap.IsBound() ? op->GetIntegrationModel() : op->vtkLagrangianParticleTracker::GetIntegrationModel()); if (!ap.ErrorOccurred()) { result = ap.BuildVTKObject(tempr); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_SetIntegrator(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetIntegrator"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); vtkInitialValueProblemSolver *temp0 = nullptr; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetVTKObject(temp0, "vtkInitialValueProblemSolver")) { if (ap.IsBound()) { op->SetIntegrator(temp0); } else { op->vtkLagrangianParticleTracker::SetIntegrator(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_GetIntegrator(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetIntegrator"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { vtkInitialValueProblemSolver *tempr = (ap.IsBound() ? op->GetIntegrator() : op->vtkLagrangianParticleTracker::GetIntegrator()); if (!ap.ErrorOccurred()) { result = ap.BuildVTKObject(tempr); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_SetCellLengthComputationMode(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetCellLengthComputationMode"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); int temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetCellLengthComputationMode(temp0); } else { op->vtkLagrangianParticleTracker::SetCellLengthComputationMode(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_GetCellLengthComputationMode(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetCellLengthComputationMode"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { int tempr = (ap.IsBound() ? op->GetCellLengthComputationMode() : op->vtkLagrangianParticleTracker::GetCellLengthComputationMode()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_SetStepFactor(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetStepFactor"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); double temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetStepFactor(temp0); } else { op->vtkLagrangianParticleTracker::SetStepFactor(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_GetStepFactor(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetStepFactor"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { double tempr = (ap.IsBound() ? op->GetStepFactor() : op->vtkLagrangianParticleTracker::GetStepFactor()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_SetStepFactorMin(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetStepFactorMin"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); double temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetStepFactorMin(temp0); } else { op->vtkLagrangianParticleTracker::SetStepFactorMin(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_GetStepFactorMin(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetStepFactorMin"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { double tempr = (ap.IsBound() ? op->GetStepFactorMin() : op->vtkLagrangianParticleTracker::GetStepFactorMin()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_SetStepFactorMax(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetStepFactorMax"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); double temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetStepFactorMax(temp0); } else { op->vtkLagrangianParticleTracker::SetStepFactorMax(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_GetStepFactorMax(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetStepFactorMax"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { double tempr = (ap.IsBound() ? op->GetStepFactorMax() : op->vtkLagrangianParticleTracker::GetStepFactorMax()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_SetMaximumNumberOfSteps(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetMaximumNumberOfSteps"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); int temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetMaximumNumberOfSteps(temp0); } else { op->vtkLagrangianParticleTracker::SetMaximumNumberOfSteps(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_GetMaximumNumberOfSteps(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetMaximumNumberOfSteps"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { int tempr = (ap.IsBound() ? op->GetMaximumNumberOfSteps() : op->vtkLagrangianParticleTracker::GetMaximumNumberOfSteps()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_SetAdaptiveStepReintegration(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetAdaptiveStepReintegration"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); bool temp0 = false; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetAdaptiveStepReintegration(temp0); } else { op->vtkLagrangianParticleTracker::SetAdaptiveStepReintegration(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_GetAdaptiveStepReintegration(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetAdaptiveStepReintegration"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { bool tempr = (ap.IsBound() ? op->GetAdaptiveStepReintegration() : op->vtkLagrangianParticleTracker::GetAdaptiveStepReintegration()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_AdaptiveStepReintegrationOn(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "AdaptiveStepReintegrationOn"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->AdaptiveStepReintegrationOn(); } else { op->vtkLagrangianParticleTracker::AdaptiveStepReintegrationOn(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_AdaptiveStepReintegrationOff(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "AdaptiveStepReintegrationOff"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->AdaptiveStepReintegrationOff(); } else { op->vtkLagrangianParticleTracker::AdaptiveStepReintegrationOff(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_SetUseParticlePathsRenderingThreshold(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetUseParticlePathsRenderingThreshold"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); bool temp0 = false; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetUseParticlePathsRenderingThreshold(temp0); } else { op->vtkLagrangianParticleTracker::SetUseParticlePathsRenderingThreshold(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_GetUseParticlePathsRenderingThreshold(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetUseParticlePathsRenderingThreshold"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { bool tempr = (ap.IsBound() ? op->GetUseParticlePathsRenderingThreshold() : op->vtkLagrangianParticleTracker::GetUseParticlePathsRenderingThreshold()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_UseParticlePathsRenderingThresholdOn(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "UseParticlePathsRenderingThresholdOn"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->UseParticlePathsRenderingThresholdOn(); } else { op->vtkLagrangianParticleTracker::UseParticlePathsRenderingThresholdOn(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_UseParticlePathsRenderingThresholdOff(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "UseParticlePathsRenderingThresholdOff"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->UseParticlePathsRenderingThresholdOff(); } else { op->vtkLagrangianParticleTracker::UseParticlePathsRenderingThresholdOff(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_SetParticlePathsRenderingPointsThreshold(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetParticlePathsRenderingPointsThreshold"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); int temp0; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetParticlePathsRenderingPointsThreshold(temp0); } else { op->vtkLagrangianParticleTracker::SetParticlePathsRenderingPointsThreshold(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_GetParticlePathsRenderingPointsThreshold(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetParticlePathsRenderingPointsThreshold"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { int tempr = (ap.IsBound() ? op->GetParticlePathsRenderingPointsThreshold() : op->vtkLagrangianParticleTracker::GetParticlePathsRenderingPointsThreshold()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_SetCreateOutOfDomainParticle(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetCreateOutOfDomainParticle"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); bool temp0 = false; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetCreateOutOfDomainParticle(temp0); } else { op->vtkLagrangianParticleTracker::SetCreateOutOfDomainParticle(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_GetCreateOutOfDomainParticle(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetCreateOutOfDomainParticle"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { bool tempr = (ap.IsBound() ? op->GetCreateOutOfDomainParticle() : op->vtkLagrangianParticleTracker::GetCreateOutOfDomainParticle()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_CreateOutOfDomainParticleOn(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "CreateOutOfDomainParticleOn"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->CreateOutOfDomainParticleOn(); } else { op->vtkLagrangianParticleTracker::CreateOutOfDomainParticleOn(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_CreateOutOfDomainParticleOff(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "CreateOutOfDomainParticleOff"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->CreateOutOfDomainParticleOff(); } else { op->vtkLagrangianParticleTracker::CreateOutOfDomainParticleOff(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_SetSourceData(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetSourceData"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); vtkDataObject *temp0 = nullptr; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetVTKObject(temp0, "vtkDataObject")) { if (ap.IsBound()) { op->SetSourceData(temp0); } else { op->vtkLagrangianParticleTracker::SetSourceData(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_GetSource(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetSource"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { vtkDataObject *tempr = (ap.IsBound() ? op->GetSource() : op->vtkLagrangianParticleTracker::GetSource()); if (!ap.ErrorOccurred()) { result = ap.BuildVTKObject(tempr); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_SetSourceConnection(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetSourceConnection"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); vtkAlgorithmOutput *temp0 = nullptr; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetVTKObject(temp0, "vtkAlgorithmOutput")) { if (ap.IsBound()) { op->SetSourceConnection(temp0); } else { op->vtkLagrangianParticleTracker::SetSourceConnection(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_SetSurfaceData(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetSurfaceData"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); vtkDataObject *temp0 = nullptr; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetVTKObject(temp0, "vtkDataObject")) { if (ap.IsBound()) { op->SetSurfaceData(temp0); } else { op->vtkLagrangianParticleTracker::SetSurfaceData(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_GetSurface(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetSurface"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { vtkDataObject *tempr = (ap.IsBound() ? op->GetSurface() : op->vtkLagrangianParticleTracker::GetSurface()); if (!ap.ErrorOccurred()) { result = ap.BuildVTKObject(tempr); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_SetSurfaceConnection(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetSurfaceConnection"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); vtkAlgorithmOutput *temp0 = nullptr; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetVTKObject(temp0, "vtkAlgorithmOutput")) { if (ap.IsBound()) { op->SetSurfaceConnection(temp0); } else { op->vtkLagrangianParticleTracker::SetSurfaceConnection(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_FillInputPortInformation(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "FillInputPortInformation"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); int temp0; vtkInformation *temp1 = nullptr; PyObject *result = nullptr; if (op && ap.CheckArgCount(2) && ap.GetValue(temp0) && ap.GetVTKObject(temp1, "vtkInformation")) { int tempr = (ap.IsBound() ? op->FillInputPortInformation(temp0, temp1) : op->vtkLagrangianParticleTracker::FillInputPortInformation(temp0, temp1)); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_FillOutputPortInformation(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "FillOutputPortInformation"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); int temp0; vtkInformation *temp1 = nullptr; PyObject *result = nullptr; if (op && ap.CheckArgCount(2) && ap.GetValue(temp0) && ap.GetVTKObject(temp1, "vtkInformation")) { int tempr = (ap.IsBound() ? op->FillOutputPortInformation(temp0, temp1) : op->vtkLagrangianParticleTracker::FillOutputPortInformation(temp0, temp1)); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_GetMTime(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetMTime"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { unsigned long tempr = (ap.IsBound() ? op->GetMTime() : op->vtkLagrangianParticleTracker::GetMTime()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkLagrangianParticleTracker_GetNewParticleId(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetNewParticleId"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkLagrangianParticleTracker *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { vtkIdType tempr = (ap.IsBound() ? op->GetNewParticleId() : op->vtkLagrangianParticleTracker::GetNewParticleId()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyMethodDef PyvtkLagrangianParticleTracker_Methods[] = { {"IsTypeOf", PyvtkLagrangianParticleTracker_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", PyvtkLagrangianParticleTracker_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", PyvtkLagrangianParticleTracker_SafeDownCast, METH_VARARGS, "V.SafeDownCast(vtkObjectBase) -> vtkLagrangianParticleTracker\nC++: static vtkLagrangianParticleTracker *SafeDownCast(\n vtkObjectBase *o)\n\n"}, {"NewInstance", PyvtkLagrangianParticleTracker_NewInstance, METH_VARARGS, "V.NewInstance() -> vtkLagrangianParticleTracker\nC++: vtkLagrangianParticleTracker *NewInstance()\n\n"}, {"SetIntegrationModel", PyvtkLagrangianParticleTracker_SetIntegrationModel, METH_VARARGS, "V.SetIntegrationModel(vtkLagrangianBasicIntegrationModel)\nC++: void SetIntegrationModel(\n vtkLagrangianBasicIntegrationModel *integrationModel)\n\nSet/Get the integration model.\n"}, {"GetIntegrationModel", PyvtkLagrangianParticleTracker_GetIntegrationModel, METH_VARARGS, "V.GetIntegrationModel() -> vtkLagrangianBasicIntegrationModel\nC++: virtual vtkLagrangianBasicIntegrationModel *GetIntegrationModel(\n )\n\nSet/Get the integration model.\n"}, {"SetIntegrator", PyvtkLagrangianParticleTracker_SetIntegrator, METH_VARARGS, "V.SetIntegrator(vtkInitialValueProblemSolver)\nC++: void SetIntegrator(vtkInitialValueProblemSolver *integrator)\n\nSet/Get the integrator.\n"}, {"GetIntegrator", PyvtkLagrangianParticleTracker_GetIntegrator, METH_VARARGS, "V.GetIntegrator() -> vtkInitialValueProblemSolver\nC++: virtual vtkInitialValueProblemSolver *GetIntegrator()\n\nSet/Get the integrator.\n"}, {"SetCellLengthComputationMode", PyvtkLagrangianParticleTracker_SetCellLengthComputationMode, METH_VARARGS, "V.SetCellLengthComputationMode(int)\nC++: virtual void SetCellLengthComputationMode(int _arg)\n\nSet/Get the cell length computation mode. Available modes are :\n- STEP_LAST_CELL_LENGTH : Compute cell length using getLength\n method on the last cell the particle was in\n- STEP_CUR_CELL_LENGTH : Compute cell length using getLength\n method on the current cell the particle is in\n- STEP_LAST_CELL_VEL_DIR : Compute cell length using the particle\nvelocity and the edges of the last cell the particle was in.\n- STEP_CUR_CELL_VEL_DIR : Compute cell length using the particle\n velocity and the edges of the last cell the particle was in.\n- STEP_LAST_CELL_DIV_THEO : Compute cell length using the\n particle velocity and the divergence theorem, not supported\n with vtkVoxel, fallback to STEP_LAST_CELL_LENGTH\n- STEP_CUR_CELL_DIV_THEO : Compute cell length using the particle\nvelocity and the divergence theorem, not supported with vtkVoxel,\nfallback to STEP_CUR_CELL_LENGTH\n"}, {"GetCellLengthComputationMode", PyvtkLagrangianParticleTracker_GetCellLengthComputationMode, METH_VARARGS, "V.GetCellLengthComputationMode() -> int\nC++: virtual int GetCellLengthComputationMode()\n\nSet/Get the cell length computation mode. Available modes are :\n- STEP_LAST_CELL_LENGTH : Compute cell length using getLength\n method on the last cell the particle was in\n- STEP_CUR_CELL_LENGTH : Compute cell length using getLength\n method on the current cell the particle is in\n- STEP_LAST_CELL_VEL_DIR : Compute cell length using the particle\nvelocity and the edges of the last cell the particle was in.\n- STEP_CUR_CELL_VEL_DIR : Compute cell length using the particle\n velocity and the edges of the last cell the particle was in.\n- STEP_LAST_CELL_DIV_THEO : Compute cell length using the\n particle velocity and the divergence theorem, not supported\n with vtkVoxel, fallback to STEP_LAST_CELL_LENGTH\n- STEP_CUR_CELL_DIV_THEO : Compute cell length using the particle\nvelocity and the divergence theorem, not supported with vtkVoxel,\nfallback to STEP_CUR_CELL_LENGTH\n"}, {"SetStepFactor", PyvtkLagrangianParticleTracker_SetStepFactor, METH_VARARGS, "V.SetStepFactor(float)\nC++: virtual void SetStepFactor(double _arg)\n\nSet/Get the integration step factor.\n"}, {"GetStepFactor", PyvtkLagrangianParticleTracker_GetStepFactor, METH_VARARGS, "V.GetStepFactor() -> float\nC++: virtual double GetStepFactor()\n\nSet/Get the integration step factor.\n"}, {"SetStepFactorMin", PyvtkLagrangianParticleTracker_SetStepFactorMin, METH_VARARGS, "V.SetStepFactorMin(float)\nC++: virtual void SetStepFactorMin(double _arg)\n\nSet/Get the integration step factor min.\n"}, {"GetStepFactorMin", PyvtkLagrangianParticleTracker_GetStepFactorMin, METH_VARARGS, "V.GetStepFactorMin() -> float\nC++: virtual double GetStepFactorMin()\n\nSet/Get the integration step factor min.\n"}, {"SetStepFactorMax", PyvtkLagrangianParticleTracker_SetStepFactorMax, METH_VARARGS, "V.SetStepFactorMax(float)\nC++: virtual void SetStepFactorMax(double _arg)\n\nSet/Get the integration step factor max.\n"}, {"GetStepFactorMax", PyvtkLagrangianParticleTracker_GetStepFactorMax, METH_VARARGS, "V.GetStepFactorMax() -> float\nC++: virtual double GetStepFactorMax()\n\nSet/Get the integration step factor max.\n"}, {"SetMaximumNumberOfSteps", PyvtkLagrangianParticleTracker_SetMaximumNumberOfSteps, METH_VARARGS, "V.SetMaximumNumberOfSteps(int)\nC++: virtual void SetMaximumNumberOfSteps(int _arg)\n\nSet/Get the maximum number of steps.\n"}, {"GetMaximumNumberOfSteps", PyvtkLagrangianParticleTracker_GetMaximumNumberOfSteps, METH_VARARGS, "V.GetMaximumNumberOfSteps() -> int\nC++: virtual int GetMaximumNumberOfSteps()\n\nSet/Get the maximum number of steps.\n"}, {"SetAdaptiveStepReintegration", PyvtkLagrangianParticleTracker_SetAdaptiveStepReintegration, METH_VARARGS, "V.SetAdaptiveStepReintegration(bool)\nC++: virtual void SetAdaptiveStepReintegration(bool _arg)\n\nSet/Get the Adaptive Step Reintegration feature. it checks the\nstep size after the integration and if it is too big will retry\nwith a smaller step\n"}, {"GetAdaptiveStepReintegration", PyvtkLagrangianParticleTracker_GetAdaptiveStepReintegration, METH_VARARGS, "V.GetAdaptiveStepReintegration() -> bool\nC++: virtual bool GetAdaptiveStepReintegration()\n\nSet/Get the Adaptive Step Reintegration feature. it checks the\nstep size after the integration and if it is too big will retry\nwith a smaller step\n"}, {"AdaptiveStepReintegrationOn", PyvtkLagrangianParticleTracker_AdaptiveStepReintegrationOn, METH_VARARGS, "V.AdaptiveStepReintegrationOn()\nC++: virtual void AdaptiveStepReintegrationOn()\n\nSet/Get the Adaptive Step Reintegration feature. it checks the\nstep size after the integration and if it is too big will retry\nwith a smaller step\n"}, {"AdaptiveStepReintegrationOff", PyvtkLagrangianParticleTracker_AdaptiveStepReintegrationOff, METH_VARARGS, "V.AdaptiveStepReintegrationOff()\nC++: virtual void AdaptiveStepReintegrationOff()\n\nSet/Get the Adaptive Step Reintegration feature. it checks the\nstep size after the integration and if it is too big will retry\nwith a smaller step\n"}, {"SetUseParticlePathsRenderingThreshold", PyvtkLagrangianParticleTracker_SetUseParticlePathsRenderingThreshold, METH_VARARGS, "V.SetUseParticlePathsRenderingThreshold(bool)\nC++: virtual void SetUseParticlePathsRenderingThreshold(bool _arg)\n\nSet/Get the Optional Paths Rendering feature\n"}, {"GetUseParticlePathsRenderingThreshold", PyvtkLagrangianParticleTracker_GetUseParticlePathsRenderingThreshold, METH_VARARGS, "V.GetUseParticlePathsRenderingThreshold() -> bool\nC++: virtual bool GetUseParticlePathsRenderingThreshold()\n\nSet/Get the Optional Paths Rendering feature\n"}, {"UseParticlePathsRenderingThresholdOn", PyvtkLagrangianParticleTracker_UseParticlePathsRenderingThresholdOn, METH_VARARGS, "V.UseParticlePathsRenderingThresholdOn()\nC++: virtual void UseParticlePathsRenderingThresholdOn()\n\nSet/Get the Optional Paths Rendering feature\n"}, {"UseParticlePathsRenderingThresholdOff", PyvtkLagrangianParticleTracker_UseParticlePathsRenderingThresholdOff, METH_VARARGS, "V.UseParticlePathsRenderingThresholdOff()\nC++: virtual void UseParticlePathsRenderingThresholdOff()\n\nSet/Get the Optional Paths Rendering feature\n"}, {"SetParticlePathsRenderingPointsThreshold", PyvtkLagrangianParticleTracker_SetParticlePathsRenderingPointsThreshold, METH_VARARGS, "V.SetParticlePathsRenderingPointsThreshold(int)\nC++: virtual void SetParticlePathsRenderingPointsThreshold(\n int _arg)\n\nSet/Get the Optional Paths Rendering feature\n"}, {"GetParticlePathsRenderingPointsThreshold", PyvtkLagrangianParticleTracker_GetParticlePathsRenderingPointsThreshold, METH_VARARGS, "V.GetParticlePathsRenderingPointsThreshold() -> int\nC++: virtual int GetParticlePathsRenderingPointsThreshold()\n\nSet/Get the Optional Paths Rendering feature\n"}, {"SetCreateOutOfDomainParticle", PyvtkLagrangianParticleTracker_SetCreateOutOfDomainParticle, METH_VARARGS, "V.SetCreateOutOfDomainParticle(bool)\nC++: virtual void SetCreateOutOfDomainParticle(bool _arg)\n\nSet/Get the Creation of particle initially outside of the domain\n"}, {"GetCreateOutOfDomainParticle", PyvtkLagrangianParticleTracker_GetCreateOutOfDomainParticle, METH_VARARGS, "V.GetCreateOutOfDomainParticle() -> bool\nC++: virtual bool GetCreateOutOfDomainParticle()\n\nSet/Get the Creation of particle initially outside of the domain\n"}, {"CreateOutOfDomainParticleOn", PyvtkLagrangianParticleTracker_CreateOutOfDomainParticleOn, METH_VARARGS, "V.CreateOutOfDomainParticleOn()\nC++: virtual void CreateOutOfDomainParticleOn()\n\nSet/Get the Creation of particle initially outside of the domain\n"}, {"CreateOutOfDomainParticleOff", PyvtkLagrangianParticleTracker_CreateOutOfDomainParticleOff, METH_VARARGS, "V.CreateOutOfDomainParticleOff()\nC++: virtual void CreateOutOfDomainParticleOff()\n\nSet/Get the Creation of particle initially outside of the domain\n"}, {"SetSourceData", PyvtkLagrangianParticleTracker_SetSourceData, METH_VARARGS, "V.SetSourceData(vtkDataObject)\nC++: void SetSourceData(vtkDataObject *source)\n\nSpecify the source object used to generate particle initial\nposition (seeds). Note that this method does not connect the\npipeline. The algorithm will work on the input data as it is\nwithout updating the producer of the data. See\nSetSourceConnection for connecting the pipeline.\n"}, {"GetSource", PyvtkLagrangianParticleTracker_GetSource, METH_VARARGS, "V.GetSource() -> vtkDataObject\nC++: vtkDataObject *GetSource()\n\nSpecify the source object used to generate particle initial\nposition (seeds). Note that this method does not connect the\npipeline. The algorithm will work on the input data as it is\nwithout updating the producer of the data. See\nSetSourceConnection for connecting the pipeline.\n"}, {"SetSourceConnection", PyvtkLagrangianParticleTracker_SetSourceConnection, METH_VARARGS, "V.SetSourceConnection(vtkAlgorithmOutput)\nC++: void SetSourceConnection(vtkAlgorithmOutput *algOutput)\n\nSpecify the source object used to generate particle initial\nposition (seeds).\n"}, {"SetSurfaceData", PyvtkLagrangianParticleTracker_SetSurfaceData, METH_VARARGS, "V.SetSurfaceData(vtkDataObject)\nC++: void SetSurfaceData(vtkDataObject *source)\n\nSpecify the source object used to compute surface interaction\nwith Note that this method does not connect the pipeline. The\nalgorithm will work on the input data as it is without updating\nthe producer of the data. See SetSurfaceConnection for connecting\nthe pipeline.\n"}, {"GetSurface", PyvtkLagrangianParticleTracker_GetSurface, METH_VARARGS, "V.GetSurface() -> vtkDataObject\nC++: vtkDataObject *GetSurface()\n\nSpecify the source object used to compute surface interaction\nwith Note that this method does not connect the pipeline. The\nalgorithm will work on the input data as it is without updating\nthe producer of the data. See SetSurfaceConnection for connecting\nthe pipeline.\n"}, {"SetSurfaceConnection", PyvtkLagrangianParticleTracker_SetSurfaceConnection, METH_VARARGS, "V.SetSurfaceConnection(vtkAlgorithmOutput)\nC++: void SetSurfaceConnection(vtkAlgorithmOutput *algOutput)\n\nSpecify the object used to compute surface interaction with.\n"}, {"FillInputPortInformation", PyvtkLagrangianParticleTracker_FillInputPortInformation, METH_VARARGS, "V.FillInputPortInformation(int, vtkInformation) -> int\nC++: int FillInputPortInformation(int port, vtkInformation *info)\n override;\n\nDeclare input port type\n"}, {"FillOutputPortInformation", PyvtkLagrangianParticleTracker_FillOutputPortInformation, METH_VARARGS, "V.FillOutputPortInformation(int, vtkInformation) -> int\nC++: int FillOutputPortInformation(int port, vtkInformation *info)\n override;\n\nDeclare output port type\n"}, {"GetMTime", PyvtkLagrangianParticleTracker_GetMTime, METH_VARARGS, "V.GetMTime() -> int\nC++: vtkMTimeType GetMTime() override;\n\nGet the tracker modified time taking into account the integration\nmodel and the integrator.\n"}, {"GetNewParticleId", PyvtkLagrangianParticleTracker_GetNewParticleId, METH_VARARGS, "V.GetNewParticleId() -> int\nC++: virtual vtkIdType GetNewParticleId()\n\nGet an unique id for a particle\n"}, {nullptr, nullptr, 0, nullptr} }; static PyTypeObject PyvtkLagrangianParticleTracker_Type = { PyVarObject_HEAD_INIT(&PyType_Type, 0) "vtkFiltersFlowPathsPython.vtkLagrangianParticleTracker", // 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 PyvtkLagrangianParticleTracker_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 *PyvtkLagrangianParticleTracker_StaticNew() { return vtkLagrangianParticleTracker::New(); } PyObject *PyvtkLagrangianParticleTracker_ClassNew() { PyVTKClass_Add( &PyvtkLagrangianParticleTracker_Type, PyvtkLagrangianParticleTracker_Methods, "vtkLagrangianParticleTracker", &PyvtkLagrangianParticleTracker_StaticNew); PyTypeObject *pytype = &PyvtkLagrangianParticleTracker_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 *)PyvtkDataObjectAlgorithm_ClassNew(); PyObject *d = pytype->tp_dict; PyObject *o; PyType_Ready(&PyvtkLagrangianParticleTracker_CellLengthComputation_Type); PyvtkLagrangianParticleTracker_CellLengthComputation_Type.tp_new = nullptr; vtkPythonUtil::AddEnumToMap(&PyvtkLagrangianParticleTracker_CellLengthComputation_Type); o = (PyObject *)&PyvtkLagrangianParticleTracker_CellLengthComputation_Type; if (PyDict_SetItemString(d, "CellLengthComputation", o) != 0) { Py_DECREF(o); } for (int c = 0; c < 6; c++) { typedef vtkLagrangianParticleTracker::CellLengthComputation cxx_enum_type; static const struct { const char *name; cxx_enum_type value; } constants[6] = { { "STEP_LAST_CELL_LENGTH", vtkLagrangianParticleTracker::STEP_LAST_CELL_LENGTH }, { "STEP_CUR_CELL_LENGTH", vtkLagrangianParticleTracker::STEP_CUR_CELL_LENGTH }, { "STEP_LAST_CELL_VEL_DIR", vtkLagrangianParticleTracker::STEP_LAST_CELL_VEL_DIR }, { "STEP_CUR_CELL_VEL_DIR", vtkLagrangianParticleTracker::STEP_CUR_CELL_VEL_DIR }, { "STEP_LAST_CELL_DIV_THEO", vtkLagrangianParticleTracker::STEP_LAST_CELL_DIV_THEO }, { "STEP_CUR_CELL_DIV_THEO", vtkLagrangianParticleTracker::STEP_CUR_CELL_DIV_THEO }, }; o = PyvtkLagrangianParticleTracker_CellLengthComputation_FromEnum(constants[c].value); if (o) { PyDict_SetItemString(d, constants[c].name, o); Py_DECREF(o); } } PyType_Ready(pytype); return (PyObject *)pytype; } void PyVTKAddFile_vtkLagrangianParticleTracker( PyObject *dict) { PyObject *o; o = PyvtkLagrangianParticleTracker_ClassNew(); if (o && PyDict_SetItemString(dict, "vtkLagrangianParticleTracker", o) != 0) { Py_DECREF(o); } }