Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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

GEOM::GEOM_Object_ptr GEOMBase::ConvertIOinGEOMObject ( const Handle(SALOME_InteractiveObject)&  IO)
static
GEOM_Actor * GEOMBase::ConvertIORinGEOMActor ( const QString &  IOR,
bool  onlyInActiveView = false 
)
static

References Handle().

void GEOMBase::ConvertListOfIOInListOfGO ( const SALOME_ListIO &  IObjects,
GEOM::ListOfGO geomObjects,
bool  shapesOnly = false 
)
static
QStringList GEOMBase::ConvertListOfIOInListOfIOR ( const SALOME_ListIO &  IObjects)
static
TopoDS_Shape GEOMBase::CreateArrowForLinearEdge ( const TopoDS_Shape &  tds)
static

References aHeight, Curve(), and Handle().

void GEOMBase::DefineDlgPosition ( QWidget dlg,
int &  x,
int &  y 
)
static
void GEOMBase::GetBipointDxDyDz ( const gp_Pnt &  point1,
const gp_Pnt &  point2,
double &  dx,
double &  dy,
double &  dz 
)
static
QString GEOMBase::GetDefaultName ( const QString &  operation,
bool  extractPrefix = false 
)
static

References it().

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

References GetIORFromObject().

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

References anIndices.

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

References GetDefaultName(), and TypeName().

int GEOMBase::GetNameOfSelectedIObjects ( const SALOME_ListIO &  IObjects,
QString &  name,
const bool  shapesOnly = false 
)
static
GEOM::GEOM_Object_ptr GEOMBase::GetObjectFromIOR ( const QString &  IOR)
static
bool GEOMBase::GetShape ( GEOM::GEOM_Object_ptr  object,
TopoDS_Shape &  shape,
const TopAbs_ShapeEnum  type = TopAbs_SHAPE 
)
static
TopoDS_Shape GEOMBase::GetShapeFromIOR ( const QString &  IOR)
static

References GetObjectFromIOR(), and GetShape().

QString GEOMBase::GetShapeTypeString ( const TopoDS_Shape &  shape)
static
TopoDS_Shape GEOMBase::GetTopoFromSelection ( const SALOME_ListIO &  IObjects)
static

References GetShapeFromIOR(), and Handle().

static GEOMBase::Handle ( GEOM_AISShape  ) const
static
static GEOMBase::Handle ( AIS_InteractiveObject  ) const
static
static GEOMBase::Handle ( GEOM_AISShape  ) const
static
bool GEOMBase::IsShape ( GEOM::GEOM_Object_ptr  object)
static
bool GEOMBase::LinearEdgeExtremities ( const TopoDS_Shape &  shape,
gp_Pnt &  point1,
gp_Pnt &  point2 
)
static
void GEOMBase::PublishSubObject ( GEOM::GEOM_Object_ptr  object,
const QString &  name = QString() 
)
static
bool GEOMBase::SelectionByNameInDialogs ( QWidget widget,
const QString &  userObjectName,
const SALOME_ListIO &  IObjects 
)
static

References Handle().

void GEOMBase::ShowErrorMessage ( const QString &  errorCode,
const QString &  comment = QString() 
)
static
void GEOMBase::Synchronize ( QList< GEOM::GeomObjPtr > &  left,
QList< GEOM::GeomObjPtr > &  right 
)
static
QString GEOMBase::TypeName ( TopAbs_ShapeEnum  type,
bool  capitalize = false 
)
static
bool GEOMBase::VertexToPoint ( const TopoDS_Shape &  shape,
gp_Pnt &  point 
)
static

Member Data Documentation

bool bool GEOMBase::onlyGeom = false )
static bool GEOMBase::onlyInActiveView = false )

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