Cafu Engine
ModelEditor::ScenePropGridT Class Reference
Inheritance diagram for ModelEditor::ScenePropGridT:

Public Member Functions

 ScenePropGridT (ChildFrameT *Parent, const wxSize &Size)
 
void RefreshPropGrid ()
 
void Notify_AnimStateChanged (SubjectT *Subject)
 Notifies the observer that the animation state has changed. More...
 
void Notify_SubjectDies (SubjectT *dyingSubject)
 This method is called whenever a subject is about the be destroyed (and become unavailable). More...
 
- Public Member Functions inherited from ModelEditor::ObserverT
virtual void Notify_SelectionChanged (SubjectT *Subject, ModelElementTypeT Type, const ArrayT< unsigned int > &OldSel, const ArrayT< unsigned int > &NewSel)
 This method is called whenever the selection of a model changed. More...
 
virtual void Notify_Created (SubjectT *Subject, ModelElementTypeT Type, const ArrayT< unsigned int > &Indices)
 This method is called when new elements have been created and were added to the model. More...
 
virtual void Notify_Deleted (SubjectT *Subject, ModelElementTypeT Type, const ArrayT< unsigned int > &Indices)
 This method is called when new elements were deleted from the model. More...
 
virtual void Notify_JointChanged (SubjectT *Subject, unsigned int JointNr)
 Notifies the observer that a joint has changed. More...
 
virtual void Notify_MeshChanged (SubjectT *Subject, unsigned int MeshNr)
 Notifies the observer that a mesh has changed. More...
 
virtual void Notify_SkinChanged (SubjectT *Subject, unsigned int SkinNr)
 Notifies the observer that a skin has changed. More...
 
virtual void Notify_GuiFixtureChanged (SubjectT *Subject, unsigned int GuiFixtureNr)
 Notifies the observer that a GUI fixture has changed. More...
 
virtual void Notify_AnimChanged (SubjectT *Subject, unsigned int AnimNr)
 Notifies the observer that an animation sequence has changed. More...
 
virtual void Notify_ChannelChanged (SubjectT *Subject, unsigned int ChannelNr)
 Notifies the observer that an animation channel has changed. More...
 
virtual void Notify_SubmodelsChanged (SubjectT *Subject)
 Notifies the observer that the list of submodels has changed. More...
 
virtual ~ObserverT ()
 The virtual destructor. More...
 

Public Attributes

wxColour m_BackgroundColor
 
bool m_ShowOrigin
 
bool m_ShowGrid
 
float m_GridSpacing
 
bool m_GroundPlane_Show
 
float m_GroundPlane_PosZ
 
bool m_GroundPlane_AutoZ
 
bool m_Model_ShowMesh
 
bool m_Model_ShowSkeleton
 
bool m_Model_ShowTriangleNormals
 
bool m_Model_ShowTangentSpace
 
unsigned int m_Model_DebugMaterial
 0 for "normal/none", 1 for "plain (white)", 2 for "wire-frame" More...
 
wxColour m_AmbientLightColor
 
MatSys::TextureMapIm_AmbientTexture
 A uniform 2x2 texture colored in the ambient light color, used as lightmap for the ground plane. More...
 

Additional Inherited Members

- Protected Member Functions inherited from ModelEditor::ObserverT
 ObserverT ()
 The constructor. It is protected so that only derived classes can create instances of this class. More...
 

Member Function Documentation

void ModelEditor::ScenePropGridT::Notify_AnimStateChanged ( SubjectT Subject)
virtual

Notifies the observer that the animation state has changed.

Parameters
SubjectThe model document whose AnimStateT has changed.

Reimplemented from ModelEditor::ObserverT.

void ModelEditor::ScenePropGridT::Notify_SubjectDies ( SubjectT dyingSubject)
virtual

This method is called whenever a subject is about the be destroyed (and become unavailable).

Parameters
dyingSubjectThe subject that is being destroyed.

Implements ModelEditor::ObserverT.

Member Data Documentation

MatSys::TextureMapI* ModelEditor::ScenePropGridT::m_AmbientTexture

A uniform 2x2 texture colored in the ambient light color, used as lightmap for the ground plane.

unsigned int ModelEditor::ScenePropGridT::m_Model_DebugMaterial

0 for "normal/none", 1 for "plain (white)", 2 for "wire-frame"


The documentation for this class was generated from the following files: