FeaturePython::ViewProviderPoints Class Reference

List of all members.

Public Member Functions

def __getstate__
def __init__
def __setstate__
def attach
def getDefaultDisplayMode
def getDisplayModes
def getIcon
def onChanged
def setDisplayMode
def updateData

Detailed Description

Definition at line 363 of file FeaturePython.py.


Member Function Documentation

def FeaturePython::ViewProviderPoints::__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 427 of file FeaturePython.py.

def FeaturePython::ViewProviderPoints::__init__ (   self,
  obj 
)
Set this object to the proxy object of the actual view provider 

Definition at line 364 of file FeaturePython.py.

def FeaturePython::ViewProviderPoints::__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 434 of file FeaturePython.py.

def FeaturePython::ViewProviderPoints::attach (   self,
  obj 
)
Setup the scene sub-graph of the view provider, this method is mandatory 

Definition at line 368 of file FeaturePython.py.

def FeaturePython::ViewProviderPoints::getDefaultDisplayMode (   self  ) 
Return the name of the default display mode. It must be defined in getDisplayModes. 

Definition at line 381 of file FeaturePython.py.

def FeaturePython::ViewProviderPoints::getDisplayModes (   self,
  obj 
)
Return a list of display modes. 

Definition at line 376 of file FeaturePython.py.

def FeaturePython::ViewProviderPoints::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 395 of file FeaturePython.py.

def FeaturePython::ViewProviderPoints::onChanged (   self,
  vp,
  prop 
)
Print the name of the property that has changed 

Definition at line 391 of file FeaturePython.py.

def FeaturePython::ViewProviderPoints::setDisplayMode (   self,
  mode 
)
Map the display mode defined in attach with those defined in getDisplayModes.
Since they have the same names nothing needs to be done. This method is optinal.

Definition at line 385 of file FeaturePython.py.

def FeaturePython::ViewProviderPoints::updateData (   self,
  fp,
  prop 
)
If a property of the handled feature has changed we have the chance to handle this here 

Definition at line 372 of file FeaturePython.py.


The documentation for this class was generated from the following file:

Generated on Wed Nov 23 19:01:56 2011 for FreeCAD by  doxygen 1.6.1