For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

AIS_Triedron box selection

S. Edward Dolan's picture
Forums: 

If I create an AIS_Triedron, with mode 1 (origin selection) activated, then select using the box Select() method of the context, the origin is not selected *unless* I have previously selected it using the basic Select() method.

I subclassed AIS_InteractiveObject to create a rectangle with 8 drag handles. The handles are created using the same method AIS_Triedron uses to create the origin; an AIS_Point member.

The same thing happens to my rectangle. A zoom box will not select the handles (AIS_PointS) unless they have been previously selected with Select().

S. Edward Dolan's picture

Ignore "zoom" in that last paragraph. Has nothing to do with zoom, only box *selection*. Also, should be AIS_Trihedron, but you probably figured that out.