C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
The class of the element located on the window above the scene. More...
#include <vsn_widgets.h>
Public Member Functions | |
ViewWidget (WidgetModelPtr ptrModel, Viewport &viewPort) | |
Constructor. | |
virtual | ~ViewWidget () |
Constructor. | |
virtual void | Render (RenderContext &context) const override |
Render the control. | |
virtual std::pair< int, double > | Intersect (const MbLine3D &ray) const override |
NOT TRANSLATED. | |
virtual std::pair< int, float > | Intersect (const Ray3DF &ray) const override |
Search the geometry by the ray. | |
virtual bool | IsScreenOnly () const override |
Draw control only in screen coordinates. | |
virtual bool | IsHighlight () const override |
Check the highlight of the contro. | |
virtual bool | IsHighlightEnable () const override |
Check the highlight of the control. | |
void | SetHighlight (bool value) |
Set the highlight of the control. | |
void | SetHighlightEnable (bool value) |
Set the highlight of the control. | |
void | SetMargin (int left, int top, int right=-1, int bottom=-1) |
. Place the control indented from the boundaries of the parent area. | |
int | GetLeftMargin () const |
Get the left margin value. | |
int | GetRightMargin () const |
Get the right margin value. | |
int | GetTopMargin () const |
Get the top margin value. | |
int | GetBottomMargin () const |
Get the bottom margin value. | |
void | SetState (int state) |
Set the display state. | |
int | GetState () const |
Get the display state. | |
int | GetWidth () const |
Return width of control in pixels on screen. | |
int | GetHeight () const |
Return height of control in pixels on screen. | |
void | SetWidth (int width) |
Set width of control in pixels on screen. | |
void | SetHeight (int height) |
Set height of control in pixels on screen. | |
PointI | GetModelOrigin () const |
Model center position. | |
const WidgetModel * | GetModel () const |
Visual model. | |
void | SetModel (WidgetModelPtr ptrModel) |
Set model. | |
bool | IsVisible () const |
Check the visibility of the control. | |
void | SetVisible (bool bVisible) |
Set the visibility of the control. | |
virtual void | AssignProcess (int id, WidgetProcess *process) override |
Connect process to a component of the control. | |
virtual WidgetProcess * | GetAssignedProcess (int id) const override |
Get a process connected to a component of the control. | |
Public Member Functions inherited from VSN::Object | |
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. | |
Public Member Functions inherited from VSN::BasicObject | |
BasicObject () | |
Default constructor. | |
virtual | ~BasicObject () |
Destructor. | |
The class of the element located on the window above the scene.