SBGVisualModelFactory Class Reference

This class describes a visual model factory.

Constructor and destructor

virtual ~SBGVisualModelFactory ()
 

Identity

virtual SBUUID getUUID () const
 Returns the widget UUID.
 
virtual QString getName () const
 Returns the widget name (used as a title for the embedding window)
 
virtual QPixmap getLogo () const
 Returns the pixmap logo.
 
virtual int getFormat () const
 Returns the format.
 

Settings

virtual void loadSettings (SBGSettings *setting)
 Loads settings.
 
virtual void saveSettings (SBGSettings *setting)
 Saves settings.
 

Setup

virtual SBMVisualModelcreate (const SBNodeIndexer &nodeIndexer)
 Creates a visual model.
 

Additional Inherited Members

- Signals inherited from SBGWindowWidget
void shown (bool)
 Emitted when the widget is shown or hidden.
 
- Public Member Functions inherited from SBGDataGraphNodeFactory
virtual ~SBGDataGraphNodeFactory ()
 
virtual bool hasGUI () const
 Returns whether the factory has a GUI.
 
virtual SBNodecreate ()
 Creates a node.
 
- Public Member Functions inherited from SBGWindowWidget
 SB_DECLARE_DATA (SBGWindowWidget)
 
virtual ~SBGWindowWidget ()
 Destructor.
 
virtual QString getCitation () const
 Returns the citation information.
 
SBGWindowgetWindow () const
 Returns the pointer to the embedding SAMSON window.
 
void loadDefaultSettings ()
 Loads default settings.
 
void saveDefaultSettings ()
 Saves default settings.
 
void setLockedFlag (bool lockedFlag)
 Sets whether the widget is locked (on top)
 
bool getLockedFlag () const
 Returns whether the widget is locked (on top)
 
bool getHighlightingFlag () const
 Returns the highlighting flag.
 
void setHighlightingFlag (bool highlightingFlag)
 Sets the highlighting flag.
 
- Protected Member Functions inherited from SBGWindowWidget
void hideEvent (QHideEvent *event)
 
void showEvent (QShowEvent *event)
 
 SBGWindowWidget ()
 
 SBGWindowWidget (SBGWindowWidgetData *dataPointer)
 Builds a particle at position p.
 
- Protected Attributes inherited from SBGWindowWidget
SBGWindowWidgetData * dataPointer