This class stores all the informations concerning
hidden lines on a view.
* View number
* Matrix of projection
* Type of projection, focal
* Arrays of 3d points
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.
#include <DBRep_HideData.hxx>
Public Member Functions |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
| | DBRep_HideData () |
| void | Set (const Standard_Integer ViewId, const gp_Trsf &TProj, const Standard_Real Focal, const TopoDS_Shape &S, const Standard_Real ang) |
| | ViewId is the view number
TProj the projection
Focal <= 0 means parallel projection
Alg : the hidden lines
|
| Standard_Integer | ViewId () const |
| Standard_Real | Angle () const |
| Standard_Boolean | IsSame (const gp_Trsf &TProj, const Standard_Real Focla) const |
| | Returns True if the projection is the same
|
| void | DrawOn (Draw_Display &D, const Standard_Boolean withRg1, const Standard_Boolean withRgN, const Standard_Boolean withHid, const Draw_Color &VisCol, const Draw_Color &HidCol) |
| const TopoDS_Shape & | LastPick () const |
| | Returns the subshape touched by the last pick.
|
Constructor & Destructor Documentation
| DBRep_HideData::DBRep_HideData |
( |
| ) |
|
Member Function Documentation
| void DBRep_HideData::operator delete |
( |
void * |
anAddress | ) |
[inline] |
| void* DBRep_HideData::operator new |
( |
size_t |
size | ) |
[inline] |
| void* DBRep_HideData::operator new |
( |
size_t |
, |
|
|
void * |
anAddress |
|
) |
| [inline] |
The documentation for this class was generated from the following file: