#include "..\kernel\value.h"
#include "..\..\mouseman.h"
#include "..\..\point3.h"
#include "..\..\cmdmode.h"
#include "..\..\maxapi.h"
Go to the source code of this file.
Classes |
|
class | MouseToolCallBack |
class | MouseToolCommandMode |
Defines |
|
#define | MOUSE_TOOL_COMMAND 7364 |
#define | CID_MOUSE_TOOL CID_USER + 45237 |
#define | is_mousetool(v) ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(MouseTool)) |
Enumerations |
|
enum | { cl_viewPoint, cl_worldPoint, cl_worldDist, cl_worldAngle, cl_gridPoint, cl_gridDist, cl_gridAngle, cl_nodeTM, cl_shift, cl_ctrl, cl_alt, cl_lbutton, cl_mbutton, cl_rbutton } |
Functions |
|
visible_class (MouseTool) class MouseTool |
#define MOUSE_TOOL_COMMAND 7364 |
Definition at line 43 of file mousetool.h.
#define CID_MOUSE_TOOL CID_USER + 45237 |
Definition at line 44 of file mousetool.h.
#define is_mousetool | ( | v | ) | ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(MouseTool)) |
anonymous enum |
cl_viewPoint | |
cl_worldPoint | |
cl_worldDist | |
cl_worldAngle | |
cl_gridPoint | |
cl_gridDist | |
cl_gridAngle | |
cl_nodeTM | |
cl_shift | |
cl_ctrl | |
cl_alt | |
cl_lbutton | |
cl_mbutton | |
cl_rbutton |
Definition at line 24 of file mousetool.h.
visible_class | ( | MouseTool | ) |
Definition at line 67 of file mousetool.h.
: public Value { public: Value* name; // tool name HashTable* local_scope; // local name space Value** locals; // local var array Value** local_inits; // " " " init vals int local_count; // " " count HashTable* handlers; // handler tables short flags; // tool flags int cmd_class; // command mode class int num_points; // number of points Value* prompt; // staus line prompt if non-null BOOL init_values; // whether to init ctrl/local values on (re)open BOOL end_tool_mode; // signals end of tool cmd mode MouseToolCommandMode cmdmode; // my command mode // command mode locals... Value* result; // tool result Value* snap_mode; // #2D or #3D or #none MSPlugin* plugin; // current plugin under manip if non-NULL MouseTool(short iflags); void init(Value* name, int local_count, Value** inits, HashTable* local_scope, HashTable* handlers); ~MouseTool(); # define is_mousetool(v) ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(MouseTool)) classof_methods (MouseTool, Value); void collect() { delete this; } void gc_trace(); ScripterExport void sprin1(CharStream* s); BOOL call_event_handler(Value* handler, Value** arg_list, int count, BOOL enable_redraw = TRUE); void init_locals(); virtual Value* get_property(Value** arg_list, int count); virtual Value* set_property(Value** arg_list, int count); // added 3/21/05. Used by debugger to dump locals and externals to standard out void dump_local_vars_and_externals(int indentLevel); };