Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
AIS2D_ProjShape Class Reference

Constructs presentable and selectable projection of
TopoDS_Shape on the view plane

#include <AIS2D_ProjShape.hxx>

Inheritance diagram for AIS2D_ProjShape:
Inheritance graph
[legend]

Public Member Functions

 AIS2D_ProjShape ()
 Initializes the projected shape

 AIS2D_ProjShape (const HLRAlgo_Projector &aProjector, const Standard_Integer nbIsos=3, const Standard_Boolean isPolyAlgo=Standard_False, const Standard_Boolean visHL=Standard_True)
 Initializes the projected shape with projector <aProjector>, number isolines <nbIsos>

void Add (const TopoDS_Shape &aShape)
 Adds <aShape> to the list of projected shapes.

void SetProjector (const HLRAlgo_Projector &aProjector)
 sets the projector <aProjector>

HLRAlgo_Projector Projector () const
 Indicates the projector

void SetNbIsos (const Standard_Integer aNbIsos)
void SetPolyAlgo (const Standard_Boolean aIsPoly=Standard_False)
 sets the projection of the shape as a polyhedral
simplification of the shape if <aIsPoly> is True

void SetHLMode (const Standard_Boolean aIsHLM=Standard_True)
 Sets the hidden line mode if <aIsHLM> is True

Standard_Boolean IsHLMode () const
 Indicates the hidden lines are visible

Standard_Integer GetNbIsos () const
 Indicates the number of isolines

Standard_Boolean GetIsPoly () const
 Indicates the shape was extracted as Algo or PolyAlgo

Handle_Graphic2d_Line GetPrimitives () const
 Returns the set of primitives are included into Shape,
except hidden lines

Handle_Graphic2d_Line GetHLPrimitives () const
 Returns the set of hidden line primitives are included into Shape

void ShowEdges (const Standard_Boolean aSharp=Standard_True, const Standard_Boolean aSmooth=Standard_True, const Standard_Boolean aSewn=Standard_True, const Standard_Boolean anOutline=Standard_True, const Standard_Boolean anIsoline=Standard_True)
 Sets the flags for display of all types of edges


Constructor & Destructor Documentation


Member Function Documentation

Handle_Graphic2d_Line AIS2D_ProjShape::GetHLPrimitives ( ) const
Handle_Graphic2d_Line AIS2D_ProjShape::GetPrimitives ( ) const

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