Open CASCADE Technology 6.6.0
Public Member Functions
DBRep_HideData Class Reference

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

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


Constructor & Destructor Documentation

DBRep_HideData::DBRep_HideData ( )

Member Function Documentation

Standard_Real DBRep_HideData::Angle ( ) const
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 
)
Standard_Boolean DBRep_HideData::IsSame ( const gp_Trsf TProj,
const Standard_Real  Focla 
) const
const TopoDS_Shape& DBRep_HideData::LastPick ( ) const
void DBRep_HideData::Set ( const Standard_Integer  ViewId,
const gp_Trsf TProj,
const Standard_Real  Focal,
const TopoDS_Shape S,
const Standard_Real  ang 
)
Standard_Integer DBRep_HideData::ViewId ( ) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines