MainPage   Files   Related pages 
Public Slots | Signals | List of all members
desiteCore::NavigatorProjectAPI Class Reference

#include <desiteCore/NavigatorProjectAPI.h>

Inheritance diagram for desiteCore::NavigatorProjectAPI:
desiteCore::ProjectAPI desiteCore::CoreAPI

Public Slots

void setVisualisationMode (int mode)
QVariant callScriptByName (QString scriptName)
- Public Slots inherited from desiteCore::ProjectAPI
QString getModelByName (QString name)
QStringList getModelListByName (QString name)
QString createModel (QString name, bool createRootC=true)
void message (QString)
void flushEvents ()
int setPropertyValue (QString objID, QString propName, QString propType, QVariant value)
QList< QVariant > getAvailablePropertyValues (QString propName, QString propDatatype, int maxValues)
int setLinkedObjects (QString objID, QString objIdList)
int removeAllLinkedObjects (QString objID)
void startEXE (QString prg, QString args)
void openLink (QString url, bool useDesktopService)
void openProject (QString url, bool useSessionData)
bool hasElement (QString ID)
QString getRootContainerByName (QString modelName, QString rootContainerName)
QStringList getRootContainerList (QString modelName)
QString getContainerByName (QString parentID, QString name)
QString createSelectionSets (QString propName, QString rootName)
QString createObject (QString parentID, QString name)
QString createObjectFromXml (QString parentID, QString objectXML)
int transformObject (QString objID, QString transformation)
int deleteObjects (QString objIdList)
void filterElements (QString pName, QString pType, QString pattern)
void setName (QString objIdList, QString name)
bool writeFile (QString filename, QString content)
bool openFile (QString filename)
bool writeToFile (QString content)
bool closeFile ()
QStringList readTextFile (QString filename)
int setPropertyValueDB (QString objIdList, QString propName, QString propType, QString propDomain, QVariant value)
bool dbIsLocalCopy ()
void dbCheckIn ()
void dbCheckOut (QStringList propList)
bool dbQueryExec (QString sqlQurery)
bool dbQueryNext ()
QVariant dbQueryValue (int column)
bool startTransaction ()
bool endTransaction ()
bool dbGetImmediateUpdate ()
void dbSetImmediateUpdate (bool)
int dbClearCache (QString propName, QString propType)
void dbClearCacheAll ()
int dbDeleteProperty (QString objIdList, QString propName, QString propType)
QString createColorSchema (QString setContainerID, QString name)
QString createColorSchemaFromCurrentMaterials (QString name, bool updateExisting)
int showColorSchema (QString name)
QString getCurrentColorSchema ()
QStringList getColorSchemaList ()
QString createMaterial (QString xmlMat, QString modelID=QString())
int deleteMaterial (QString matID)
QStringList getMaterialList ()
QString getMaterialAsXmlByID (QString matID)
QString getMaterialIDByName (QString matName)
void updateMaterial (QString matID, QString xmlMat)
int setMaterialToObjects (QString matID, QString objIdList)
void resetMaterials ()
void itColorCode (QString propName, QString propDT)
void itColorCodeNumber (QString propName, QString propDT, double intervalSize)
int setTransparency (QString objIdList, float defaultTransparency=0.95)
void showAll (bool repaint)
void hideAll (bool repaint)
void showElements (QString objIdList, bool includeBlocked=false)
QVariantMap showElementsOOBBSide (QString objIdList, double prec)
QVariantMap showElementsOOBBTop (QString objIdList, double prec)
QVariantMap showElementsOOBBFront (QString objIdList, double prec)
void showDimensionsPainter (bool showAABB, bool showOOBB)
void hideDimensionsPainter ()
void showElementsOnly (QString objIdList)
void hideElements (QString objIdList, bool ignoreObjectLocking=false)
void clearSelection (bool repaint)
void selectVisible ()
void selectVisibleGeometric ()
void selectElements (QString objIdList, bool flag)
void repaint3DView ()
void reorderElements ()
void zoomToSelected ()
void zoomToVisible ()
void zoomTopView ()
QString getVisible ()
int countVisible ()
QString getSelected ()
int countSelected ()
void lockObjects (QString objIdList)
void unlockObjects (QString objIdList)
void unlockAllObjects ()
QString getLocked ()
int countLocked ()
int showViewpoint (QString name)
int showViewpointByID (QString id)
QString saveViewpoint (QString name, bool saveVisible=true, bool saveSelected=false)
QStringList getViewpointIDList ()
QStringList getViewpointNameList ()
void addToViewPoint (QString vpID, QString objIdList)
void removeFromViewPoint (QString vpID, QString objIdList)
QStringList getViewpointsByName (QString name)
QString getCurrentViewAsImage ()
QVariantMap getClipping (int i)
void setClipping (int i, QVariantMap clp)
QVariantMap getCamera ()
void setCamera (QVariantMap cam)
QVariantMap getVisualizationOptions ()
void setVisualizationOptions (QVariantMap opt)
QVariantMap getPainterOptions ()
void setPainterOptions (QVariantMap opt)
void showWireModeSchema (QString name)
void clearWireMode ()
void setObjectsToWireMode (QString objIdList, bool value)
void createWireModeSchema (QString objIdList, QString wmName)
double getBBoxMinX ()
double getBBoxMaxX ()
double getBBoxMinY ()
double getBBoxMaxY ()
double getBBoxMinZ ()
double getBBoxMaxZ ()
void updateBoundingBox3DView ()
QVariantMap getBoundingBoxCommon (QString objIdList)
double checkOverlapOBB (QString id1, QString id2, double eps=1.e-2)
void itClear ()
int itByFilter (QString propName, QString propDatatype, QString filterPattern)
int itByObjectList (QString objIdList)
QString itGetObjectList ()
bool itHasNext ()
QString itNext ()
int itCount ()
void itToFront ()
QList< QVariant > itGetAvailablePropertyValues (QString propName, QString propDatatype, int maxValues)
void itSetupDbCache (QString propName, QString propType)
void itSetMaterial (QString matID)
void itCalcOOBB (double eps)
void itUpdateOOBB (double eps)
void itCalcOOBBxy (double eps)
void itUpdateOOBBxy (double eps)
QStringList getListOfObjTooltips ()
int activateObjTooltip (QString name)
void deactivateObjTooltip ()
QString getActiveTooltipName () const
void addObjectListToTooltip (QString objIdList, QString tooltipname)
void removeObjectListFromTooltip (QString objIdList, QString tooltipname)
QString getNavigationMode ()
void setNavigationMode (QString mode, QString pinModeContainerID=QString())
QStringList getCreatedPins ()
- Public Slots inherited from desiteCore::CoreAPI
QString addDays (QString dateStr, int nrDays)
QString timeStamp ()
QString getUserName ()
QString getProjectID ()
int getProjectVariantNumber ()
QString getProjectNumber ()
QString getProjectName ()
QString getProjectShortDescription ()
QString getProjectLongDescription ()
QString getApplicationDirectory ()
QString getProjectDirectory ()
bool isVisible (QString objID)
bool isSelected (QString objID)
double calcSlantedArea (QString objID, double angleMin=0.0, double angleMax=45.0)
QVariant getPropertyValue (QString objID, QString propName, QString propType, bool inh=true)
bool isPropertyInherited (QString objID, QString propName, QString propType)
QString getPropertyValueRange (QString IDList, QString propName, QString propType)
QStringList getPropertyValueList (QString propName, QString propType, int maxValues)
QString getPropertyValueAsString (QString objID, QString propName, QString propType, bool inh=true)
QStringList getLinkedObjects (QString IDList)
QStringList getTasksByObjectList (QString IDList)
QStringList getObjectsByTaskList (QString IDList)
QStringList getDocumentsByObjectList (QString IDList)
QStringList getObjectsByDocumentList (QString IDList)
QStringList getContainedElements (QString containerID, int maxDepth)
int countContainedElements (QString containerID, int maxDepth)
QString getParent (QString objID)


void selectionChanged ()
void visibilityChanged ()
void dataUpdated ()

Public Member Functions

 NavigatorProjectAPI (NavigatorProject *np, QObject *parent=0)
virtual ~NavigatorProjectAPI ()
- Public Member Functions inherited from desiteCore::ProjectAPI
NavigatorProject * getNavigatorProject ()
 ProjectAPI (NavigatorProject *np, QObject *parent=0)
virtual ~ProjectAPI ()
- Public Member Functions inherited from desiteCore::CoreAPI
model::IGlobalProject * getGlobalProject () const
 CoreAPI (domainGeometry3D::Project *gp, domainActivities::ActivityProject *ap, domainDocuments::DocumentModel *dm, model::IGlobalProject *globalP, QObject *parent=0)
virtual ~CoreAPI ()
domainActivities::ActivityProject * getActivityProject ()
domainGeometry3D::Project * getGeometryProject ()
domainDocuments::DocumentModel * getDocumentModel ()

Additional Inherited Members

- Protected Member Functions inherited from desiteCore::CoreAPI
 CoreAPI (QObject *parent=0)
void setProjects (domainGeometry3D::Project *gProject, domainActivities::ActivityProject *aProject, domainDocuments::DocumentModel *dModel)
void setGlobalProject (model::IGlobalProject *gp)
model::IContainerObject * getIContainerObject (const QString &id)
model::IObject * getContainer (const QString &id)

Detailed Description

API in WebForms
Objectname: desiteAPI

1.0.16, 05 apr 2012 by jh
NavigatorProjectAPI.h 3551 2015-01-20 23:30:01Z jochen.hanff

(c) ceapoint aec technologies GmbH

Member Function Documentation

QVariant desiteCore::NavigatorProjectAPI::callScriptByName ( QString  scriptName)

Run the script 'scriptName'.

1.3.7, 1 may 2014, jh
void desiteCore::NavigatorProjectAPI::dataUpdated ( )
1.0.18, 15 aug 2012, jh
void desiteCore::NavigatorProjectAPI::selectionChanged ( )
void desiteCore::NavigatorProjectAPI::setVisualisationMode ( int  mode)
void desiteCore::NavigatorProjectAPI::visibilityChanged ( )

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

Created: Wed Jan 6 2016 14:55:50