AnimaL | 
     Tutorial | 
	 Documentation | 
   
#include <myGLRendererStateVariables.h>
Inheritance diagram for X3DTK::GL::MyRendererStateVariables:

Definition at line 20 of file myGLRendererStateVariables.h.
Public Member Functions | |
| MyRendererStateVariables () | |
| Constructor.   | |
| virtual | ~MyRendererStateVariables () | 
| Destructor.   | |
| void | initSelect (double x, double y) | 
| Initializes the selection. x and y are the screen coordinates.   | |
| void | finishSelect () | 
| Finishes the selection.   | |
| void | storeShape (X3DShapeNode *S) | 
| Stores the shape. Returns the integer identifier of the shape.   | |
| int | getCurrentId () const | 
| Gets the current id.   | |
| void | setSelectionMode (bool value) | 
| Sets the selection mode.   | |
| X3DShapeNode * | getShape () const | 
| Returns the selected shape.   | |
| bool | getSelectionMode () const | 
| Gets the selection mode.   | |
Public Attributes | |
| X3D::X3DBoundedObject * | boundedObject | 
| The bounded object to draw its bounding box.   | |
Private Attributes | |
| std::vector< X3DShapeNode * > | _shapeVector | 
| bool | _selectionMode | 
| X3DShapeNode * | _shape | 
| GLuint | _hits [32768] | 
      
  | 
  
| 
 Constructor. 
 Definition at line 13 of file myGLRendererStateVariables.cpp.  | 
  
      
  | 
  
| 
 Destructor. 
 Definition at line 18 of file myGLRendererStateVariables.cpp.  | 
  
      
  | 
  
| 
 Finishes the selection. 
 Definition at line 29 of file myGLRendererStateVariables.cpp. References _hits, _shape, and _shapeVector.  | 
  
      
  | 
  
| 
 Gets the current id. 
 Definition at line 40 of file myGLRendererStateVariables.h. References _shapeVector. Referenced by X3DTK::GL::MyRendererShapeVisitor::enterX3DShapeNode().  | 
  
      
  | 
  
| 
 Gets the selection mode. 
 Definition at line 47 of file myGLRendererStateVariables.h. References _selectionMode. Referenced by X3DTK::GL::MyRendererShapeVisitor::enterX3DShapeNode().  | 
  
      
  | 
  
| 
 Returns the selected shape. 
 Definition at line 45 of file myGLRendererStateVariables.h. References _shape.  | 
  
      
  | 
  ||||||||||||
| 
 Initializes the selection. x and y are the screen coordinates. 
 Definition at line 21 of file myGLRendererStateVariables.cpp. References _hits.  | 
  
      
  | 
  
| 
 Sets the selection mode. 
 Definition at line 79 of file myGLRendererStateVariables.cpp. References _selectionMode.  | 
  
      
  | 
  
| 
 Stores the shape. Returns the integer identifier of the shape. 
 Definition at line 74 of file myGLRendererStateVariables.cpp. References _shapeVector. Referenced by X3DTK::GL::MyRendererShapeVisitor::enterX3DShapeNode().  | 
  
      
  | 
  
| 
 
 Definition at line 59 of file myGLRendererStateVariables.h. Referenced by finishSelect(), and initSelect().  | 
  
      
  | 
  
| 
 
 Definition at line 57 of file myGLRendererStateVariables.h. Referenced by getSelectionMode(), and setSelectionMode().  | 
  
      
  | 
  
| 
 
 Definition at line 58 of file myGLRendererStateVariables.h. Referenced by finishSelect(), and getShape().  | 
  
      
  | 
  
| 
 
 Definition at line 56 of file myGLRendererStateVariables.h. Referenced by finishSelect(), getCurrentId(), and storeShape().  | 
  
      
  | 
  
| 
 The bounded object to draw its bounding box. 
 Definition at line 51 of file myGLRendererStateVariables.h. Referenced by X3DTK::GL::MyRendererGroupingVisitor::enterTransform(), X3DTK::GL::MyRendererCoreVisitor::enterX3DNode(), and X3DTK::GL::MyRendererShapeVisitor::enterX3DShapeNode().  | 
  
 
1.3.6