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

A framework to define display of offsets.

#include <DsgPrs_OffsetPresentation.hxx>

Static Public Member Functions

static DEFINE_STANDARD_ALLOC void Add (const Handle< Prs3d_Presentation > &aPresentation, const Handle< Prs3d_Drawer > &aDrawer, const TCollection_ExtendedString &aText, const gp_Pnt &AttachmentPoint1, const gp_Pnt &AttachmentPoint2, const gp_Dir &aDirection, const gp_Dir &aDirection2, const gp_Pnt &OffsetPoint)
 Defines the display of elements showing offset shapes.
These include the two points of attachment
AttachmentPoint1 and AttachmentPoint1, the two
directions aDirection and aDirection2, and the offset point OffsetPoint.
These arguments are added to the presentation
object aPresentation. Their display attributes are
defined by the attribute manager aDrawer.

static void AddAxes (const Handle< Prs3d_Presentation > &aPresentation, const Handle< Prs3d_Drawer > &aDrawer, const TCollection_ExtendedString &aText, const gp_Pnt &AttachmentPoint1, const gp_Pnt &AttachmentPoint2, const gp_Dir &aDirection, const gp_Dir &aDirection2, const gp_Pnt &OffsetPoint)
 draws the representation of axes alignement Constraint
between the point AttachmentPoint1 and the
point AttachmentPoint2, along direction
aDirection, using the offset point OffsetPoint.


Member Function Documentation

static DEFINE_STANDARD_ALLOC void DsgPrs_OffsetPresentation::Add ( const Handle< Prs3d_Presentation > &  aPresentation,
const Handle< Prs3d_Drawer > &  aDrawer,
const TCollection_ExtendedString aText,
const gp_Pnt AttachmentPoint1,
const gp_Pnt AttachmentPoint2,
const gp_Dir aDirection,
const gp_Dir aDirection2,
const gp_Pnt OffsetPoint 
) [static]
static void DsgPrs_OffsetPresentation::AddAxes ( const Handle< Prs3d_Presentation > &  aPresentation,
const Handle< Prs3d_Drawer > &  aDrawer,
const TCollection_ExtendedString aText,
const gp_Pnt AttachmentPoint1,
const gp_Pnt AttachmentPoint2,
const gp_Dir aDirection,
const gp_Dir aDirection2,
const gp_Pnt OffsetPoint 
) [static]

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