Version: 6.3.1
Static Public Member Functions | Data Fields

GEOMBase Class Reference

#include <GEOMBase.h>

Static Public Member Functions

static int GetIndex (const TopoDS_Shape &subshape, const TopoDS_Shape &shape)
static TopoDS_Shape GetShapeFromIOR (const QString &IOR)
static bool GetShape (GEOM::GEOM_Object_ptr object, TopoDS_Shape &shape, const TopAbs_ShapeEnum type=TopAbs_SHAPE)
static TopoDS_Shape GetTopoFromSelection (const SALOME_ListIO &IObjects)
static int GetNameOfSelectedIObjects (const SALOME_ListIO &IObjects, QString &name, const bool shapesOnly=false)
static QString GetShapeTypeString (const TopoDS_Shape &shape)
static Handle (GEOM_AISShape) ConvertIOinGEOMAISShape(const Handle(SALOME_InteractiveObject)&IO
static Handle (AIS_InteractiveObject) GetAIS(const Handle(SALOME_InteractiveObject)&IO
static QStringList ConvertListOfIOInListOfIOR (const SALOME_ListIO &IObjects)
static Handle (GEOM_AISShape) ConvertIORinGEOMAISShape(const QString &IOR
static GEOM_ActorConvertIORinGEOMActor (const QString &IOR, bool onlyInActiveView=false)
static GEOM::GEOM_Object_ptr ConvertIOinGEOMObject (const Handle(SALOME_InteractiveObject)&IO)
static void ConvertListOfIOInListOfGO (const SALOME_ListIO &IObjects, GEOM::ListOfGO &geomObjects, bool shapesOnly=false)
static GEOM::GEOM_Object_ptr GetObjectFromIOR (const QString &IOR)
static QString GetIORFromObject (GEOM::GEOM_Object_ptr object)
static bool VertexToPoint (const TopoDS_Shape &shape, gp_Pnt &point)
static bool LinearEdgeExtremities (const TopoDS_Shape &shape, gp_Pnt &point1, gp_Pnt &point2)
static void GetBipointDxDyDz (const gp_Pnt &point1, const gp_Pnt &point2, double &dx, double &dy, double &dz)
static TopoDS_Shape CreateArrowForLinearEdge (const TopoDS_Shape &tds)
static bool SelectionByNameInDialogs (QWidget *widget, const QString &userObjectName, const SALOME_ListIO &IObjects)
static void DefineDlgPosition (QWidget *dlg, int &x, int &y)
static QString GetDefaultName (const QString &operation, bool extractPrefix=false)
static void ShowErrorMessage (const QString &errorCode, const QString &comment=QString())
static QString GetName (GEOM::GEOM_Object_ptr object)
static bool IsShape (GEOM::GEOM_Object_ptr object)
static QString TypeName (TopAbs_ShapeEnum type)
static QString GetEntry (GEOM::GEOM_Object_ptr object)
static void PublishSubObject (GEOM::GEOM_Object_ptr object)

Data Fields

static bool onlyInActiveView = false )
static bool bool onlyGeom = false )

Member Function Documentation

int GEOMBase::GetIndex ( const TopoDS_Shape &  subshape,
const TopoDS_Shape &  shape 
) [static]

References MapShapes().

TopoDS_Shape GEOMBase::GetShapeFromIOR ( const QString &  IOR) [static]

References GetObjectFromIOR(), and GetShape().

bool GEOMBase::GetShape ( GEOM::GEOM_Object_ptr  object,
TopoDS_Shape &  shape,
const TopAbs_ShapeEnum  type = TopAbs_SHAPE 
) [static]
TopoDS_Shape GEOMBase::GetTopoFromSelection ( const SALOME_ListIO &  IObjects) [static]

References GetShapeFromIOR(), and Handle().

int GEOMBase::GetNameOfSelectedIObjects ( const SALOME_ListIO &  IObjects,
QString &  name,
const bool  shapesOnly = false 
) [static]
QString GEOMBase::GetShapeTypeString ( const TopoDS_Shape &  shape) [static]
static GEOMBase.Handle ( GEOM_AISShape  ) const [static]
static GEOMBase.Handle ( AIS_InteractiveObject  ) const [static]
QStringList GEOMBase::ConvertListOfIOInListOfIOR ( const SALOME_ListIO &  IObjects) [static]
static GEOMBase.Handle ( GEOM_AISShape  ) const [static]
GEOM_Actor * GEOMBase::ConvertIORinGEOMActor ( const QString &  IOR,
bool  onlyInActiveView = false 
) [static]

References Handle().

GEOM::GEOM_Object_ptr GEOMBase::ConvertIOinGEOMObject ( const Handle(SALOME_InteractiveObject)&  IO) [static]
void GEOMBase::ConvertListOfIOInListOfGO ( const SALOME_ListIO &  IObjects,
GEOM::ListOfGO geomObjects,
bool  shapesOnly = false 
) [static]
GEOM::GEOM_Object_ptr GEOMBase::GetObjectFromIOR ( const QString &  IOR) [static]
QString GEOMBase::GetIORFromObject ( GEOM::GEOM_Object_ptr  object) [static]
bool GEOMBase::VertexToPoint ( const TopoDS_Shape &  shape,
gp_Pnt &  point 
) [static]
bool GEOMBase::LinearEdgeExtremities ( const TopoDS_Shape &  shape,
gp_Pnt &  point1,
gp_Pnt &  point2 
) [static]
void GEOMBase::GetBipointDxDyDz ( const gp_Pnt &  point1,
const gp_Pnt &  point2,
double &  dx,
double &  dy,
double &  dz 
) [static]
TopoDS_Shape GEOMBase::CreateArrowForLinearEdge ( const TopoDS_Shape &  tds) [static]

References Handle(), and GEOM_moteur.V1.

bool GEOMBase::SelectionByNameInDialogs ( QWidget widget,
const QString &  userObjectName,
const SALOME_ListIO &  IObjects 
) [static]

References Handle().

void GEOMBase::DefineDlgPosition ( QWidget dlg,
int &  x,
int &  y 
) [static]
QString GEOMBase::GetDefaultName ( const QString &  operation,
bool  extractPrefix = false 
) [static]
void GEOMBase::ShowErrorMessage ( const QString &  errorCode,
const QString &  comment = QString() 
) [static]
QString GEOMBase::GetName ( GEOM::GEOM_Object_ptr  object) [static]
bool GEOMBase::IsShape ( GEOM::GEOM_Object_ptr  object) [static]
QString GEOMBase::TypeName ( TopAbs_ShapeEnum  type) [static]

References GEOM_example.name.

QString GEOMBase::GetEntry ( GEOM::GEOM_Object_ptr  object) [static]

References GetIORFromObject().

void GEOMBase::PublishSubObject ( GEOM::GEOM_Object_ptr  object) [static]

Field Documentation

static bool GEOMBase::onlyInActiveView = false )
bool bool GEOMBase.onlyGeom = false )
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS