Class SBMVisualModelEvent#
ClassList > SBMVisualModelEvent
#include <SBMVisualModelEvent.hpp>
Inherits the following classes: SBDDataGraphEvent
Public Types#
| Type | Name |
|---|---|
| enum | Type The type of the visual model event. |
Public Types inherited from SBDDataGraphEvent#
| Type | Name |
|---|---|
| enum | Category The category of the data graph event. |
Public Functions#
| Type | Name |
|---|---|
| SBMVisualModelEvent (SBMVisualModel * sender, Type type) |
|
| SB_DECLARE_DATA (SBMVisualModelEvent) |
|
| virtual Category | getCategory () override const Returns the category of the event. |
| SBMVisualModel * | getSender () const Returns the sender of the event. |
| Type | getType () const Returns the visual model event type. |
| virtual void | print (unsigned int offset=0) override const Prints debugging information. |
| virtual | ~SBMVisualModelEvent () |
Public Functions inherited from SBDDataGraphEvent#
| Type | Name |
|---|---|
| SBDDataGraphEvent (SBDDataGraphNode * sender) |
|
| SB_DECLARE_DATA (SBDDataGraphEvent) |
|
| virtual Category | getCategory () const Returns the category of the data graph event. |
| SBDDataGraphNode * | getSender () const Returns the sender of the event. |
| virtual void | print (unsigned int offset=0) const Prints debugging information. |
| virtual | ~SBDDataGraphEvent () |
Public Static Functions#
| Type | Name |
|---|---|
| std::string | getTypeString (Type type) Returns the visual model event type as a string. |
Public Static Functions inherited from SBDDataGraphEvent#
| Type | Name |
|---|---|
| std::string | getCategoryString (Category category) Returns a string representation of the category of the data graph event. |
Protected Attributes inherited from SBDDataGraphEvent#
| Type | Name |
|---|---|
| SBDDataGraphEventData * | dataPointer |
Protected Functions inherited from SBDDataGraphEvent#
| Type | Name |
|---|---|
| SBDDataGraphEvent (SBDDataGraphEventData * dataPointer) |
Detailed Description#
This class describes a visual event.
Short name: SBVisualEvent
Public Types Documentation#
enum Type#
The type of the visual model event.
enum SBMVisualModelEvent::Type {
VisualModelChanged = 1,
TransformChanged = 2,
OpacityChanged = 3,
DiffuseColorReplacementChanged = 4
};
Public Functions Documentation#
function SBMVisualModelEvent#
function SB_DECLARE_DATA#
function getCategory#
Returns the category of the event.
Implements SBDDataGraphEvent::getCategory
function getSender#
Returns the sender of the event.
function getType#
Returns the visual model event type.
function print#
Prints debugging information.
Implements SBDDataGraphEvent::print
function ~SBMVisualModelEvent#
Public Static Functions Documentation#
function getTypeString#
Returns the visual model event type as a string.