Ellipsoid you can translate or scale within a plane by dragging with the mouse. More...
#include <Inventor/draggers/SoEllipsoidDragger.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
virtual const SoNodekitCatalog * | getNodekitCatalog () const |
SoEllipsoidDragger () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static const SoNodekitCatalog * | getClassNodekitCatalog () |
Public Attributes | |
SoSFInt32 | numSamples |
SoSFBool | constrained |
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.
renderCaching | AUTO |
boundingBoxCaching | AUTO |
renderCulling | AUTO |
pickCulling | AUTO |
isActive | FALSE |
resizeHandles | FALSE |
translation | 0 0 0 |
scaleFactor | 1 1 1 |
numSamples | 100 |
constrained | FALSE |
scaleUniform | FALSE |
twoSidedLighting | FALSE |
lineWidth | 1 |
callbackList | NULL |
translator | <tabPlaneTranslator resource> |
scaleTabMaterial | <tabPlaneScaleTabMaterial resource> |
scaleTabHints | <tabPlaneScaleTabHints resource> |
SoInteractionKit, SoDragger, SoCenterballDragger, SoDirectionalLightDragger, SoDragPointDragger, SoHandleBoxDragger, SoJackDragger, SoPointLightDragger, SoRotateCylindricalDragger, SoRotateDiscDragger, SoRotateSphericalDragger, SoScale1Dragger, SoScale2UniformDragger, SoScaleUniformDragger, SoSpotLightDragger, SoTabBoxDragger, SoTabPlaneDragger, SoTrackballDragger, SoTransformBoxDragger, SoTransformerDragger, SoTranslate1Dragger, SoTranslate2Dragger
SoEllipsoidDragger::SoEllipsoidDragger | ( | ) |
Constructor.
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.
Hint about constrained scaling.
Number of samples composing the ellispoid.