Open CASCADE Technology  7.5.0
Public Member Functions
DBRep_HideData Class Reference

This class stores all the informations concerning hidden lines on a view. More...

#include <DBRep_HideData.hxx>

Public Member Functions

 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. More...
 
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. More...
 
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_ShapeLastPick () const
 Returns the subshape touched by the last pick. More...
 

Detailed Description

This class stores all the informations 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.

Constructor & Destructor Documentation

◆ DBRep_HideData()

DBRep_HideData::DBRep_HideData ( )

Member Function Documentation

◆ Angle()

Standard_Real DBRep_HideData::Angle ( ) const
inline

◆ DrawOn()

void DBRep_HideData::DrawOn ( Draw_Display D,
const Standard_Boolean  withRg1,
const Standard_Boolean  withRgN,
const Standard_Boolean  withHid,
const Draw_Color VisCol,
const Draw_Color HidCol 
)

◆ IsSame()

Standard_Boolean DBRep_HideData::IsSame ( const gp_Trsf TProj,
const Standard_Real  Focla 
) const

Returns True if the projection is the same.

◆ LastPick()

const TopoDS_Shape& DBRep_HideData::LastPick ( ) const

Returns the subshape touched by the last pick.

◆ Set()

void DBRep_HideData::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.

◆ ViewId()

Standard_Integer DBRep_HideData::ViewId ( ) const
inline

The documentation for this class was generated from the following file: