// python wrapper for vtkTextActor3D // #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 "vtkTextActor3D.h" extern "C" { VTK_ABI_EXPORT void PyVTKAddFile_vtkTextActor3D(PyObject *); } extern "C" { VTK_ABI_EXPORT PyObject *PyvtkTextActor3D_ClassNew(); } #ifndef DECLARED_PyvtkProp3D_ClassNew extern "C" { PyObject *PyvtkProp3D_ClassNew(); } #define DECLARED_PyvtkProp3D_ClassNew #endif static const char *PyvtkTextActor3D_Doc = "vtkTextActor3D - An actor that displays text.\n\n" "Superclass: vtkProp3D\n\n" "The input text is rendered into a buffer, which in turn is used as a\n" "texture applied onto a quad (a vtkImageActor is used under the hood).\n" "@warning\n" "This class is experimental at the moment.\n" "- The orientation is not optimized, the quad should be oriented, not\n" " the text itself when it is rendered in the buffer (we end up with\n" " excessively big textures for 45 degrees angles). This will be fixed\n" "first.\n" "- No checking is done at the moment regarding hardware texture size\n" " limits.\n\n" "@sa\n" "vtkProp3D\n\n"; static PyObject * PyvtkTextActor3D_IsTypeOf(PyObject *, PyObject *args) { vtkPythonArgs ap(args, "IsTypeOf"); char *temp0 = nullptr; PyObject *result = nullptr; if (ap.CheckArgCount(1) && ap.GetValue(temp0)) { int tempr = vtkTextActor3D::IsTypeOf(temp0); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkTextActor3D_IsA(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "IsA"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTextActor3D *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->vtkTextActor3D::IsA(temp0)); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkTextActor3D_SafeDownCast(PyObject *, PyObject *args) { vtkPythonArgs ap(args, "SafeDownCast"); vtkObjectBase *temp0 = nullptr; PyObject *result = nullptr; if (ap.CheckArgCount(1) && ap.GetVTKObject(temp0, "vtkObjectBase")) { vtkTextActor3D *tempr = vtkTextActor3D::SafeDownCast(temp0); if (!ap.ErrorOccurred()) { result = ap.BuildVTKObject(tempr); } } return result; } static PyObject * PyvtkTextActor3D_NewInstance(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "NewInstance"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTextActor3D *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { vtkTextActor3D *tempr = (ap.IsBound() ? op->NewInstance() : op->vtkTextActor3D::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 * PyvtkTextActor3D_SetInput(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetInput"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTextActor3D *op = static_cast(vp); char *temp0 = nullptr; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetInput(temp0); } else { op->vtkTextActor3D::SetInput(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTextActor3D_GetInput(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetInput"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTextActor3D *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { char *tempr = (ap.IsBound() ? op->GetInput() : op->vtkTextActor3D::GetInput()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkTextActor3D_SetTextProperty(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetTextProperty"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTextActor3D *op = static_cast(vp); vtkTextProperty *temp0 = nullptr; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetVTKObject(temp0, "vtkTextProperty")) { if (ap.IsBound()) { op->SetTextProperty(temp0); } else { op->vtkTextActor3D::SetTextProperty(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTextActor3D_GetTextProperty(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetTextProperty"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTextActor3D *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { vtkTextProperty *tempr = (ap.IsBound() ? op->GetTextProperty() : op->vtkTextActor3D::GetTextProperty()); if (!ap.ErrorOccurred()) { result = ap.BuildVTKObject(tempr); } } return result; } static PyObject * PyvtkTextActor3D_GetRenderedDPI(PyObject *, PyObject *args) { vtkPythonArgs ap(args, "GetRenderedDPI"); PyObject *result = nullptr; if (ap.CheckArgCount(0)) { int tempr = vtkTextActor3D::GetRenderedDPI(); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkTextActor3D_ShallowCopy(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "ShallowCopy"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTextActor3D *op = static_cast(vp); vtkProp *temp0 = nullptr; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetVTKObject(temp0, "vtkProp")) { if (ap.IsBound()) { op->ShallowCopy(temp0); } else { op->vtkTextActor3D::ShallowCopy(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTextActor3D_GetBounds_s1(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetBounds"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTextActor3D *op = static_cast(vp); int sizer = 6; PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { double *tempr = (ap.IsBound() ? op->GetBounds() : op->vtkTextActor3D::GetBounds()); if (!ap.ErrorOccurred()) { result = ap.BuildTuple(tempr, sizer); } } return result; } static PyObject * PyvtkTextActor3D_GetBounds_s2(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetBounds"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTextActor3D *op = static_cast(vp); const int size0 = 6; double temp0[6]; double save0[6]; 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->vtkTextActor3D::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 * PyvtkTextActor3D_GetBounds(PyObject *self, PyObject *args) { int nargs = vtkPythonArgs::GetArgCount(self, args); switch(nargs) { case 0: return PyvtkTextActor3D_GetBounds_s1(self, args); case 1: return PyvtkTextActor3D_GetBounds_s2(self, args); } vtkPythonArgs::ArgCountError(nargs, "GetBounds"); return nullptr; } static PyObject * PyvtkTextActor3D_GetBoundingBox(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetBoundingBox"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTextActor3D *op = static_cast(vp); const int size0 = 4; int temp0[4]; int save0[4]; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetArray(temp0, size0)) { ap.SaveArray(temp0, save0, size0); int tempr = (ap.IsBound() ? op->GetBoundingBox(temp0) : op->vtkTextActor3D::GetBoundingBox(temp0)); if (ap.ArrayHasChanged(temp0, save0, size0) && !ap.ErrorOccurred()) { ap.SetArray(0, temp0, size0); } if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkTextActor3D_ReleaseGraphicsResources(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "ReleaseGraphicsResources"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTextActor3D *op = static_cast(vp); vtkWindow *temp0 = nullptr; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetVTKObject(temp0, "vtkWindow")) { if (ap.IsBound()) { op->ReleaseGraphicsResources(temp0); } else { op->vtkTextActor3D::ReleaseGraphicsResources(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTextActor3D_SetForceOpaque(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetForceOpaque"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTextActor3D *op = static_cast(vp); bool temp0 = false; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetForceOpaque(temp0); } else { op->vtkTextActor3D::SetForceOpaque(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTextActor3D_GetForceOpaque(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetForceOpaque"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTextActor3D *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { bool tempr = (ap.IsBound() ? op->GetForceOpaque() : op->vtkTextActor3D::GetForceOpaque()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkTextActor3D_ForceOpaqueOn(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "ForceOpaqueOn"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTextActor3D *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->ForceOpaqueOn(); } else { op->vtkTextActor3D::ForceOpaqueOn(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTextActor3D_ForceOpaqueOff(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "ForceOpaqueOff"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTextActor3D *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->ForceOpaqueOff(); } else { op->vtkTextActor3D::ForceOpaqueOff(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTextActor3D_SetForceTranslucent(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "SetForceTranslucent"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTextActor3D *op = static_cast(vp); bool temp0 = false; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetValue(temp0)) { if (ap.IsBound()) { op->SetForceTranslucent(temp0); } else { op->vtkTextActor3D::SetForceTranslucent(temp0); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTextActor3D_GetForceTranslucent(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "GetForceTranslucent"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTextActor3D *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { bool tempr = (ap.IsBound() ? op->GetForceTranslucent() : op->vtkTextActor3D::GetForceTranslucent()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkTextActor3D_ForceTranslucentOn(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "ForceTranslucentOn"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTextActor3D *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->ForceTranslucentOn(); } else { op->vtkTextActor3D::ForceTranslucentOn(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTextActor3D_ForceTranslucentOff(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "ForceTranslucentOff"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTextActor3D *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { if (ap.IsBound()) { op->ForceTranslucentOff(); } else { op->vtkTextActor3D::ForceTranslucentOff(); } if (!ap.ErrorOccurred()) { result = ap.BuildNone(); } } return result; } static PyObject * PyvtkTextActor3D_RenderOpaqueGeometry(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "RenderOpaqueGeometry"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTextActor3D *op = static_cast(vp); vtkViewport *temp0 = nullptr; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetVTKObject(temp0, "vtkViewport")) { int tempr = (ap.IsBound() ? op->RenderOpaqueGeometry(temp0) : op->vtkTextActor3D::RenderOpaqueGeometry(temp0)); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkTextActor3D_RenderTranslucentPolygonalGeometry(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "RenderTranslucentPolygonalGeometry"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTextActor3D *op = static_cast(vp); vtkViewport *temp0 = nullptr; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetVTKObject(temp0, "vtkViewport")) { int tempr = (ap.IsBound() ? op->RenderTranslucentPolygonalGeometry(temp0) : op->vtkTextActor3D::RenderTranslucentPolygonalGeometry(temp0)); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkTextActor3D_RenderOverlay(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "RenderOverlay"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTextActor3D *op = static_cast(vp); vtkViewport *temp0 = nullptr; PyObject *result = nullptr; if (op && ap.CheckArgCount(1) && ap.GetVTKObject(temp0, "vtkViewport")) { int tempr = (ap.IsBound() ? op->RenderOverlay(temp0) : op->vtkTextActor3D::RenderOverlay(temp0)); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyObject * PyvtkTextActor3D_HasTranslucentPolygonalGeometry(PyObject *self, PyObject *args) { vtkPythonArgs ap(self, args, "HasTranslucentPolygonalGeometry"); vtkObjectBase *vp = ap.GetSelfPointer(self, args); vtkTextActor3D *op = static_cast(vp); PyObject *result = nullptr; if (op && ap.CheckArgCount(0)) { int tempr = (ap.IsBound() ? op->HasTranslucentPolygonalGeometry() : op->vtkTextActor3D::HasTranslucentPolygonalGeometry()); if (!ap.ErrorOccurred()) { result = ap.BuildValue(tempr); } } return result; } static PyMethodDef PyvtkTextActor3D_Methods[] = { {"IsTypeOf", PyvtkTextActor3D_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", PyvtkTextActor3D_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", PyvtkTextActor3D_SafeDownCast, METH_VARARGS, "V.SafeDownCast(vtkObjectBase) -> vtkTextActor3D\nC++: static vtkTextActor3D *SafeDownCast(vtkObjectBase *o)\n\n"}, {"NewInstance", PyvtkTextActor3D_NewInstance, METH_VARARGS, "V.NewInstance() -> vtkTextActor3D\nC++: vtkTextActor3D *NewInstance()\n\n"}, {"SetInput", PyvtkTextActor3D_SetInput, METH_VARARGS, "V.SetInput(string)\nC++: virtual void SetInput(const char *_arg)\n\nSet the text string to be displayed.\n"}, {"GetInput", PyvtkTextActor3D_GetInput, METH_VARARGS, "V.GetInput() -> string\nC++: virtual char *GetInput()\n\nSet the text string to be displayed.\n"}, {"SetTextProperty", PyvtkTextActor3D_SetTextProperty, METH_VARARGS, "V.SetTextProperty(vtkTextProperty)\nC++: virtual void SetTextProperty(vtkTextProperty *p)\n\nSet/Get the text property.\n"}, {"GetTextProperty", PyvtkTextActor3D_GetTextProperty, METH_VARARGS, "V.GetTextProperty() -> vtkTextProperty\nC++: virtual vtkTextProperty *GetTextProperty()\n\nSet/Get the text property.\n"}, {"GetRenderedDPI", PyvtkTextActor3D_GetRenderedDPI, METH_VARARGS, "V.GetRenderedDPI() -> int\nC++: static int GetRenderedDPI()\n\nSince a 3D text actor is not pixel-aligned and positioned in 3D\nspace, the text is rendered at a constant DPI, rather than using\nthe current window DPI. This static method returns the DPI value\nused to produce the text images.\n"}, {"ShallowCopy", PyvtkTextActor3D_ShallowCopy, METH_VARARGS, "V.ShallowCopy(vtkProp)\nC++: void ShallowCopy(vtkProp *prop) override;\n\nShallow copy of this text actor. Overloads the virtual vtkProp\nmethod.\n"}, {"GetBounds", PyvtkTextActor3D_GetBounds, METH_VARARGS, "V.GetBounds() -> (float, float, float, float, float, float)\nC++: double *GetBounds() override;\nV.GetBounds([float, float, float, float, float, float])\nC++: void GetBounds(double bounds[6])\n\nGet the bounds for this Prop3D as\n(Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).\n"}, {"GetBoundingBox", PyvtkTextActor3D_GetBoundingBox, METH_VARARGS, "V.GetBoundingBox([int, int, int, int]) -> int\nC++: int GetBoundingBox(int bbox[4])\n\nGet the vtkTextRenderer-derived bounding box for the given\nvtkTextProperty and text string str. Results are returned in the\nfour element bbox int array. This call can be used for sizing\nother elements.\n"}, {"ReleaseGraphicsResources", PyvtkTextActor3D_ReleaseGraphicsResources, METH_VARARGS, "V.ReleaseGraphicsResources(vtkWindow)\nC++: void ReleaseGraphicsResources(vtkWindow *) override;\n\nWARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT\nUSE THIS METHOD OUTSIDE OF THE RENDERING PROCESS. Release any\ngraphics resources that are being consumed by this actor. The\nparameter window could be used to determine which graphic\nresources to release.\n"}, {"SetForceOpaque", PyvtkTextActor3D_SetForceOpaque, METH_VARARGS, "V.SetForceOpaque(bool)\nC++: virtual void SetForceOpaque(bool opaque)\n\n"}, {"GetForceOpaque", PyvtkTextActor3D_GetForceOpaque, METH_VARARGS, "V.GetForceOpaque() -> bool\nC++: virtual bool GetForceOpaque()\n\n"}, {"ForceOpaqueOn", PyvtkTextActor3D_ForceOpaqueOn, METH_VARARGS, "V.ForceOpaqueOn()\nC++: virtual void ForceOpaqueOn()\n\n"}, {"ForceOpaqueOff", PyvtkTextActor3D_ForceOpaqueOff, METH_VARARGS, "V.ForceOpaqueOff()\nC++: virtual void ForceOpaqueOff()\n\n"}, {"SetForceTranslucent", PyvtkTextActor3D_SetForceTranslucent, METH_VARARGS, "V.SetForceTranslucent(bool)\nC++: virtual void SetForceTranslucent(bool trans)\n\n"}, {"GetForceTranslucent", PyvtkTextActor3D_GetForceTranslucent, METH_VARARGS, "V.GetForceTranslucent() -> bool\nC++: virtual bool GetForceTranslucent()\n\n"}, {"ForceTranslucentOn", PyvtkTextActor3D_ForceTranslucentOn, METH_VARARGS, "V.ForceTranslucentOn()\nC++: virtual void ForceTranslucentOn()\n\n"}, {"ForceTranslucentOff", PyvtkTextActor3D_ForceTranslucentOff, METH_VARARGS, "V.ForceTranslucentOff()\nC++: virtual void ForceTranslucentOff()\n\n"}, {"RenderOpaqueGeometry", PyvtkTextActor3D_RenderOpaqueGeometry, METH_VARARGS, "V.RenderOpaqueGeometry(vtkViewport) -> int\nC++: int RenderOpaqueGeometry(vtkViewport *viewport) override;\n\nWARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT\nUSE THIS METHOD OUTSIDE OF THE RENDERING PROCESS. Draw the text\nactor to the screen.\n"}, {"RenderTranslucentPolygonalGeometry", PyvtkTextActor3D_RenderTranslucentPolygonalGeometry, METH_VARARGS, "V.RenderTranslucentPolygonalGeometry(vtkViewport) -> int\nC++: int RenderTranslucentPolygonalGeometry(vtkViewport *viewport)\n override;\n\nWARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT\nUSE THIS METHOD OUTSIDE OF THE RENDERING PROCESS. Draw the text\nactor to the screen.\n"}, {"RenderOverlay", PyvtkTextActor3D_RenderOverlay, METH_VARARGS, "V.RenderOverlay(vtkViewport) -> int\nC++: int RenderOverlay(vtkViewport *viewport) override;\n\nWARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT\nUSE THIS METHOD OUTSIDE OF THE RENDERING PROCESS. Draw the text\nactor to the screen.\n"}, {"HasTranslucentPolygonalGeometry", PyvtkTextActor3D_HasTranslucentPolygonalGeometry, METH_VARARGS, "V.HasTranslucentPolygonalGeometry() -> int\nC++: int HasTranslucentPolygonalGeometry() override;\n\nDoes this prop have some translucent polygonal geometry?\n"}, {nullptr, nullptr, 0, nullptr} }; static PyTypeObject PyvtkTextActor3D_Type = { PyVarObject_HEAD_INIT(&PyType_Type, 0) "vtkRenderingCorePython.vtkTextActor3D", // 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 PyvtkTextActor3D_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 *PyvtkTextActor3D_StaticNew() { return vtkTextActor3D::New(); } PyObject *PyvtkTextActor3D_ClassNew() { PyVTKClass_Add( &PyvtkTextActor3D_Type, PyvtkTextActor3D_Methods, "vtkTextActor3D", &PyvtkTextActor3D_StaticNew); PyTypeObject *pytype = &PyvtkTextActor3D_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 *)PyvtkProp3D_ClassNew(); PyType_Ready(pytype); return (PyObject *)pytype; } void PyVTKAddFile_vtkTextActor3D( PyObject *dict) { PyObject *o; o = PyvtkTextActor3D_ClassNew(); if (o && PyDict_SetItemString(dict, "vtkTextActor3D", o) != 0) { Py_DECREF(o); } }