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

The SmCameraControlKit class... More...

#include <SmCameraControlKit.h>

Inheritance diagram for SmCameraControlKit:

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)
 

Detailed Description

The SmCameraControlKit class...

FIXME: doc

Constructor & Destructor Documentation

◆ SmCameraControlKit()

SmCameraControlKit::SmCameraControlKit ( void )

Constructor.

◆ ~SmCameraControlKit()

SmCameraControlKit::~SmCameraControlKit ( void )
protectedvirtual

Destructor.

Member Function Documentation

◆ resetCameraRoll()

void SmCameraControlKit::resetCameraRoll ( void )

Resets the roll. Useful if you want the "up" vector of the camera to be pointing as much up as possible.

◆ viewAll()

void SmCameraControlKit::viewAll ( const SbViewportRegion & vp,
const float slack = 1.0f )

Convenience function for viewAll functionality. Has special handling for UTMCamera and UTMPosition nodes.


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