|
Public Member Functions |
Standard_EXPORT | AIS2D_ProjShape () |
| Initializes the projected shape
.
|
Standard_EXPORT | 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>
.
|
Standard_EXPORT void | Add (const TopoDS_Shape &aShape) |
| Adds <ashape> to the list of projected shapes.
.
|
Standard_EXPORT void | SetProjector (const HLRAlgo_Projector &aProjector) |
| sets the projector <aprojector>
|
Standard_EXPORT HLRAlgo_Projector | Projector () const |
| Indicates the projector
.
|
Standard_EXPORT void | SetNbIsos (const Standard_Integer aNbIsos) |
Standard_EXPORT 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
|
Standard_EXPORT void | SetHLMode (const Standard_Boolean aIsHLM=Standard_True) |
| Sets the hidden line mode if <aishlm> is True
.
|
Standard_EXPORT Standard_Boolean | IsHLMode () const |
| Indicates the hidden lines are visible
.
|
Standard_EXPORT Standard_Integer | GetNbIsos () const |
| Indicates the number of isolines
.
|
Standard_EXPORT Standard_Boolean | GetIsPoly () const |
| Indicates the shape was extracted as Algo or PolyAlgo
.
|
Standard_EXPORT Handle_Graphic2d_Line | GetPrimitives () const |
| Returns the set of primitives are included into Shape,
except hidden lines
.
|
Standard_EXPORT Handle_Graphic2d_Line | GetHLPrimitives () const |
| Returns the set of hidden line primitives are included into Shape
.
|
Standard_EXPORT 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
.
|
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Member Functions |
Standard_EXPORT void | CreateAlgo () |
Standard_EXPORT void | CreatePolyAlgo () |
Standard_EXPORT void | DrawSegments (const TopoDS_Shape &aShape, Handle(Graphic2d_SetOfSegments)&aSofS) |
Standard_EXPORT void | DrawCurves (const TopoDS_Shape &aShape, Handle(GGraphic2d_SetOfCurves)&aSofC) |
Standard_EXPORT void | ComputeShape () |
Private Attributes |
TopTools_ListOfShape | myListOfShape |
HLRAlgo_Projector | myProjector |
Handle_HLRBRep_Algo | myAlgo |
Handle_HLRBRep_PolyAlgo | myPolyAlgo |
Standard_Integer | myNbIsos |
Standard_Boolean | myIsPolyAlgo |
Standard_Boolean | myIsHiddenLine |
Standard_Boolean | myESharp |
Standard_Boolean | myESmooth |
Standard_Boolean | myESewn |
Standard_Boolean | myEOutline |
Standard_Boolean | myEIsoline |
Handle_Graphic2d_SetOfSegments | mySetOfSegments |
Handle_Graphic2d_SetOfSegments | myHSetOfSegments |
Handle_GGraphic2d_SetOfCurves | mySetOfCurves |
Handle_GGraphic2d_SetOfCurves | myHSetOfCurves |