API Reference > OdDb Classes > OdDbVisualSelection Class > OdDbVisualSelection Enumerations > OdDbVisualSelection::Mode Enumeration
OdDbVisualSelection::Mode Enumeration
Syntax
C++
enum Mode { kPoint = 0, kBox = 1, kWindow = 2, kCrossing = 3, kFence = 4, kWPoly = 5, kCPoly = 6 };

SSet.h

Members 
Description 
kPoint = 0 
Selection by single point. Returns single object: top for 3D render modes or first for 2D render mode. 
kBox = 1 
Selection by two points (represents rectangle) and choose between kWindow and kCrossing modes using direction vector between points. 
kWindow = 2 
Selection by two points (represents rectangle). Select only objects which is entirely inside selection area. 
kCrossing = 3 
Selection by two points (represents rectangle). Select objects which is entirely inside or intersects selection area. 
kFence = 4 
Selection by two or more points (represents polyline). Select object which is intersects selection polyline. 
kWPoly = 5 
Selection by three or more points (represents polygon). Select only objects which is entirely inside selection area. 
kCPoly = 6 
Selection by three or more points (represents polygon). Select objects which is entirely inside or intersects selection area. 

This is record OdDbVisualSelection::Mode.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.