13#ifndef SO_PLANE_DRAGGER_H
14#define SO_PLANE_DRAGGER_H
20#include <ThirdPartyWarningsDisable.h>
21#include <Inventor/draggers/SoJackDragger.h>
22#include <Inventor/fields/SoSFPlane.h>
23#include <Inventor/fields/SoSFBool.h>
24#include <Inventor/fields/SoSFColor.h>
25#include <Inventor/nodes/SoMaterial.h>
26#include <ThirdPartyWarningsRestore.h>
79 SoMaterial* _planePassivMaterial;
81 SoMaterial* _planeActiveMaterial;
93 void setHighlightState(HighlightState state);
95 static void finishedDraggingCB(
void *userData, SoDragger *
dragger);
97 SoSwitch* _translatorHighlightSwitch;
98 SoSwitch* _rotatorHighlightSwitch;
99 HighlightState _lastHighlightState;
Defines a plane dragger that can be used to manipulate a plane (and translation+rotation)
void fieldChanged(SoField *field=nullptr)
handle field changes
SoSFBool enableMouseOverCursor
SoSFBool enableTranslation
void updateHighlightWithPickedPoint(SoHandleEventAction *ha)
~SoPlaneDragger() override
SoSFColor planePassivColor
SoSFColor planeActiveColor
static void initClass()
inventor runtime type system
SoSFPlane plane
plane that the dragger currently represents
void handleEvent(SoHandleEventAction *ha) override
SoSFBool enableMouseOverHighlight
This class gives access to state of a viewer during scene graph traversal.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.