Studierstube 4 Documentation Project

   Main Page       Modules       Class Hierarchy       Alphabetical List       Compound List       File List       Compound Members       Related Pages   

SoContextReport Class Reference

#include <SoContextReport.h>

List of all members.

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 :

Author:
Gerhard Reitmayr

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.

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().

Here is the call graph for this function:

static void callDoAction ( SoAction *  ,
SoNode *   
) [static, protected]

void callDoAction ( SoAction *  action,
SoNode *  node 
) [static, protected]

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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:
 This page was generated at Wed Oct 27 13:03:04 2010 for Studierstube 4 by Doxygen.
 If you have any comments, please send a message to schmalstieg#icg.tu-graz.ac.at.
www.studierstube.org