OCC Main Page | Visualization | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

Visualization
TKV3d
DsgPrs


DsgPrs_AnglePresentation Class Reference

A framework for displaying angles.
.

#include <DsgPrs_AnglePresentation.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)

Static Public Member Functions

static Standard_EXPORT void Add (const Handle(Prs3d_Presentation)&aPresentation, const Handle(Prs3d_Drawer)&aDrawer, const Standard_Real aVal, const TCollection_ExtendedString &aText, const gp_Circ &aCircle, const gp_Pnt &aPosition, const gp_Pnt &Apex, const gp_Circ &VminCircle, const gp_Circ &VmaxCircle, const Standard_Real aArrowSize)
 Draws the presenation of the full angle of a cone.
VminCircle - a circle at V parameter = Vmin
VmaxCircle - a circle at V parameter = Vmax
aCircle - a circle at V parameter from projection of aPosition to axis of the cone
.
static Standard_EXPORT void Add (const Handle(Prs3d_Presentation)&aPresentation, const Handle(Prs3d_Drawer)&aDrawer, const Standard_Real theval, const gp_Pnt &CenterPoint, const gp_Pnt &AttachmentPoint1, const gp_Pnt &AttachmentPoint2, const gp_Dir &dir1, const gp_Dir &dir2, const gp_Pnt &OffsetPoint)
 Draws the representation of the angle
defined by dir1 and dir2, centered on
CenterPoint, using the offset point OffsetPoint.
Lines are drawn to points AttachmentPoint1 and AttachmentPoint2
.
static Standard_EXPORT void Add (const Handle(Prs3d_Presentation)&aPresentation, const Handle(Prs3d_Drawer)&aDrawer, const Standard_Real theval, const TCollection_ExtendedString &thevalstring, const gp_Pnt &CenterPoint, const gp_Pnt &AttachmentPoint1, const gp_Pnt &AttachmentPoint2, const gp_Dir &dir1, const gp_Dir &dir2, const gp_Pnt &OffsetPoint)
 Same as above, but <thevalstring> contains conversion
in Session units....
.
static Standard_EXPORT void Add (const Handle(Prs3d_Presentation)&aPresentation, const Handle(Prs3d_Drawer)&aDrawer, const Standard_Real theval, const TCollection_ExtendedString &thevalstring, const gp_Pnt &CenterPoint, const gp_Pnt &AttachmentPoint1, const gp_Pnt &AttachmentPoint2, const gp_Dir &dir1, const gp_Dir &dir2, const gp_Pnt &OffsetPoint, const DsgPrs_ArrowSide ArrowSide)
 Same as above, may add one or
two Arrows according to <arrowside> value
.
static Standard_EXPORT void Add (const Handle(Prs3d_Presentation)&aPresentation, const Handle(Prs3d_Drawer)&aDrawer, const Standard_Real theval, const TCollection_ExtendedString &thevalstring, const gp_Pnt &CenterPoint, const gp_Pnt &AttachmentPoint1, const gp_Pnt &AttachmentPoint2, const gp_Dir &dir1, const gp_Dir &dir2, const gp_Dir &axisdir, const gp_Pnt &OffsetPoint)
 Same as above, but axisdir contains the axis direction
useful for Revol that can be opened with 180 degrees
.
static Standard_EXPORT void Add (const Handle(Prs3d_Presentation)&aPresentation, const Handle(Prs3d_Drawer)&aDrawer, const Standard_Real theval, const TCollection_ExtendedString &thevalstring, const gp_Pnt &CenterPoint, const gp_Pnt &AttachmentPoint1, const gp_Pnt &AttachmentPoint2, const gp_Dir &dir1, const gp_Dir &dir2, const gp_Dir &axisdir, const Standard_Boolean isPlane, const gp_Ax1 &AxisOfSurf, const gp_Pnt &OffsetPoint, const DsgPrs_ArrowSide ArrowSide)
 Same as above,may add one or
two Arrows according to <arrowside> value
.
static Standard_EXPORT void Add (const Handle(Prs3d_Presentation)&aPresentation, const Handle(Prs3d_Drawer)&aDrawer, const Standard_Real theval, const gp_Pnt &theCenter, const gp_Pnt &AttachmentPoint1, const gp_Ax1 &theAxe, const DsgPrs_ArrowSide ArrowSide)
 simple representation of a poor lonesome angle dimension
Draw a line from <thecenter> to <attachmentpoint1>, then operates
a rotation around the perpmay add one or
two Arrows according to <arrowside> value. The
attributes (color,arrowsize,...) are driven by the Drawer.


Member Function Documentation

static Standard_EXPORT void DsgPrs_AnglePresentation::Add const Handle(Prs3d_Presentation)&  aPresentation,
const Handle(Prs3d_Drawer)&  aDrawer,
const Standard_Real  theval,
const gp_Pnt &  theCenter,
const gp_Pnt &  AttachmentPoint1,
const gp_Ax1 &  theAxe,
const DsgPrs_ArrowSide  ArrowSide
[static]
 

static Standard_EXPORT void DsgPrs_AnglePresentation::Add const Handle(Prs3d_Presentation)&  aPresentation,
const Handle(Prs3d_Drawer)&  aDrawer,
const Standard_Real  theval,
const TCollection_ExtendedString &  thevalstring,
const gp_Pnt &  CenterPoint,
const gp_Pnt &  AttachmentPoint1,
const gp_Pnt &  AttachmentPoint2,
const gp_Dir &  dir1,
const gp_Dir &  dir2,
const gp_Dir &  axisdir,
const Standard_Boolean  isPlane,
const gp_Ax1 &  AxisOfSurf,
const gp_Pnt &  OffsetPoint,
const DsgPrs_ArrowSide  ArrowSide
[static]
 

static Standard_EXPORT void DsgPrs_AnglePresentation::Add const Handle(Prs3d_Presentation)&  aPresentation,
const Handle(Prs3d_Drawer)&  aDrawer,
const Standard_Real  theval,
const TCollection_ExtendedString &  thevalstring,
const gp_Pnt &  CenterPoint,
const gp_Pnt &  AttachmentPoint1,
const gp_Pnt &  AttachmentPoint2,
const gp_Dir &  dir1,
const gp_Dir &  dir2,
const gp_Dir &  axisdir,
const gp_Pnt &  OffsetPoint
[static]
 

static Standard_EXPORT void DsgPrs_AnglePresentation::Add const Handle(Prs3d_Presentation)&  aPresentation,
const Handle(Prs3d_Drawer)&  aDrawer,
const Standard_Real  theval,
const TCollection_ExtendedString &  thevalstring,
const gp_Pnt &  CenterPoint,
const gp_Pnt &  AttachmentPoint1,
const gp_Pnt &  AttachmentPoint2,
const gp_Dir &  dir1,
const gp_Dir &  dir2,
const gp_Pnt &  OffsetPoint,
const DsgPrs_ArrowSide  ArrowSide
[static]
 

static Standard_EXPORT void DsgPrs_AnglePresentation::Add const Handle(Prs3d_Presentation)&  aPresentation,
const Handle(Prs3d_Drawer)&  aDrawer,
const Standard_Real  theval,
const TCollection_ExtendedString &  thevalstring,
const gp_Pnt &  CenterPoint,
const gp_Pnt &  AttachmentPoint1,
const gp_Pnt &  AttachmentPoint2,
const gp_Dir &  dir1,
const gp_Dir &  dir2,
const gp_Pnt &  OffsetPoint
[static]
 

static Standard_EXPORT void DsgPrs_AnglePresentation::Add const Handle(Prs3d_Presentation)&  aPresentation,
const Handle(Prs3d_Drawer)&  aDrawer,
const Standard_Real  theval,
const gp_Pnt &  CenterPoint,
const gp_Pnt &  AttachmentPoint1,
const gp_Pnt &  AttachmentPoint2,
const gp_Dir &  dir1,
const gp_Dir &  dir2,
const gp_Pnt &  OffsetPoint
[static]
 

static Standard_EXPORT void DsgPrs_AnglePresentation::Add const Handle(Prs3d_Presentation)&  aPresentation,
const Handle(Prs3d_Drawer)&  aDrawer,
const Standard_Real  aVal,
const TCollection_ExtendedString &  aText,
const gp_Circ &  aCircle,
const gp_Pnt &  aPosition,
const gp_Pnt &  Apex,
const gp_Circ &  VminCircle,
const gp_Circ &  VmaxCircle,
const Standard_Real  aArrowSize
[static]
 

void DsgPrs_AnglePresentation::operator delete void *  anAddress  )  [inline]
 

void* DsgPrs_AnglePresentation::operator new size_t  size  )  [inline]
 

void* DsgPrs_AnglePresentation::operator new size_t  ,
void *  anAddress
[inline]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:55:29 2008 for OpenCASCADE by  doxygen 1.4.1