Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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

DEFINE_STANDARD_ALLOC 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.


Detailed Description

     * View number <br>
     * Matrix of projection <br>
     * Type of projection, focal <br>
     * Arrays of 3d points <br>


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


Member Function Documentation


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