SoContextReport Class Reference
#include <SoContextReport.h>
Public Member Functions | |
| SoContextReport () | |
| Constructor. | |
| SoContextReport () | |
| Constructor. | |
Static Public Member Functions | |
| static void | initClass () |
| static class initialization method of OpenInventor | |
| static void | initClass () |
| static class initialization method of OpenInventor | |
Public Attributes | |
| SoMFName | index |
| indices of the context entries to report back | |
| SoMFString | value |
| contains the reported values, do not write to this field as it will change | |
| SoMFString | defaultValue |
| default value, if the context entry is not present | |
Protected Member Functions | |
| virtual void | GLRender (SoGLRenderAction *action) |
| virtual void | callback (SoCallbackAction *action) |
| virtual void | getBoundingBox (SoGetBoundingBoxAction *action) |
| virtual void | handleEvent (SoHandleEventAction *action) |
| virtual void | pick (SoPickAction *action) |
| virtual void | getMatrix (SoGetMatrixAction *action) |
| virtual void | search (SoSearchAction *action) |
| virtual void | doAction (SoAction *action) |
| virtual | ~SoContextReport () |
| destructor | |
| virtual void | GLRender (SoGLRenderAction *action) |
| virtual void | callback (SoCallbackAction *action) |
| virtual void | getBoundingBox (SoGetBoundingBoxAction *action) |
| virtual void | handleEvent (SoHandleEventAction *action) |
| virtual void | pick (SoPickAction *action) |
| virtual void | getMatrix (SoGetMatrixAction *action) |
| virtual void | search (SoSearchAction *action) |
| virtual void | doAction (SoAction *action) |
| virtual | ~SoContextReport () |
| destructor | |
Static Protected Member Functions | |
| static void | callDoAction (SoAction *, SoNode *) |
| static void | callDoAction (SoAction *, SoNode *) |
Private Member Functions | |
| SO_NODE_HEADER (SoContextReport) | |
| SO_NODE_HEADER (SoContextReport) | |
Detailed Description
This property node reports values from the SoContextElement in the state of the current action. It will only report values, if they differ from the ones in the current state to avoid constant notification and re-rendering.File format :
SoContextReport { MFName index [] MFString value [] MFString defaultValue [] }
Definition at line 67 of file _CPack_Packages/Linux-Source/TBZ2/studierstube-4.3/include/stb/components/starlight/SoContextReport.h.
Constructor & Destructor Documentation
| SoContextReport | ( | ) |
Constructor.
Definition at line 63 of file _CPack_Packages/Linux-Source/TBZ2/studierstube-4.3/src/components/starlight/SoContextReport.cpp.
References defaultValue, index, and value.
| ~SoContextReport | ( | ) | [protected, virtual] |
destructor
Definition at line 82 of file _CPack_Packages/Linux-Source/TBZ2/studierstube-4.3/src/components/starlight/SoContextReport.cpp.
| SoContextReport | ( | ) |
Constructor.
| virtual ~SoContextReport | ( | ) | [protected, virtual] |
destructor
Member Function Documentation
| virtual void callback | ( | SoCallbackAction * | action | ) | [protected, virtual] |
| void callback | ( | SoCallbackAction * | action | ) | [protected, virtual] |
Definition at line 91 of file _CPack_Packages/Linux-Source/TBZ2/studierstube-4.3/src/components/starlight/SoContextReport.cpp.
References doAction().

| static void callDoAction | ( | SoAction * | , | |
| SoNode * | ||||
| ) | [static, protected] |
| void callDoAction | ( | SoAction * | action, | |
| SoNode * | node | |||
| ) | [static, protected] |
Definition at line 122 of file _CPack_Packages/Linux-Source/TBZ2/studierstube-4.3/src/components/starlight/SoContextReport.cpp.
Referenced by initClass().
| virtual void doAction | ( | SoAction * | action | ) | [protected, virtual] |
does the actual action work. It modifies the SoContextElement state.
| void doAction | ( | SoAction * | action | ) | [protected, virtual] |
does the actual action work. It modifies the SoContextElement state.
Definition at line 127 of file _CPack_Packages/Linux-Source/TBZ2/studierstube-4.3/src/components/starlight/SoContextReport.cpp.
References defaultValue, SoContextElement::get(), index, SoContextElement::isSet(), and value.
Referenced by callback(), getBoundingBox(), getMatrix(), GLRender(), handleEvent(), pick(), and search().

| virtual void getBoundingBox | ( | SoGetBoundingBoxAction * | action | ) | [protected, virtual] |
| void getBoundingBox | ( | SoGetBoundingBoxAction * | action | ) | [protected, virtual] |
Definition at line 96 of file _CPack_Packages/Linux-Source/TBZ2/studierstube-4.3/src/components/starlight/SoContextReport.cpp.
References doAction().

| virtual void getMatrix | ( | SoGetMatrixAction * | action | ) | [protected, virtual] |
| void getMatrix | ( | SoGetMatrixAction * | action | ) | [protected, virtual] |
Definition at line 111 of file _CPack_Packages/Linux-Source/TBZ2/studierstube-4.3/src/components/starlight/SoContextReport.cpp.
References doAction().

| virtual void GLRender | ( | SoGLRenderAction * | action | ) | [protected, virtual] |
| void GLRender | ( | SoGLRenderAction * | action | ) | [protected, virtual] |
Definition at line 86 of file _CPack_Packages/Linux-Source/TBZ2/studierstube-4.3/src/components/starlight/SoContextReport.cpp.
References doAction().

| virtual void handleEvent | ( | SoHandleEventAction * | action | ) | [protected, virtual] |
| void handleEvent | ( | SoHandleEventAction * | action | ) | [protected, virtual] |
Definition at line 101 of file _CPack_Packages/Linux-Source/TBZ2/studierstube-4.3/src/components/starlight/SoContextReport.cpp.
References doAction().

| static void initClass | ( | ) | [static] |
static class initialization method of OpenInventor
| void initClass | ( | void | ) | [static] |
static class initialization method of OpenInventor
Definition at line 50 of file _CPack_Packages/Linux-Source/TBZ2/studierstube-4.3/src/components/starlight/SoContextReport.cpp.
References callDoAction().
Referenced by Starlight::init().

| virtual void pick | ( | SoPickAction * | action | ) | [protected, virtual] |
| void pick | ( | SoPickAction * | action | ) | [protected, virtual] |
Definition at line 106 of file _CPack_Packages/Linux-Source/TBZ2/studierstube-4.3/src/components/starlight/SoContextReport.cpp.
References doAction().

| virtual void search | ( | SoSearchAction * | action | ) | [protected, virtual] |
| void search | ( | SoSearchAction * | action | ) | [protected, virtual] |
Definition at line 116 of file _CPack_Packages/Linux-Source/TBZ2/studierstube-4.3/src/components/starlight/SoContextReport.cpp.
References doAction().

| SO_NODE_HEADER | ( | SoContextReport | ) | [private] |
| SO_NODE_HEADER | ( | SoContextReport | ) | [private] |
Member Data Documentation
| SoMFString defaultValue |
default value, if the context entry is not present
Definition at line 78 of file _CPack_Packages/Linux-Source/TBZ2/studierstube-4.3/include/stb/components/starlight/SoContextReport.h.
Referenced by doAction(), and SoContextReport().
| SoMFName index |
indices of the context entries to report back
Definition at line 74 of file _CPack_Packages/Linux-Source/TBZ2/studierstube-4.3/include/stb/components/starlight/SoContextReport.h.
Referenced by doAction(), and SoContextReport().
| SoMFString value |
contains the reported values, do not write to this field as it will change
Definition at line 76 of file _CPack_Packages/Linux-Source/TBZ2/studierstube-4.3/include/stb/components/starlight/SoContextReport.h.
Referenced by doAction(), and SoContextReport().
The documentation for this class was generated from the following files:
