Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
DBRep_HideData Class Reference

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

Detailed Description

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.

Constructor & Destructor Documentation

◆ DBRep_HideData()

DBRep_HideData::DBRep_HideData ( )

Member Function Documentation

◆ Angle()

double DBRep_HideData::Angle ( ) const
inline

◆ DrawOn()

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

◆ IsSame()

bool DBRep_HideData::IsSame ( const gp_Trsf & TProj,
const double 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 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.

◆ ViewId()

int DBRep_HideData::ViewId ( ) const
inline

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