C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
VSN::WidgetBase Class Referenceabstract

WidgetBase is the base control class that allows create a manipulator with different behavior logic and rendering presentation on the same basis. More...

#include <vsn_widgets.h>

+ Inheritance diagram for VSN::WidgetBase:

Public Member Functions

virtual void Render (RenderContext &context) const =0
 Render the control.
 
virtual std::pair< int, double > Intersect (const MbLine3D &ray) const =0
 NOT TRANSLATED.
 
virtual std::pair< int, float > Intersect (const Ray3DF &ray) const =0
 Search the geometry by a ray.
 
virtual bool IsScreenOnly () const =0
 Draw control only in screen coordinates.
 
virtual bool IsHighlight () const =0
 Check the highlight of the control.
 
virtual bool IsHighlightEnable () const =0
 Check the highlight of the control.
 
virtual void AssignProcess (int id, WidgetProcess *process)=0
 Connect process to a component of the control.
 
virtual WidgetProcessGetAssignedProcess (int id) const =0
 Get a process connected to a component of the control.
 

Detailed Description

WidgetBase is the base control class that allows create a manipulator with different behavior logic and rendering presentation on the same basis.

WidgetBase provides a control that allows you to create manipulator with different behavior logic and rendering representation on the same basis. The control is an interactive tool that allows you to which you can interact with scene objects. Such tools are based on the Model-View-Controller concept, which allows you to create a manipulator with different behavior logic and rendering representation on the same basis. As with similar controls, the Model provides data and responds to controller commands, changing its state; View is responsible for displaying model data to the user, responding to model changes; controller (Controller) interprets actions user, notifying the model about the need for changes.


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