|
Open CASCADE Technology
6.5.4
|
Constructs presentable and selectable projection of
TopoDS_Shape on the view plane
#include <AIS2D_ProjShape.hxx>

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 | |
| AIS2D_ProjShape::AIS2D_ProjShape | ( | const HLRAlgo_Projector & | aProjector, |
| const Standard_Integer | nbIsos = 3, |
||
| const Standard_Boolean | isPolyAlgo = Standard_False, |
||
| const Standard_Boolean | visHL = Standard_True |
||
| ) |
| void AIS2D_ProjShape::Add | ( | const TopoDS_Shape & | aShape | ) |
| Handle_Graphic2d_Line AIS2D_ProjShape::GetHLPrimitives | ( | ) | const |
| Standard_Boolean AIS2D_ProjShape::GetIsPoly | ( | ) | const |
| Standard_Integer AIS2D_ProjShape::GetNbIsos | ( | ) | const |
| Handle_Graphic2d_Line AIS2D_ProjShape::GetPrimitives | ( | ) | const |
| Standard_Boolean AIS2D_ProjShape::IsHLMode | ( | ) | const |
| HLRAlgo_Projector AIS2D_ProjShape::Projector | ( | ) | const |
| void AIS2D_ProjShape::SetHLMode | ( | const Standard_Boolean | aIsHLM = Standard_True | ) |
| void AIS2D_ProjShape::SetNbIsos | ( | const Standard_Integer | aNbIsos | ) |
| void AIS2D_ProjShape::SetPolyAlgo | ( | const Standard_Boolean | aIsPoly = Standard_False | ) |
| void AIS2D_ProjShape::SetProjector | ( | const HLRAlgo_Projector & | aProjector | ) |
| void AIS2D_ProjShape::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 |
||
| ) |
1.8.0