SmallChange
1.0.0
A collection of extensions to Coin3D
|
The SmCameraControlKit class... More...
#include <SmCameraControlKit.h>
Public Types | |
enum | AutoClippingStrategy { VARIABLE_NEAR_PLANE , CONSTANT_NEAR_PLANE } |
Public Member Functions | |
SmCameraControlKit (void) | |
virtual void | GLRender (SoGLRenderAction *action) |
virtual void | handleEvent (SoHandleEventAction *action) |
SbBool | isAnimating (void) |
SbBool | isBusy (void) const |
void | pointDir (const SbVec3f &dir, const SbBool resetroll=TRUE) |
void | resetCameraFocalDistance (const SbViewportRegion &vpr) |
void | resetCameraRoll (void) |
SbBool | seek (const SoEvent *event, const SbViewportRegion &vp) |
SbBool | seekToPoint (const SbVec3d &point, const SbRotation &orientation, const SbViewportRegion &vp) |
void | viewAll (const SbViewportRegion &vp, const float slack=1.0f) |
Static Public Member Functions | |
static void | initClass (void) |
Public Attributes | |
SoSFBool | autoClipping |
SoSFEnum | autoClippingStrategy |
SoSFFloat | autoClippingValue |
SoSFNode | eventHandler |
SoSFBool | handleInheritedEventFirst |
SoSFBool | headlight |
SoSFVec3f | viewUp |
Protected Member Functions | |
virtual | ~SmCameraControlKit () |
virtual void | notify (SoNotList *list) |
virtual SbBool | setAnyPart (const SbName &partname, SoNode *from, SbBool anypart=TRUE) |
The SmCameraControlKit class...
FIXME: doc
SmCameraControlKit::SmCameraControlKit | ( | void | ) |
Constructor.
|
protectedvirtual |
Destructor.
Resets the roll. Useful if you want the "up" vector of the camera to be pointing as much up as possible.
Convenience function for viewAll functionality. Has special handling for UTMCamera and UTMPosition nodes.