SoEllipsoidDragger Class Reference
[Draggers]

Ellipsoid you can translate or scale within a plane by dragging with the mouse. More...

#include <Inventor/draggers/SoEllipsoidDragger.h>

Inheritance diagram for SoEllipsoidDragger:
SoTabPlaneDragger SoDragger SoInteractionKit SoBaseKit SoNode SoGetView SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
virtual const SoNodekitCataloggetNodekitCatalog () const
 SoEllipsoidDragger ()

Static Public Member Functions

static SoType getClassTypeId ()
static const SoNodekitCataloggetClassNodekitCatalog ()

Public Attributes

SoSFInt32 numSamples
SoSFBool constrained

Detailed Description

Ellipsoid you can translate or scale within a plane by dragging with the mouse.

SoEllipsoidDragger is derived from SoTabPlaneDragger and has similar behavior. The difference is that the displayed shape is an ellipsoid that fills the extent of the dragger.

If you set the constrained field to TRUE, the edge tabs are hidden (only corner tabs are visible) and scaling is uniform.

The numSamples field specifies the number of points used to draw the ellipsoid. You can ensure the displayed shape is a circle if you set the constrained field to TRUE before any scaling is applied.

The scaleUniform and lineWidth fields inherited from SoTabPlaneDragger are ignored.

See SoDragger for more information about using and customizing draggers, including code examples, using draggers in an immersive VR environment and using WYSIWYG draggers.

SoEllipsoidDragger.png

FILE FORMAT/DEFAULT

SEE ALSO

SoInteractionKit, SoDragger, SoCenterballDragger, SoDirectionalLightDragger, SoDragPointDragger, SoHandleBoxDragger, SoJackDragger, SoPointLightDragger, SoRotateCylindricalDragger, SoRotateDiscDragger, SoRotateSphericalDragger, SoScale1Dragger, SoScale2UniformDragger, SoScaleUniformDragger, SoSpotLightDragger, SoTabBoxDragger, SoTabPlaneDragger, SoTrackballDragger, SoTransformBoxDragger, SoTransformerDragger, SoTranslate1Dragger, SoTranslate2Dragger


Constructor & Destructor Documentation

SoEllipsoidDragger::SoEllipsoidDragger (  ) 

Constructor.


Member Function Documentation

static const SoNodekitCatalog* SoEllipsoidDragger::getClassNodekitCatalog (  )  [static]

Returns the SoNodekitCatalog for this class.

Reimplemented from SoTabPlaneDragger.

static SoType SoEllipsoidDragger::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoTabPlaneDragger.

virtual const SoNodekitCatalog* SoEllipsoidDragger::getNodekitCatalog (  )  const [virtual]

Returns the SoNodekitCatalog for this instance.

Reimplemented from SoTabPlaneDragger.

virtual SoType SoEllipsoidDragger::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoTabPlaneDragger.


Member Data Documentation

Hint about constrained scaling.

Number of samples composing the ellispoid.


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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/