Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
MeasureGUI_DimensionCreateTool Class Reference

#include <MeasureGUI_DimensionCreateTool.h>

Classes

struct  Segment
 

Public Types

typedef NCollection_Sequence
< gp_Dir > 
SeqOfDirs
 
typedef NCollection_Sequence
< gp_Pln > 
SeqOfPlanes
 
typedef NCollection_Sequence
< Segment
SeqOfSegments
 

Public Member Functions

 MeasureGUI_DimensionCreateTool ()
 

Public Attributes

struct {
   Standard_Real   DefaultFlyout
 
Settings
 

Protected Member Functions

void ChooseLengthFlyoutsFromBnd (SeqOfDirs &, const gp_Pnt &, const gp_Pnt &, const Bnd_Box &) const
 
gp_Dir ChooseDirFromBnd (const SeqOfDirs &, const gp_Pnt &, const Bnd_Box &) const
 
template<typename TPlane >
TPlane SelectPlaneForProjection (const NCollection_Sequence< TPlane > &, const Handle(V3d_View)&) const
 
void PositionLength (const Bnd_Box &, const gp_Vec &, const gp_Vec &, const gp_Vec &, const gp_Vec &, const gp_Pnt &, const gp_Pnt &, gp_Pln &) const
 
void PositionDiameter (const Bnd_Box &, const gp_Vec &, const gp_Circ &, gp_Pnt &, gp_Pnt &, gp_Pln &) const
 
void PositionDiameter (const Bnd_Box &, const gp_Vec &, const gp_Circ &, const Standard_Real &, gp_Pln &) const
 
GEOM::GeomObjPtr GetMainShape (const GEOM::GeomObjPtr &) const
 
bool GetFaceSide (const TopoDS_Face &, const TopoDS_Edge &, gp_Dir &) const
 
SeqOfSegments GetInPlaneSegments (const gp_Circ &, const SeqOfDirs &) const
 

Member Typedef Documentation

typedef NCollection_Sequence<gp_Dir> MeasureGUI_DimensionCreateTool::SeqOfDirs
typedef NCollection_Sequence<gp_Pln> MeasureGUI_DimensionCreateTool::SeqOfPlanes

Constructor & Destructor Documentation

MeasureGUI_DimensionCreateTool::MeasureGUI_DimensionCreateTool ( )

References NULL, and Settings.

Member Function Documentation

gp_Dir MeasureGUI_DimensionCreateTool::ChooseDirFromBnd ( const SeqOfDirs theCandidates,
const gp_Pnt &  thePos,
const Bnd_Box &  theBnd 
) const
protected
void MeasureGUI_DimensionCreateTool::ChooseLengthFlyoutsFromBnd ( SeqOfDirs theDirs,
const gp_Pnt &  thePnt1,
const gp_Pnt &  thePnt2,
const Bnd_Box &  theBnd 
) const
protected
bool MeasureGUI_DimensionCreateTool::GetFaceSide ( const TopoDS_Face &  theFace,
const TopoDS_Edge &  theEdge,
gp_Dir &  theDir 
) const
protected

References Handle().

MeasureGUI_DimensionCreateTool::SeqOfSegments MeasureGUI_DimensionCreateTool::GetInPlaneSegments ( const gp_Circ &  theCirc,
const SeqOfDirs thePlanes 
) const
protected
GEOM::GeomObjPtr MeasureGUI_DimensionCreateTool::GetMainShape ( const GEOM::GeomObjPtr theShape) const
protected
void MeasureGUI_DimensionCreateTool::PositionDiameter ( const Bnd_Box &  theBnd,
const gp_Vec &  theFaceN,
const gp_Circ &  theCirc,
gp_Pnt &  thePnt1,
gp_Pnt &  thePnt2,
gp_Pln &  thePln 
) const
protected
void MeasureGUI_DimensionCreateTool::PositionDiameter ( const Bnd_Box &  theBnd,
const gp_Vec &  theFaceN,
const gp_Circ &  theCirc,
const Standard_Real &  theAnchorAt,
gp_Pln &  thePln 
) const
protected
void MeasureGUI_DimensionCreateTool::PositionLength ( const Bnd_Box &  theBnd,
const gp_Vec &  theFaceN1,
const gp_Vec &  theFaceN2,
const gp_Vec &  theFaceS1,
const gp_Vec &  theFaceS2,
const gp_Pnt &  thePnt1,
const gp_Pnt &  thePnt2,
gp_Pln &  thePln 
) const
protected
template<typename TPlane >
TPlane MeasureGUI_DimensionCreateTool::SelectPlaneForProjection ( const NCollection_Sequence< TPlane > &  thePlanes,
const Handle(V3d_View)&  theView 
) const
protected

Member Data Documentation

Standard_Real MeasureGUI_DimensionCreateTool::DefaultFlyout
struct { ... } MeasureGUI_DimensionCreateTool::Settings

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