|
| ViewWindow3DT (wxWindow *Parent, ChildFrameT *ChildFrame, CameraT *InitialCamera, ViewTypeT InitialViewType) |
| The constructor. More...
|
|
void | NotifySubjectChanged (ToolsSubjectT *Subject, ToolT *Tool, ToolsUpdatePriorityT Priority) |
| Notifies the observer that the current subject has been changed. More...
|
|
wxWindow * | GetWindow () |
| This function is not const because we can mutate this(!) object via the returned pointer. More...
|
|
ViewTypeT | GetViewType () const |
| Returns the view type of this view window. More...
|
|
AxesInfoT | GetAxesInfo () const |
| This method returns the axes info for this window. In the case of a 3D window, it computes the 2D axes info that this view is closest to. More...
|
|
ArrayT< HitInfoT > | GetElementsAt (const wxPoint &Pixel) const |
| This method returns visible all map elements at a given pixel in the 3D view window. More...
|
|
| Generic3DWindowT (wxWindow *Parent, CameraT *InitialCamera) |
| The constructor. More...
|
|
| ~Generic3DWindowT () |
| The destructor. More...
|
|
AxesInfoT | GetAxesInfo () const |
| Returns the set of axes that the camera orientation is currently the closest to. More...
|
|
const CameraT & | GetCamera () const |
| Returns the camera that is currently associated with this window. More...
|
|
void | SetCamera (CameraT *Camera) |
| Sets Camera as the new camera to use for this window. More...
|
|
void | MoveCamera (const Vector3fT &NewPos) |
| Moves the camera that is currently associated with this window to the given new position. More...
|
|
void | ProcessInput (float FrameTime) |
| Processes the user input for the (last) frame with the given duration and updates the camera accordingly. More...
|
|
const MouseControlT & | GetMouseControl () const |
| Returns the mouse control instance of this window. More...
|
|
void | GetViewFrustum (Plane3fT *Planes, unsigned int NumPlanes=6) const |
| Returns the view frustum for this window, based on its current window dimensions and camera setting. More...
|
|
Vector3fT | WindowToWorld (const wxPoint &Pixel) const |
| Transforms (unprojects) the given pixel from window space to the related point in world space. More...
|
|
wxPoint | WorldToWindow (const Vector3fT &v, bool CheckFrustum) const |
| Transforms (projects) the given point from world space to the related pixel in the 3D window. More...
|
|
void | NotifySubjectDies (SubjectT *dyingSubject) |
| This method is called whenever a subject is about the be destroyed (and become unavailable). More...
|
|
wxString | GetCaption () const |
| Returns the caption that the AUI pane for this window should have. More...
|
|
ChildFrameT * | GetChildFrame () const |
| Returns the child frame that owns this view (that is, our parent). More...
|
|
MapDocumentT & | GetMapDoc () const |
| The document that is associated with this view window (or more precisely, our child frame). More...
|
|
virtual void | NotifySubjectChanged (SubjectT *Subject, MapDocOtherDetailT OtherDetail) |
| Notifies the observer that some other detail than those specifically addressed below has changed. More...
|
|
virtual void | NotifySubjectChanged_Selection (SubjectT *Subject, const ArrayT< MapElementT * > &OldSelection, const ArrayT< MapElementT * > &NewSelection) |
| Notifies the observer that the selection in the current subject has been changed. More...
|
|
virtual void | NotifySubjectChanged_Groups (SubjectT *Subject) |
| Notifies the observer that the groups in the current subject have been changed (new group added, group deleted, visibility changed, anything). More...
|
|
virtual void | NotifySubjectChanged_Created (SubjectT *Subject, const ArrayT< IntrusivePtrT< cf::GameSys::EntityT > > &Entities) |
| Notifies the observer that one or more entities have been created. More...
|
|
virtual void | NotifySubjectChanged_Created (SubjectT *Subject, const ArrayT< MapPrimitiveT * > &Primitives) |
| Notifies the observer that one or more map primitives have been created. More...
|
|
virtual void | NotifySubjectChanged_Deleted (SubjectT *Subject, const ArrayT< IntrusivePtrT< cf::GameSys::EntityT > > &Entities) |
| Notifies the observer that one or more entities have been deleted. More...
|
|
virtual void | NotifySubjectChanged_Deleted (SubjectT *Subject, const ArrayT< MapPrimitiveT * > &Primitives) |
| Notifies the observer that one or more map primitives have been deleted. More...
|
|
virtual | ~ObserverT () |
| The virtual destructor. More...
|
|
virtual void | NotifySubjectChanged_Modified (SubjectT *Subject, const ArrayT< MapElementT * > &MapElements, MapElemModDetailE Detail) |
|
virtual void | NotifySubjectChanged_Modified (SubjectT *Subject, const ArrayT< MapElementT * > &MapElements, MapElemModDetailE Detail, const ArrayT< BoundingBox3fT > &OldBounds) |
|
virtual void | Notify_EntChanged (SubjectT *Subject, const ArrayT< IntrusivePtrT< MapEditor::CompMapEntityT > > &Entities, EntityModDetailE Detail) |
|
virtual void | Notify_VarChanged (SubjectT *Subject, const cf::TypeSys::VarBaseT &Var) |
| Notifies the observer that a variable has changed. More...
|
|
virtual | ~ToolsObserverT () |
| The virtual destructor. More...
|
|
|
enum | ViewTypeT {
VT_2D_XY,
VT_2D_XZ,
VT_2D_YZ,
VT_3D_WIREFRAME,
VT_3D_FLAT,
VT_3D_EDIT_MATS,
VT_3D_FULL_MATS,
VT_3D_LM_GRID,
VT_3D_LM_PREVIEW
} |
|
| ViewWindowT (ChildFrameT *ChildFrame) |
| The constructor. It is protected because only child classes should ever be instantiated. More...
|
|
virtual | ~ViewWindowT () |
| The destructor. Virtual such that also the child destructors will be called. More...
|
|
void | UpdateChildFrameMRU () |
|
| ObserverT () |
| The constructor. It is protected so that only derived classes can create instances of this class. More...
|
|
| ToolsObserverT () |
| The constructor. It is protected so that only derived classes can create instances of this class. More...
|
|
ChildFrameT * | m_ChildFrame |
| The child frame that owns us (that is, is our parent). More...
|
|