Version: 9.12.0
GEOMGUI_Selection Class Reference

#include <GEOMGUI_Selection.h>

Inheritance diagram for GEOMGUI_Selection:
Inheritance graph

Public Member Functions

 GEOMGUI_Selection ()
 
virtual ~GEOMGUI_Selection ()
 
virtual void init (const QString &, LightApp_SelectionMgr *)
 
virtual bool processOwner (const LightApp_DataOwner *)
 
virtual QVariant parameter (const QString &) const
 
virtual QVariant parameter (const int, const QString &) const
 

Static Public Member Functions

static bool hasChildren (const _PTR(SObject)&)
 
static bool expandable (const _PTR(SObject)&)
 
static bool isCompoundOfVertices (GEOM::GEOM_Object_ptr)
 
static bool isFolder (const _PTR(SObject)&)
 

Private Types

typedef QVector< GEOM::GEOM_BaseObject_var > GeomObjectVector
 

Private Member Functions

bool isVisible (const int) const
 
bool isAutoColor (const int) const
 
bool isImported (const int) const
 
QString typeName (const int) const
 
int typeId (const int) const
 
QString displayMode (const int) const
 
QString selectionMode () const
 
bool isVectorsMode (const int) const
 
bool isVerticesMode (const int) const
 
bool isNameMode (const int) const
 
bool hasChildren (const int) const
 
int nbChildren (const int) const
 
bool hasConcealedChildren (const int) const
 
bool hasDisclosedChildren (const int) const
 
bool compoundOfVertices (const int) const
 
bool topLevel (const int) const
 
bool autoBringToFront (const int) const
 
bool isPhysicalMaterial (const int) const
 
bool isComponent (const int) const
 
bool isFolder (const int) const
 
bool hasDimensions (const int, bool &, bool &) const
 
bool hasHiddenDimensions (const int) const
 
bool hasVisibleDimensions (const int) const
 
int annotationsCount () const
 
bool hasAnnotations (const int, bool &, bool &) const
 
bool hasHiddenAnnotations (const int) const
 
bool hasVisibleAnnotations (const int) const
 
GEOM::GEOM_Object_ptr getObject (const int) const
 
GEOM::GEOM_BaseObject_ptr getBaseObject (const int) const
 
bool hasImported () const
 
bool allImported () const
 
QVariant visibleProperty (const QString &, const QString &) const
 

Private Attributes

GeomObjectVector myObjects
 
QStringList myAnnotationEntries
 

Member Typedef Documentation

◆ GeomObjectVector

typedef QVector<GEOM::GEOM_BaseObject_var> GEOMGUI_Selection::GeomObjectVector
private

Constructor & Destructor Documentation

◆ GEOMGUI_Selection()

GEOMGUI_Selection::GEOMGUI_Selection ( )

◆ ~GEOMGUI_Selection()

GEOMGUI_Selection::~GEOMGUI_Selection ( )
virtual

Member Function Documentation

◆ allImported()

bool GEOMGUI_Selection::allImported ( ) const
private

References isImported().

◆ annotationsCount()

int GEOMGUI_Selection::annotationsCount ( ) const
private

References myAnnotationEntries.

◆ autoBringToFront()

bool GEOMGUI_Selection::autoBringToFront ( const int  ) const
private

◆ compoundOfVertices()

bool GEOMGUI_Selection::compoundOfVertices ( const int  index) const
private

◆ displayMode()

QString GEOMGUI_Selection::displayMode ( const int  index) const
private

◆ expandable()

bool GEOMGUI_Selection::expandable ( const _PTR(SObject)&  obj)
static

◆ getBaseObject()

GEOM::GEOM_BaseObject_ptr GEOMGUI_Selection::getBaseObject ( const int  index) const
private

References myObjects.

◆ getObject()

GEOM::GEOM_Object_ptr GEOMGUI_Selection::getObject ( const int  index) const
private

References myObjects.

◆ hasAnnotations()

bool GEOMGUI_Selection::hasAnnotations ( const int  theIndex,
bool &  theHidden,
bool &  theVisible 
) const
private

References Handle().

◆ hasChildren() [1/2]

bool GEOMGUI_Selection::hasChildren ( const _PTR(SObject)&  obj)
static

◆ hasChildren() [2/2]

bool GEOMGUI_Selection::hasChildren ( const int  index) const
private

References hasChildren().

◆ hasConcealedChildren()

bool GEOMGUI_Selection::hasConcealedChildren ( const int  index) const
private

References expandable(), hasChildren(), and OK.

◆ hasDimensions()

bool GEOMGUI_Selection::hasDimensions ( const int  theIndex,
bool &  theHidden,
bool &  theVisible 
) const
private

◆ hasDisclosedChildren()

bool GEOMGUI_Selection::hasDisclosedChildren ( const int  index) const
private

References expandable(), hasChildren(), and OK.

◆ hasHiddenAnnotations()

bool GEOMGUI_Selection::hasHiddenAnnotations ( const int  theIndex) const
private

References hasAnnotations().

◆ hasHiddenDimensions()

bool GEOMGUI_Selection::hasHiddenDimensions ( const int  theIndex) const
private

References hasDimensions().

◆ hasImported()

bool GEOMGUI_Selection::hasImported ( ) const
private

References isImported().

◆ hasVisibleAnnotations()

bool GEOMGUI_Selection::hasVisibleAnnotations ( const int  theIndex) const
private

References hasAnnotations().

◆ hasVisibleDimensions()

bool GEOMGUI_Selection::hasVisibleDimensions ( const int  theIndex) const
private

References hasDimensions().

◆ init()

void GEOMGUI_Selection::init ( const QString &  context,
LightApp_SelectionMgr *  selMgr 
)
virtual

◆ isAutoColor()

bool GEOMGUI_Selection::isAutoColor ( const int  index) const
private

References getObject().

◆ isComponent()

bool GEOMGUI_Selection::isComponent ( const int  index) const
private

◆ isCompoundOfVertices()

bool GEOMGUI_Selection::isCompoundOfVertices ( GEOM::GEOM_Object_ptr  obj)
static

References GEOM::COMPOUND, and GEOM::VERTEX.

◆ isFolder() [1/2]

bool GEOMGUI_Selection::isFolder ( const _PTR(SObject)&  obj)
static

◆ isFolder() [2/2]

bool GEOMGUI_Selection::isFolder ( const int  index) const
private

References isFolder().

◆ isImported()

bool GEOMGUI_Selection::isImported ( const int  index) const
private

◆ isNameMode()

bool GEOMGUI_Selection::isNameMode ( const int  index) const
private

◆ isPhysicalMaterial()

bool GEOMGUI_Selection::isPhysicalMaterial ( const int  idx) const
private

◆ isVectorsMode()

bool GEOMGUI_Selection::isVectorsMode ( const int  index) const
private

◆ isVerticesMode()

bool GEOMGUI_Selection::isVerticesMode ( const int  index) const
private

◆ isVisible()

bool GEOMGUI_Selection::isVisible ( const int  index) const
private

◆ nbChildren()

int GEOMGUI_Selection::nbChildren ( const int  index) const
private

◆ parameter() [1/2]

◆ parameter() [2/2]

QVariant GEOMGUI_Selection::parameter ( const QString &  p) const
virtual

◆ processOwner()

bool GEOMGUI_Selection::processOwner ( const LightApp_DataOwner *  theOwner)
virtual

◆ selectionMode()

QString GEOMGUI_Selection::selectionMode ( ) const
private

◆ topLevel()

bool GEOMGUI_Selection::topLevel ( const int  index) const
private

◆ typeId()

int GEOMGUI_Selection::typeId ( const int  index) const
private

References getObject().

◆ typeName()

QString GEOMGUI_Selection::typeName ( const int  index) const
private

◆ visibleProperty()

QVariant GEOMGUI_Selection::visibleProperty ( const QString &  entry,
const QString &  propName 
) const
private

Member Data Documentation

◆ myAnnotationEntries

QStringList GEOMGUI_Selection::myAnnotationEntries
private

◆ myObjects

GeomObjectVector GEOMGUI_Selection::myObjects
private

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