39 POINT_DRAWING_MODE_POINT = 0,
40 POINT_DRAWING_MODE_FIXED_CROSSHAIR = 1,
41 POINT_DRAWING_MODE_CONFIGURABLE_CROSSHAIR = 2
45 CROSSHAIR_LINE_DIRECTION_UP = 0,
46 CROSSHAIR_LINE_DIRECTION_RIGHT = 1,
47 CROSSHAIR_LINE_DIRECTION_DOWN = 2,
48 CROSSHAIR_LINE_DIRECTION_LEFT = 3
109 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.
SoSFInt32 gapSizeForCrosshairLines
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
SoSFTypedEnum< VoxelSnapMode > voxelSnapMode
Defines how an interactive position is snapped to the voxel grid.
SoSFInt32 lineLengthForCrosshairLines
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 CSO represents a contour segmentation object.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
Class for setting visualization parameters for CSO editors.