58 POINT_DRAWING_MODE_POINT = 0,
59 POINT_DRAWING_MODE_CROSSHAIR = 1
75 void glVertex2fWithMagicOffset(
float x,
float y)
const;
#define SOCSO_EXPORT
Header file for system independent resolution.
Base class for extensions that extend the editor with interaction and rendering for specific CSO type...
Extension for rendering, generating, and modifying a point CSO.
void pointerPositionIfAllowedAt(const SoPointerPosition &) override
Sets seed points while moving the mouse – but not while dragging.
static void initClass()
init class in inventor runtime
void selectAndMoveStartPressAt(const SoPointerPosition &pos) override
SoCSOPointEditor()
Standard constructor.
void draw(const CSODrawCSOInfos &csoInfos, const CSODrawView2DInfos &view2DInfos, const CSODrawSliceInformation &drawSliceInfo, SoView2DCSOExtensibleEditor *editor) override
Drawing routine.
bool createEndPress(int clickCount) override
void createStartPressAt(const SoPointerPosition &pos) override
SoSFEnum drawingMode
Sets the drawing mode.
void selectAndMoveDragMoveTo(const SoPointerPosition &pos) override
bool isCreationAllowedAt(const SoPointerPosition &pos) const override
Returns whether the editor is allowed to create a new CSO at the given position, by default calls the...
void cancel() override
Cancels an action like generating a CSO. Depends on concrete editor.
SoPointingAction * selectAndMoveEndPress(int clickCount) override
SoSFBool restrictToImageBoundaries
Points can only be set/moved inside the image boundaries.
void createDragMoveTo(const SoPointerPosition &pos) override
SoPointerPosition manages the current position of the mouse cursor.
SoPointingAction is the base class for any mouse based interaction.
The SoSFMLImage field is the interface used by Inventor Nodes to access image data (in the current im...
The CSO represents a contour segmentation object.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.