#include <command.h>
Inheritance diagram for CommandMark:


Public Member Functions | |
| CommandMark (const std::string &, Color, float, Marker::Symbol) | |
| void | process (ExecutionEnvironment &) |
Private Attributes | |
| Color | color |
| float | size |
| Marker::Symbol | symbol |
| std::string | target |
|
||||||||||||||||||||
|
Definition at line 608 of file command.cpp. 00609 : 00610 target(_target), 00611 color(_color), 00612 size(_size), 00613 symbol(_symbol) 00614 { 00615 }
|
|
|
Implements InstantaneousCommand. Definition at line 617 of file command.cpp. References color, Selection::empty(), size, symbol, and target. 00618 {
00619 Selection sel = env.getSimulation()->findObjectFromPath(target);
00620 if (sel.empty())
00621 return;
00622
00623 if (env.getSimulation()->getUniverse() != NULL)
00624 env.getSimulation()->getUniverse()->markObject(sel, size, color, symbol, 1);
00625 }
|
|
|
Definition at line 477 of file command.h. Referenced by process(). |
|
|
Definition at line 478 of file command.h. Referenced by process(). |
|
|
Definition at line 479 of file command.h. Referenced by process(). |
|
|
Definition at line 476 of file command.h. Referenced by process(). |
1.4.1