7 #ifndef CAFU_COMMAND_UPDATE_SURFACE_HPP_INCLUDED
8 #define CAFU_COMMAND_UPDATE_SURFACE_HPP_INCLUDED
10 #include "../../CommandPattern.hpp"
11 #include "../SurfaceInfo.hpp"
55 const unsigned long FaceIndex;
This class represents a CaWE "map" document.
Definition: MapDocument.hpp:45
Definition: UpdateSurface.hpp:21
This class holds all information that is needed in order to compute the UV texture-space coordinates ...
Definition: SurfaceInfo.hpp:51
EditorMaterialI * MaterialNew
The material that is applied to the surface.
Definition: UpdateSurface.hpp:35
wxString GetName() const
Returns the name (a description) of the command.
Definition: UpdateSurface.cpp:131
Definition: UpdateSurface.hpp:59
void Undo()
This method un-does the command.
Definition: UpdateSurface.cpp:156
const SurfaceInfoT SurfaceInfoNew
The surface info that is applied to the surface.
Definition: UpdateSurface.hpp:33
wxString GetName() const
Returns the name (a description) of the command.
Definition: UpdateSurface.cpp:77
Definition: UpdateSurface.hpp:40
Definition: MapBrush.hpp:15
The TerrainT class represents a terrain in a map.
Definition: MapTerrain.hpp:22
bool Do()
This method executes the command.
Definition: UpdateSurface.cpp:34
This class represents a bezier patch.
Definition: MapBezierPatch.hpp:44
bool Do()
This method executes the command.
Definition: UpdateSurface.cpp:90
Definition: EditorMaterial.hpp:21
wxString GetName() const
Returns the name (a description) of the command.
Definition: UpdateSurface.cpp:167
Definition: UpdateSurface.hpp:77
bool Do()
This method executes the command.
Definition: UpdateSurface.cpp:144
This class represents a general command for implementing modifications to the applications document...
Definition: CommandPattern.hpp:30
EditorMaterialI * MaterialOld
The surface's former material for undo.
Definition: UpdateSurface.hpp:36
void Undo()
This method un-does the command.
Definition: UpdateSurface.cpp:56
void Undo()
This method un-does the command.
Definition: UpdateSurface.cpp:111
const SurfaceInfoT SurfaceInfoOld
The surfaces former surface info for undo.
Definition: UpdateSurface.hpp:34