mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0028215: Visualization - define EMPTY type line for consistenct with Interior Style
Added new values Aspect_TOL_EMPTY (line type) and Aspect_TOM_EMPTY (marker type).
This commit is contained in:
@@ -17,19 +17,14 @@
|
||||
#define _Aspect_TypeOfLine_HeaderFile
|
||||
|
||||
//! Definition of line types
|
||||
//!
|
||||
//! TOL_SOLID continuous
|
||||
//! TOL_DASH dashed 2.0,1.0 (MM)
|
||||
//! TOL_DOT dotted 0.2,0.5 (MM)
|
||||
//! TOL_DOTDASH mixed 10.0,1.0,2.0,1.0 (MM)
|
||||
//! TOL_USERDEFINED defined by Users
|
||||
enum Aspect_TypeOfLine
|
||||
{
|
||||
Aspect_TOL_SOLID,
|
||||
Aspect_TOL_DASH,
|
||||
Aspect_TOL_DOT,
|
||||
Aspect_TOL_DOTDASH,
|
||||
Aspect_TOL_USERDEFINED
|
||||
Aspect_TOL_EMPTY = -1, //!< hidden
|
||||
Aspect_TOL_SOLID = 0, //!< continuous
|
||||
Aspect_TOL_DASH, //!< dashed 2.0,1.0 (MM)
|
||||
Aspect_TOL_DOT, //!< dotted 0.2,0.5 (MM)
|
||||
Aspect_TOL_DOTDASH, //!< mixed 10.0,1.0,2.0,1.0 (MM)
|
||||
Aspect_TOL_USERDEFINED //!< defined by Users
|
||||
};
|
||||
|
||||
#endif // _Aspect_TypeOfLine_HeaderFile
|
||||
|
@@ -17,37 +17,23 @@
|
||||
#define _Aspect_TypeOfMarker_HeaderFile
|
||||
|
||||
//! Definition of types of markers
|
||||
//!
|
||||
//! TOM_POINT point .
|
||||
//! TOM_PLUS plus +
|
||||
//! TOM_STAR star *
|
||||
//! TOM_X cross x
|
||||
//! TOM_O circle O
|
||||
//! TOM_O_POINT a point in a circle
|
||||
//! TOM_O_PLUS a plus in a circle
|
||||
//! TOM_O_STAR a star in a circle
|
||||
//! TOM_O_X a cross in a circle
|
||||
//! TOM_RING1 a large ring
|
||||
//! TOM_RING2 a medium ring
|
||||
//! TOM_RING3 a small ring
|
||||
//! TOM_BALL a ball with 1 color and different saturations
|
||||
//! TOM_USERDEFINED defined by Users
|
||||
enum Aspect_TypeOfMarker
|
||||
{
|
||||
Aspect_TOM_POINT,
|
||||
Aspect_TOM_PLUS,
|
||||
Aspect_TOM_STAR,
|
||||
Aspect_TOM_X,
|
||||
Aspect_TOM_O,
|
||||
Aspect_TOM_O_POINT,
|
||||
Aspect_TOM_O_PLUS,
|
||||
Aspect_TOM_O_STAR,
|
||||
Aspect_TOM_O_X,
|
||||
Aspect_TOM_RING1,
|
||||
Aspect_TOM_RING2,
|
||||
Aspect_TOM_RING3,
|
||||
Aspect_TOM_BALL,
|
||||
Aspect_TOM_USERDEFINED
|
||||
Aspect_TOM_EMPTY = -1, //!< hidden
|
||||
Aspect_TOM_POINT = 0, //!< point .
|
||||
Aspect_TOM_PLUS, //!< plus +
|
||||
Aspect_TOM_STAR, //!< star *
|
||||
Aspect_TOM_X, //!< cross x
|
||||
Aspect_TOM_O, //!< circle O
|
||||
Aspect_TOM_O_POINT, //!< a point in a circle
|
||||
Aspect_TOM_O_PLUS, //!< a plus in a circle
|
||||
Aspect_TOM_O_STAR, //!< a star in a circle
|
||||
Aspect_TOM_O_X, //!< a cross in a circle
|
||||
Aspect_TOM_RING1, //!< a large ring
|
||||
Aspect_TOM_RING2, //!< a medium ring
|
||||
Aspect_TOM_RING3, //!< a small ring
|
||||
Aspect_TOM_BALL, //!< a ball with 1 color and different saturations
|
||||
Aspect_TOM_USERDEFINED //!< defined by Users (custom image)
|
||||
};
|
||||
|
||||
#endif // _Aspect_TypeOfMarker_HeaderFile
|
||||
|
Reference in New Issue
Block a user