Gui::SoFCSelection Class Reference

Selection node This node does the complete highlighting and selection together with the viewer. More...

#include <SoFCSelection.h>

List of all members.

Public Types

enum  HighlightModes { AUTO, ON, OFF }
enum  Selected { NOTSELECTED, SELECTED }
enum  SelectionModes { SEL_ON, SEL_OFF }
enum  Styles { EMISSIVE, EMISSIVE_DIFFUSE, BOX }

Public Member Functions

virtual void doAction (SoAction *action)
virtual void GLRender (SoGLRenderAction *action)
virtual void GLRenderBelowPath (SoGLRenderAction *action)
virtual void GLRenderInPath (SoGLRenderAction *action)
virtual void handleEvent (SoHandleEventAction *action)
SbBool isHighlighted (void) const
 SoFCSelection (void)

Static Public Member Functions

static void finish (void)
static void initClass (void)
static void turnOffCurrentHighlight (SoGLRenderAction *action)

Public Attributes

SoSFColor colorHighlight
SoSFColor colorSelection
SoSFString documentName
SoSFEnum highlightMode
SoSFString objectName
SoSFEnum selected
SoSFEnum selectionMode
SoSFEnum style
SoSFString subElementName

Protected Member Functions

virtual SbBool readInstance (SoInput *in, unsigned short flags)
virtual void redrawHighlighted (SoAction *act, SbBool flag)
virtual ~SoFCSelection ()

Detailed Description

Selection node This node does the complete highlighting and selection together with the viewer.

Author:
Jürgen Riegel

Definition at line 53 of file SoFCSelection.h.


Member Enumeration Documentation

Enumerator:
AUTO 
ON 
OFF 

Definition at line 63 of file SoFCSelection.h.

Enumerator:
NOTSELECTED 
SELECTED 

Definition at line 71 of file SoFCSelection.h.

Enumerator:
SEL_ON 
SEL_OFF 

Definition at line 67 of file SoFCSelection.h.

Enumerator:
EMISSIVE 
EMISSIVE_DIFFUSE 
BOX 

Definition at line 75 of file SoFCSelection.h.


Constructor & Destructor Documentation

SoFCSelection::SoFCSelection ( void   ) 
SoFCSelection::~SoFCSelection (  )  [protected, virtual]

Destructor.

Definition at line 119 of file SoFCSelection.cpp.


Member Function Documentation

void SoFCSelection::doAction ( SoAction *  action  )  [virtual]
void SoFCSelection::finish ( void   )  [static]

Definition at line 138 of file SoFCSelection.cpp.

void SoFCSelection::GLRender ( SoGLRenderAction *  action  )  [virtual]

Definition at line 653 of file SoFCSelection.cpp.

void SoFCSelection::GLRenderBelowPath ( SoGLRenderAction *  action  )  [virtual]

Definition at line 622 of file SoFCSelection.cpp.

References AUTO, highlightMode, ON, SELECTED, and selected.

void SoFCSelection::GLRenderInPath ( SoGLRenderAction *  action  )  [virtual]

Definition at line 660 of file SoFCSelection.cpp.

References AUTO, highlightMode, ON, SELECTED, and selected.

void SoFCSelection::handleEvent ( SoHandleEventAction *  action  )  [virtual]
void SoFCSelection::initClass ( void   )  [static]

Definition at line 133 of file SoFCSelection.cpp.

Referenced by Gui::SoFCDB::init().

SbBool Gui::SoFCSelection::isHighlighted ( void   )  const [inline]

Definition at line 79 of file SoFCSelection.h.

Referenced by Gui::SoBoxSelectionRenderAction::apply(), and handleEvent().

SbBool SoFCSelection::readInstance ( SoInput *  in,
unsigned short  flags 
) [protected, virtual]

Definition at line 839 of file SoFCSelection.cpp.

void SoFCSelection::redrawHighlighted ( SoAction *  action,
SbBool  doHighlight 
) [protected, virtual]

Empty method in Coin. Can be used by subclasses to be told when status change.

Definition at line 748 of file SoFCSelection.cpp.

References AUTO, Gui::SoGLRenderActionElement::get(), Gui::SoGLWidgetElement::get(), and highlightMode.

Referenced by handleEvent().

void SoFCSelection::turnOffCurrentHighlight ( SoGLRenderAction *  action  )  [static]

Static method that can be used to turn off the current highlight.

Definition at line 147 of file SoFCSelection.cpp.


Member Data Documentation


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

Generated on Wed Nov 23 19:02:03 2011 for FreeCAD by  doxygen 1.6.1