|
| CommentRep (Node *pParent=nullptr) |
| Default consructor.
|
|
virtual | ~CommentRep () |
| Destructor.
|
|
void | Init (const MbCartPoint3D &first, const MbCartPoint3D &second) |
| Initializes object by two parameters. More...
|
|
void | Init (const std::vector< MbCartPoint3D > &pointers, const MbCartPoint3D &textPos) |
| Initializes object by two parameters. More...
|
|
void | AddLeader (const MbCartPoint3D &targetPosition) |
| Add the leader line.
|
|
size_t | CountLeaders () const |
| Get the number of leaders.
|
|
MbCartPoint3D | GetLeader (size_t index) const |
| Get the position of the leader.
|
|
void | ChangeLeader (size_t index, const MbCartPoint3D &point) |
| Change the position of the leader.
|
|
WString | GetText () const |
| NO TRANSLATION.
|
|
void | SetText (const WString &text) |
| Sets text.
|
|
void | SetText (const std::wstring &text) |
| Sets text.
|
|
void | ClearText () |
| Clears text.
|
|
void | SetFont (const Font &font) |
| Set font of text.
|
|
const Font | GetFont () const |
| Get font of text.
|
|
void | HideLines () |
| Hide lines.
|
|
void | ShowLines () |
| Show lines.
|
|
int | GetViewportIntersection (const Viewport &viewport) |
| Get text intersection with screen.
|
|
void | SetTipType (CommentTip tip) |
| Set leader lines tip type.
|
|
CommentTip | GetTipType () const |
| Get leader lines tip type.
|
|
void | SetMargin (const MbRect &margin) |
| NO TRANSLATION.
|
|
const MbRect & | GetMargin () const |
| NO TRANSLATION.
|
|
void | GetTextRectSize (double &width, double &height) const |
| Get text rectangle size.
|
|
| GeometryRep (Node *pParent=nullptr) |
| Default constructor.
|
|
| GeometryRep (Geometry *pGeometry, Node *pParent=nullptr) |
| Constructor by geometry parameters of the object.
|
|
virtual | ~GeometryRep () |
| Destructor.
|
|
bool | IsReferenceEmpty () const |
| Checks if reference is empty.
|
|
bool | IsLoaded () const |
| Checks if representation is loaded.
|
|
const String & | GetNameRep () const |
| Returns representation name.
|
|
void | SetNameRep (const String &name) |
| Sets representation name.
|
|
Geometry * | GetGeomByKey (const NodeKey &key) const |
| Returns geometry data by unique key.
|
|
Geometry * | GetGeomAt (size_t index) const |
| Returns geometry data by index.
|
|
const ObjectList< Geometry * > & | GetGeomList () const |
| Returns geometry data list.
|
|
size_t | GetGeometryCount () const |
| Returns body count.
|
|
virtual bool | IsEmpty () const |
| True if representation array is empty.
|
|
bool | IsBoundingBoxValid () const |
| True if bounding box is valid.
|
|
MbCube | GetBoundingBox () const |
| Returns bounding box of representation.
|
|
bool | IsGeometryInRep (Geometry *pGeom) |
| True if representation contains geometry data.
|
|
size_t | GetFaceCount () const |
| Returns face count.
|
|
size_t | GetVertexCount () const |
| Returns vertex count.
|
|
size_t | GetMaterialCount () const |
| Returns material count.
|
|
std::set< Material * > | GetMaterials () const |
| Returns set of materials.
|
|
float | GetVolume () const |
| Returns representation volume.
|
|
void | AddGeometry (Geometry *pGeom) |
| Adds geometry data to the representation.
|
|
void | DeleteEmptyGeometry () |
| Deletes empty geometry data and update materials.
|
|
void | Clear () |
| Deletes all geometry data.
|
|
void | ReverseNormals () |
| Reverses direction of all geometry normals.
|
|
virtual void | ReplaceRep (GeometryRep *pRep) |
| Replaces the representation.
|
|
void | ReplaceMaterialById (const NodeKey &oldKey, Material *pMaterial) |
| Replaces the specified material.
|
|
void | TransformGeometriesByMatrix (const Matrix3DF &matrix) |
| Transforms mesh vertices by given matrix.
|
|
virtual GeometryRep & | operator= (const GeometryRep &) |
| Assignment operator.
|
|
| Node (Node *pParent=nullptr) |
| Constructor with parent.
|
|
virtual | ~Node () |
| Destructor.
|
|
NodeKey | GetUniqueKey () const |
| Returns key identifing Node instance.
|
|
void | SetUniqueKey (const NodeKey &key) |
| Sets the unique key for the instance.
|
|
NodeKey | GetCustomKey () const |
| Returns custom key identifing Node instance.
|
|
void | SetCustomKey (const NodeKey &key) |
| Sets the custom unique key for the instance.
|
|
Node * | GetParentNode () const |
| Returns pointer to the parent object or nullptr if no parent.
|
|
bool | IsEnabled () const |
| Returns the Node enabled flag. By default, the flag is always on.
|
|
ObjectList< Node * > | GetChildNodes () const |
| Return an array of child nodes for this node.
|
|
void | SetParent (Node *pParent) |
| Sets parent object to the object.
|
|
bool | IsNotificationsBlocked () const |
| True if notifications are blocked, otherwise, False.
|
|
bool | SetBlockNotifications (bool block) |
| Sets blocking of notifications and returns the previous blocking value.
|
|
| Object (Object *pParent=nullptr) |
| Default constructor. More...
|
|
virtual | ~Object () |
| Destructor.
|
|
void | SetParent (Object *pParent) |
| NO TRANSLATION.
|
|
Mutex * | GetMutex () |
| Object mutex.
|
|
String | GetObjectName () const |
| Returns name.
|
|
void | SetObjectName (const String &name) |
| Sets name.
|
|
bool | IsControlType () const |
| TRANSLATION.
|
|
Object * | GetParent () const |
| NO TRANSLATION.
|
|
Variant | GetProperty (const String &name) const |
| NO TRANSLATION.
|
|
bool | IsSignalsBlocked () const |
| NO TRANSLATION.
|
|
bool | SetBlockSignals (bool bBlock) |
| NO TRANSLATION.
|
|
void | AddEventListener (Object *pObject) |
| NO TRANSLATION.
|
|
void | RemoveEventListener (Object *pObject) |
| NO TRANSLATION.
|
|
Object * | GetSender () const |
| NO TRANSLATION.
|
|
Thread * | GetThread () const |
| NO TRANSLATION.
|
|
void | BindWithThread (Thread *thread) |
| NO TRANSLATION.
|
|
int | StartTimer (int interval, TimerType timerType=tt_CoarseTimer) |
| NO TRANSLATION.
|
|
void | KillTimer (int id) |
| NO TRANSLATION.
|
|
const ObjectList< Object * > & | GetChildren () const |
| NO TRANSLATION.
|
|
template<typename T > |
T | FindChild (const String &objName=String()) const |
| NO TRANSLATION.
|
|
template<typename T > |
ObjectList< T > | FindChildren (const String &objName=String(), VSN::ChildFindingPolicies policies=VSN::FindAllNestedChildren) const |
| NO TRANSLATION.
|
|
| BasicObject () |
| Default constructor.
|
|
virtual | ~BasicObject () |
| Destructor.
|
|
CommentRep class presents a text in a frame on a leader line.