BIMHome v1.0.0
BIMHome接口文档说明
Public 类型 | Public 成员函数 | 所有成员列表
ISelectionChanges类 参考

#include <ISelectionChange.h>

Public 类型

enum class  MsgSource { Any = 0 , Internal = 1 , TreeView = 2 }
 标识消息来源 更多...
 
enum  MsgType {
  AddSelection , RmvSelection , SetSelection , ClrSelection ,
  SetPreselect , RmvPreselect , SetPreselectSignal , PickedListChanged ,
  ShowSelection , HideSelection , RmvPreselectSignal , MovePreselect
}
 标识与选择操作相关的消息 更多...
 

Public 成员函数

const char * getDocName () const
 获取文档名
 
MsgType getMsgType () const
 获取消息类型
 
int getObjectId () const
 获取对象Id
 
const ISelectionChangesgetOrighinalMsg () const
 获取上次选中事件
 
const char * getSubName () const
 获取选择子元素名称
 
MsgSource getSubType () const
 获取消息来源
 
const char * getTypeName () const
 获取选择对象类型名称
 
float getX () const
 获取鼠标点击点x坐标
 
float getY () const
 获取鼠标点击点x坐标
 
float getZ () const
 获取鼠标点击点x坐标
 
 ISelectionChanges (const ISelectionChanges &other)
 拷贝构造函数
 
 ISelectionChanges (ISelectionChanges &&other)
 移动构造函数
 
 ISelectionChanges (MsgType type, const std::string &docName, const int &objId, const std::string &subName, const std::string &typeName=std::string(), float x=0, float y=0, float z=0, MsgSource subtype=MsgSource::Any)
 构造函数
 
 ISelectionChanges (MsgType type=ClrSelection, const char *docName=nullptr, int objId=-1, const char *subName=nullptr, const char *typeName=nullptr, float x=0, float y=0, float z=0, MsgSource subtype=MsgSource::Any)
 构造函数
 
ISelectionChangesoperator= (const ISelectionChanges &other)
 赋值运算符
 
ISelectionChangesoperator= (ISelectionChanges &&other)
 移动赋值运算符
 

该类的文档由以下文件生成: