GeomDrawCallbackData¶
from acron.core import GeomDrawCallbackData
- class GeomDrawCallbackData¶
Bases:
Bases:
CallbackDataThis specialization on
CallbackDatais passed when the callback is initiated from deep within the draw traversal, for a particular Geom.Inheritance diagram
digraph inheritanceb263b54f40 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "CallbackData" [URL="acron.core.CallbackData.html#acron.core.CallbackData",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "CallbackData" [arrowsize=0.75,style=""]; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "GeomDrawCallbackData" [URL="acron.core.GeomDrawCallbackData.html#acron.core.GeomDrawCallbackData",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "CallbackData" -> "GeomDrawCallbackData" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TypedObject" [arrowsize=0.75,style=""]; }- static get_class_type()¶
- get_force()¶
Returns true if any required data should be forced into memory if necessary to render the object, or false if the object should be omitted if some of the data is not available (at least until the data becomes available later).
- get_gsg()¶
Returns a pointer to the current GSG.
- get_lost_state()¶
Returns the lost_state flag. See
set_lost_state().
- get_object()¶
Returns a pointer to the particular object that is being drawn.
- set_lost_state()¶
Sets the lost_state flag. If this is true, the callback does not have to be quite so careful to clean up after itself; Acron will assume that the graphics state is in an unknown state after the callback has finished, and will issue all the necessary calls to restore it. If this is false, Acron will assume the callback will leave the graphics state exactly as it came in, and won’t bother to try to restore it. The default is true.