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

A framework for displaying the axes of an XYZ trihedron.

#include <DsgPrs_XYZAxisPresentation.hxx>

Static Public Member Functions

static DEFINE_STANDARD_ALLOC void Add (const Handle< Prs3d_Presentation > &aPresentation, const Handle< Prs3d_LineAspect > &anLineAspect, const gp_Dir &aDir, const Standard_Real aVal, const Standard_CString aText, const gp_Pnt &aPfirst, const gp_Pnt &aPlast)
 Draws each axis of a trihedron displayed in the
presentation aPresentation and with lines shown by
the values of aLineAspect. Each axis is defined by:

static void Add (const Handle< Prs3d_Presentation > &aPresentation, const Handle< Prs3d_LineAspect > &aLineAspect, const Handle< Prs3d_ArrowAspect > &anArrowAspect, const Handle< Prs3d_TextAspect > &aTextAspect, const gp_Dir &aDir, const Standard_Real aVal, const Standard_CString aText, const gp_Pnt &aPfirst, const gp_Pnt &aPlast)
 draws the presentation X ,Y ,Z axis


Member Function Documentation

static DEFINE_STANDARD_ALLOC void DsgPrs_XYZAxisPresentation::Add ( const Handle< Prs3d_Presentation > &  aPresentation,
const Handle< Prs3d_LineAspect > &  anLineAspect,
const gp_Dir aDir,
const Standard_Real  aVal,
const Standard_CString  aText,
const gp_Pnt aPfirst,
const gp_Pnt aPlast 
) [static]
  • the first and last points aPfirst and aPlast
  • the direction aDir and
  • the value aVal which provides a value for length.
    The value for length is provided so that the trihedron
    can vary in length relative to the scale of shape display.
    Each axis will be identified as X, Y, or Z by the text aText.
static void DsgPrs_XYZAxisPresentation::Add ( const Handle< Prs3d_Presentation > &  aPresentation,
const Handle< Prs3d_LineAspect > &  aLineAspect,
const Handle< Prs3d_ArrowAspect > &  anArrowAspect,
const Handle< Prs3d_TextAspect > &  aTextAspect,
const gp_Dir aDir,
const Standard_Real  aVal,
const Standard_CString  aText,
const gp_Pnt aPfirst,
const gp_Pnt aPlast 
) [static]

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