Version: 9.12.0
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, bool capitalize=false)
 
static QString GetEntry (GEOM::GEOM_Object_ptr object)
 
static void PublishSubObject (GEOM::GEOM_Object_ptr object, const QString &name=QString())
 
static void Synchronize (QList< GEOM::GeomObjPtr > &left, QList< GEOM::GeomObjPtr > &right)
 

Public Attributes

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

Member Function Documentation

◆ ConvertIOinGEOMObject()

GEOM::GEOM_Object_ptr GEOMBase::ConvertIOinGEOMObject ( const Handle(SALOME_InteractiveObject)&  IO)
static

◆ ConvertIORinGEOMActor()

GEOM_Actor * GEOMBase::ConvertIORinGEOMActor ( const QString &  IOR,
bool  onlyInActiveView = false 
)
static

References Handle(), and onlyInActiveView.

◆ ConvertListOfIOInListOfGO()

void GEOMBase::ConvertListOfIOInListOfGO ( const SALOME_ListIO &  IObjects,
GEOM::ListOfGO geomObjects,
bool  shapesOnly = false 
)
static

◆ ConvertListOfIOInListOfIOR()

QStringList GEOMBase::ConvertListOfIOInListOfIOR ( const SALOME_ListIO &  IObjects)
static

◆ CreateArrowForLinearEdge()

TopoDS_Shape GEOMBase::CreateArrowForLinearEdge ( const TopoDS_Shape &  tds)
static

References Handle().

◆ DefineDlgPosition()

void GEOMBase::DefineDlgPosition ( QWidget dlg,
int &  x,
int &  y 
)
static

◆ GetBipointDxDyDz()

void GEOMBase::GetBipointDxDyDz ( const gp_Pnt &  point1,
const gp_Pnt &  point2,
double &  dx,
double &  dy,
double &  dz 
)
static

◆ GetDefaultName()

QString GEOMBase::GetDefaultName ( const QString &  operation,
bool  extractPrefix = false 
)
static

◆ GetEntry()

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

References GetIORFromObject().

◆ GetIndex()

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

◆ GetIORFromObject()

QString GEOMBase::GetIORFromObject ( GEOM::GEOM_Object_ptr  object)
static

◆ GetName()

QString GEOMBase::GetName ( GEOM::GEOM_Object_ptr  object)
static

References GetDefaultName(), and TypeName().

◆ GetNameOfSelectedIObjects()

int GEOMBase::GetNameOfSelectedIObjects ( const SALOME_ListIO &  IObjects,
QString &  name,
const bool  shapesOnly = false 
)
static

◆ GetObjectFromIOR()

GEOM::GEOM_Object_ptr GEOMBase::GetObjectFromIOR ( const QString &  IOR)
static

◆ GetShape()

bool GEOMBase::GetShape ( GEOM::GEOM_Object_ptr  object,
TopoDS_Shape &  shape,
const TopAbs_ShapeEnum  type = TopAbs_SHAPE 
)
static

◆ GetShapeFromIOR()

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

References GetObjectFromIOR(), and GetShape().

◆ GetShapeTypeString()

QString GEOMBase::GetShapeTypeString ( const TopoDS_Shape &  shape)
static

◆ GetTopoFromSelection()

TopoDS_Shape GEOMBase::GetTopoFromSelection ( const SALOME_ListIO &  IObjects)
static

References GetShapeFromIOR(), and Handle().

◆ Handle() [1/3]

static GEOMBase::Handle ( AIS_InteractiveObject  ) const &
static

◆ Handle() [2/3]

static GEOMBase::Handle ( GEOM_AISShape  ) const &
static

◆ Handle() [3/3]

static GEOMBase::Handle ( GEOM_AISShape  ) const &
static

◆ IsShape()

bool GEOMBase::IsShape ( GEOM::GEOM_Object_ptr  object)
static

◆ LinearEdgeExtremities()

bool GEOMBase::LinearEdgeExtremities ( const TopoDS_Shape &  shape,
gp_Pnt &  point1,
gp_Pnt &  point2 
)
static

◆ PublishSubObject()

void GEOMBase::PublishSubObject ( GEOM::GEOM_Object_ptr  object,
const QString &  name = QString() 
)
static

◆ SelectionByNameInDialogs()

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

References Handle().

◆ ShowErrorMessage()

void GEOMBase::ShowErrorMessage ( const QString &  errorCode,
const QString &  comment = QString() 
)
static

◆ Synchronize()

void GEOMBase::Synchronize ( QList< GEOM::GeomObjPtr > &  left,
QList< GEOM::GeomObjPtr > &  right 
)
static

◆ TypeName()

QString GEOMBase::TypeName ( TopAbs_ShapeEnum  type,
bool  capitalize = false 
)
static

◆ VertexToPoint()

bool GEOMBase::VertexToPoint ( const TopoDS_Shape &  shape,
gp_Pnt &  point 
)
static

Member Data Documentation

◆ onlyGeom

bool bool GEOMBase::onlyGeom = false )

◆ onlyInActiveView

static bool GEOMBase::onlyInActiveView = false )

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