Public Member Functions | |
def | __getstate__ |
def | __init__ |
def | __setstate__ |
def | attach |
def | getDefaultDisplayMode |
def | getIcon |
Definition at line 474 of file FeaturePython.py.
def FeaturePython::ViewProviderMesh::__getstate__ | ( | self | ) |
When saving the document this object gets stored using Python's cPickle module. Since we have some un-pickable here -- the Coin stuff -- we must define this method to return a tuple of all pickable objects or None.
Definition at line 519 of file FeaturePython.py.
def FeaturePython::ViewProviderMesh::__init__ | ( | self, | ||
obj | ||||
) |
Set this object to the proxy object of the actual view provider
Definition at line 475 of file FeaturePython.py.
def FeaturePython::ViewProviderMesh::__setstate__ | ( | self, | ||
state | ||||
) |
When restoring the pickled object from document we have the chance to set some internals here. Since no data were pickled nothing needs to be done here.
Definition at line 526 of file FeaturePython.py.
def FeaturePython::ViewProviderMesh::attach | ( | self, | ||
obj | ||||
) |
Setup the scene sub-graph of the view provider, this method is mandatory
Definition at line 479 of file FeaturePython.py.
def FeaturePython::ViewProviderMesh::getDefaultDisplayMode | ( | self | ) |
Return the name of the default display mode. It must be defined in getDisplayModes.
Definition at line 483 of file FeaturePython.py.
def FeaturePython::ViewProviderMesh::getIcon | ( | self | ) |
Return the icon in XMP format which will appear in the tree view. This method is optional and if not defined a default icon is shown.
Definition at line 487 of file FeaturePython.py.