79 std::vector < CrossingPoint > crossingPoints;
84 std::vector<CSOCrossings> crossings;
90 void glDrawRect(
float startX,
float startY,
float endX,
float endY,
float lineWidth);
#define SOCSO_EXPORT
Header file for system independent resolution.
Extension for rendering CSOs in their cross-section.
void selectAndMoveStartPressAt(const SoPointerPosition &) override
void selectAndMoveDragMoveTo(const SoPointerPosition &) override
SoCSOCrossSectionRenderer()
Standard constructor.
SoSFBool shouldRenderCrossingPoints
void createStartPressAt(const SoPointerPosition &) override
static void initClass()
init class in inventor runtime
bool createEndPress(int) override
SoPointingAction * selectAndMoveEndPress(int) override
SoSFFloat fillingFromSideManualLineWidth
void createDragMoveTo(const SoPointerPosition &) override
SoSFEnum fillingFromSideLineWidthMode
void pointerPositionIfAllowedAt(const SoPointerPosition &) override
Sets seed points while moving the mouse – but not while dragging.
bool shouldRenderGeneral(ml::CSO *) const override
Returns whether a given CSO should be rendered by this general extension.
SoSFBool useHoleCorrection
int cursorShape() const override
Returns the cursor shape that indicates the next creation.
SoSFBool useHoleCorrectionForGroupsOnly
void draw(const CSODrawCSOInfos &, const CSODrawView2DInfos &, const CSODrawSliceInformation &, SoView2DCSOExtensibleEditor *) override
Drawing routine.
void draw(const CSODrawCSOInfos &csoInfos, const CSODrawView2DInfos &view2DInfos, const std::vector< CSODrawSliceInformation > &renderInfos, SoView2DCSOExtensibleEditor *editor) override
Base class for extensions that render all CSOs of a CSOList.
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.