mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +03:00
0027797: Visualization - consider ZLayer properties while sorting list of picked entities
OpenGl_GraphicDriver::ZLayers() / V3d_Viewer::GetAllZLayers() now return the layers sequence following rendering order (taking into account IsImmediate flag). StdSelect_ViewerSelector3d::Pick() now sort result taking into account ZLayers flags.
This commit is contained in:
@@ -83,12 +83,17 @@ public:
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(StdSelect_ViewerSelector3d,SelectMgr_ViewerSelector)
|
||||
|
||||
private:
|
||||
protected:
|
||||
|
||||
void ComputeSensitivePrs (const Handle(Graphic3d_Structure)& theStructure,
|
||||
const Handle(SelectMgr_Selection)& theSel,
|
||||
const gp_Trsf& theLoc,
|
||||
const Graphic3d_TransformPers& theTransPers);
|
||||
Standard_EXPORT void computeSensitivePrs (const Handle(Graphic3d_Structure)& theStructure,
|
||||
const Handle(SelectMgr_Selection)& theSel,
|
||||
const gp_Trsf& theLoc,
|
||||
const Graphic3d_TransformPers& theTransPers);
|
||||
|
||||
//! Update z-layers order map.
|
||||
Standard_EXPORT void updateZLayers (const Handle(V3d_View)& theView);
|
||||
|
||||
protected:
|
||||
|
||||
Graphic3d_SequenceOfStructure myStructs;
|
||||
};
|
||||
|
Reference in New Issue
Block a user