7 #ifndef CAFU_COMMAND_MIRROR_HPP_INCLUDED
8 #define CAFU_COMMAND_MIRROR_HPP_INCLUDED
10 #include "../../CommandPattern.hpp"
40 const unsigned int m_NormalAxis;
42 const bool m_LockTexCoords;
This class represents a CaWE "map" document.
Definition: MapDocument.hpp:45
bool Do()
This method executes the command.
Definition: Mirror.cpp:34
An instance of this class encapsulates the transform-related state of a MapElementT.
Definition: MapElement.hpp:39
void Undo()
This method un-does the command.
Definition: Mirror.cpp:56
Command to mirror map elements along a given mirror plane.
Definition: Mirror.hpp:19
wxString GetName() const
Returns the name (a description) of the command.
Definition: Mirror.cpp:76
This class represents a general command for implementing modifications to the applications document...
Definition: CommandPattern.hpp:30
CommandMirrorT(MapDocumentT &MapDoc, const ArrayT< MapElementT * > &Elems, unsigned int NormalAxis, float Dist, bool LockTexCoords)
The constructor.
Definition: Mirror.cpp:12
~CommandMirrorT()
Destructor.
Definition: Mirror.cpp:25
This is the base class for all elements ("objects") that can exist in a map.
Definition: MapElement.hpp:57