7 #ifndef CAFU_COMMAND_ALIGN_HPP_INCLUDED
8 #define CAFU_COMMAND_ALIGN_HPP_INCLUDED
10 #include "../../CommandPattern.hpp"
11 #include "../../AxesInfo.hpp"
12 #include "Math3D/BoundingBox.hpp"
45 const bool m_LockTexCoords;
48 int CorrectMode(
int Mode)
const;
This class represents a CaWE "map" document.
Definition: MapDocument.hpp:45
wxString GetName() const
Returns the name (a description) of the command.
Definition: Align.cpp:97
bool Do()
This method executes the command.
Definition: Align.cpp:35
CommandAlignT(MapDocumentT &MapDoc, const ArrayT< MapElementT * > &Elems, const AxesInfoT &RefAxes, const BoundingBox3fT &Box, int Mode, bool LockTexCoords)
Constructor to align an array of map elements.
Definition: Align.cpp:13
An instance of this class encapsulates the transform-related state of a MapElementT.
Definition: MapElement.hpp:39
Command to align objects inside a specified box using an align mode.
Definition: Align.hpp:21
void Undo()
This method un-does the command.
Definition: Align.cpp:77
~CommandAlignT()
Destructor.
Definition: Align.cpp:26
This class describes how the three world-space axes are mapped to the two screen- or window-space axe...
Definition: AxesInfo.hpp:15
This class represents a general command for implementing modifications to the applications document...
Definition: CommandPattern.hpp:30
This class represents an axis-aligned bounding-box ("AABB") in 3-dimensional space.
Definition: BoundingBox.hpp:23
This is the base class for all elements ("objects") that can exist in a map.
Definition: MapElement.hpp:57