SmallChange  1.0.0
A collection of extensions to Coin3D
Loading...
Searching...
No Matches
SmSphereEventHandler Class Reference

The SmSphereEventHandler class... More...

#include <SmSphereEventHandler.h>

Inheritance diagram for SmSphereEventHandler:
SmExaminerEventHandler SmEventHandler SoNode

Public Member Functions

virtual void handleEvent (SoHandleEventAction *action)
 
- Public Member Functions inherited from SmExaminerEventHandler
virtual SbBool isAnimating (void)
 
virtual void preRender (SoGLRenderAction *action)
 
virtual void resetCameraFocalDistance (const SbViewportRegion &vpr)
 
- Public Member Functions inherited from SmEventHandler
void enablePulse (const SbBool onoff)
 
float getGLAspectRatio (void) const
 
SbVec2s getGLSize (void) const
 
const SbViewportRegion & getViewportRegion (void) const
 
virtual void pulse (void)
 
void setCameraControlKit (SmCameraControlKit *kit)
 
void setViewportRegion (const SbViewportRegion &vp)
 

Static Public Member Functions

static void initClass (void)
 
- Static Public Member Functions inherited from SmExaminerEventHandler
static void initClass (void)
 
- Static Public Member Functions inherited from SmEventHandler
static void initClass (void)
 

Public Attributes

SoSFFloat maxDistance
 
SoSFFloat minDistance
 
- Public Attributes inherited from SmExaminerEventHandler
SoSFBool enableSpin
 

Protected Member Functions

virtual float clampZoom (const float val)
 
- Protected Member Functions inherited from SmExaminerEventHandler
void enableButton3Movement (const SbBool onoff)
 
- Protected Member Functions inherited from SmEventHandler
SoCameragetCamera (void)
 
SbVec3f getViewUp (void) const
 
void interactiveCountDec (void)
 
void interactiveCountInc (void)
 
SbBool isAnimationEnabled (void) const
 
void pitchCamera (const float rad)
 
void rollCamera (const float rad)
 
void yawCamera (const float rad)
 

Additional Inherited Members

- Protected Attributes inherited from SmEventHandler
SmCameraControlKitkit
 
SoTimerSensorpulser
 

Detailed Description

The SmSphereEventHandler class...

FIXME: doc

Member Function Documentation

◆ clampZoom()

float SmSphereEventHandler::clampZoom ( const float val)
protectedvirtual

Reimplemented from SmExaminerEventHandler.

◆ handleEvent()

void SmSphereEventHandler::handleEvent ( SoHandleEventAction * action)
virtual

Reimplemented from SmExaminerEventHandler.


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