73 void drawHalfArc(
const SbVec2f & arcPos1,
const SbVec2f & arcPos2,
const SbVec2f & center,
float radius);
83 SbVec3f _startPosition;
87 bool _isCurrentlyGenerating;
88 bool _justStartedToCreate;
89 bool _hasClickedToCreate;
#define SOCSO_EXPORT
Header file for system independent resolution.
void insertSeedPointStartPressAt(const SoPointerPosition &pos) override
SoSFFloat arcDistance
Distance of the angle arc from the joint in pixels.
void initMembers() override
bool deleteSeedPoint(ml::CSO *cso, ml::CSOSeedPoint *seedPoint) override
Removes the given seed point from the given CSO and returns whether that was successful.
void createDragMoveTo(const SoPointerPosition &pos) override
void createNewCSO(const SoPointerPosition &pos)
SoPointingAction * insertSeedPointEndPress(int clickCount) override
void selectAndMoveDragMoveTo(const SoPointerPosition &pos) override
bool createEndPress(int clickCount) override
SoPointingAction * selectAndMoveEndPress(int clickCount) override
ml::Vector3 getCurrentPositon(const SoPointerPosition &pos)
void cancel() override
Cancels an action like generating a CSO. Depends on concrete editor.
void drawHalfArc(const SbVec2f &arcPos1, const SbVec2f &arcPos2, const SbVec2f ¢er, float radius)
SoCSOAngleEditor()
Standard constructor.
static void initClass()
init class in inventor runtime
void pointerPositionIfAllowedAt(const SoPointerPosition &pos) override
void draw(const CSODrawCSOInfos &csoInfos, const CSODrawView2DInfos &view2DInfos, const CSODrawSliceInformation &drawSliceInfo, SoView2DCSOExtensibleEditor *editor) override
Main routine for drawing a CSO.
void createStartPressAt(const SoPointerPosition &pos) override
void insertSeedPointDragMoveTo(const SoPointerPosition &pos) override
void selectAndMoveStartPressAt(const SoPointerPosition &pos) override
SoSFBool drawArc
Draw the angle arc on line joint.
SoCSOCreatorEditorExtension()
Hidden constructor.
SoPointerPosition manages the current position of the mouse cursor.
Tvec3< MLdouble > Vector3
A vector with three components of type double.