![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
This class stores all the information concerning hidden lines on a view. More...
#include <DBRep_HideData.hxx>
Public Member Functions | |
| DBRep_HideData () | |
| void | Set (const int ViewId, const gp_Trsf &TProj, const double Focal, const TopoDS_Shape &S, const double ang) |
| ViewId is the view number TProj the projection Focal <= 0 means parallel projection Alg : the hidden lines. | |
| int | ViewId () const |
| double | Angle () const |
| bool | IsSame (const gp_Trsf &TProj, const double Focla) const |
| Returns True if the projection is the same. | |
| void | DrawOn (Draw_Display &D, const bool withRg1, const bool withRgN, const bool withHid, const Draw_Color &VisCol, const Draw_Color &HidCol) |
| const TopoDS_Shape & | LastPick () const |
| Returns the subshape touched by the last pick. | |
This class stores all the information concerning hidden lines on a view.
A drawable shape contains a list of such objects to store the hidden lines for each view. The IsSame method is used to check if hidden lines must be recompiled.
| DBRep_HideData::DBRep_HideData | ( | ) |
|
inline |
| void DBRep_HideData::DrawOn | ( | Draw_Display & | D, |
| const bool | withRg1, | ||
| const bool | withRgN, | ||
| const bool | withHid, | ||
| const Draw_Color & | VisCol, | ||
| const Draw_Color & | HidCol ) |
Returns True if the projection is the same.
| const TopoDS_Shape & DBRep_HideData::LastPick | ( | ) | const |
Returns the subshape touched by the last pick.
| void DBRep_HideData::Set | ( | const int | ViewId, |
| const gp_Trsf & | TProj, | ||
| const double | Focal, | ||
| const TopoDS_Shape & | S, | ||
| const double | ang ) |
ViewId is the view number TProj the projection Focal <= 0 means parallel projection Alg : the hidden lines.
|
inline |