vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
EditorController.cpp File Reference

Namespaces

namespace  APEditorController
 

Macros

#define BUTTON_MAPABILIES_ID   4
 
#define ABILITYMAPPER_ID   "AbilityMapper"
 
#define FOR_ALL_POINTERS(pIndex)   for (int pIndex = 1; pIndex <= maxPointers; pIndex++)
 
#define FOR_ALL_BUTTONS(pIndex)   for (int pIndex = 1; pIndex <= maxButtonsPerPointer; pIndex++)
 
#define DECLARE_AND_CLIP_PID
 

Functions

 APEditorController::METHOD_INPUT (AbilityMapping, AbilityMapper::MessageMapping, EditorController)
 
 APEditorController::METHOD_REQUEST_INPUT (AbilityMapping, MessageVoid, AbilityMapper::MessageMapping, EditorController)
 
 APEditorController::METHOD_REQUEST_INPUT (SelectionID, MessageInt, MessageObjectID, EditorController)
 
 APEditorController::METHOD_REQUEST_INPUT (SelectionPath, MessageInt, MessageNodeList, EditorController)
 
 APEditorController::METHOD_REQUEST_INPUT (PointerPos, MessageInt, MessageVec3, EditorController)
 
 APEditorController::METHOD_REQUEST_INPUT (PointerPosRaw, MessageInt, MessageVec3, EditorController)
 
 APEditorController::METHOD_REQUEST_INPUT (PointerRot, MessageInt, MessageQuat, EditorController)
 
 APEditorController::METHOD_REQUEST_INPUT (PointerRotRaw, MessageInt, MessageQuat, EditorController)
 

Macro Definition Documentation

#define ABILITYMAPPER_ID   "AbilityMapper"
#define BUTTON_MAPABILIES_ID   4
#define DECLARE_AND_CLIP_PID
Value:
int pID = (long int)message->data; \
if (pID <= 0) \
pID = 1; \
else if (pID > maxPointers) \
pID = maxPointers;
#define FOR_ALL_BUTTONS (   pIndex)    for (int pIndex = 1; pIndex <= maxButtonsPerPointer; pIndex++)
#define FOR_ALL_POINTERS (   pIndex)    for (int pIndex = 1; pIndex <= maxPointers; pIndex++)