|
Marble and Madness | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CView
|
+--CmadnessEditorView
in madnessEditorView.h
Field Summary | |
bool |
b_CameraZoom
true se è in modalità di Zoom Camera |
bool |
b_Selection
true se è in modalità di selezione |
CCamera |
camera
camera della vista OpenGL |
double |
h
distanza corrente dal punto di vista |
double |
hl
limite distanza dal punto di vista |
bool |
inittexture
true se le texture sono state inizializzate, false altrimenti |
double |
k
angolo corrente intorno all'asse Y del punto di vista |
double |
kl
limite angolo intorno all'asse Y del punto di vista |
HGLRC |
m_hrc
Contesto OpenGL |
CClientDC* |
m_pDC
DC della finestra |
CPoint |
now
Ultima posizione catturata del mouse |
CPoint |
old
penultima posizione catturata del mouse |
int |
oldoptionEdit
opzione di editing precendentemente selezionata della vista |
int |
optionDraw
opzione di disegno corrente della vista: WIREFRAME o SOLID o TEXTURED |
int |
optionEdit
opzione di editing corrente della vista |
int |
returnFirstPick
valore di ritorno del primo Pick nella multiselezione |
int |
returnLastPick
valore di ritorno dell'ultimo Pick nella multiselezione |
Selection |
Sel
Area Selezionata nella vista |
float |
SelX
coordinata X centrale nell'aria selezionata |
float |
SelZ
coordinata Z centrale nell'aria selezionata |
double |
v
angolo corrente intorno agli assi X/Z del punto di vista |
int |
ViewSizeX
ampiezza X della vista |
int |
ViewSizeY
altezza Y della vista |
double |
vl
limite angolo intorno agli assi X/Z del punto di vista |
Constructor Summary | |
protected |
IMPLEMENT_DYNCREATE( CmadnessEditorView, CView ) CmadnessEditorView()
|
|
virtual ~CmadnessEditorView()
|
Method Summary | |
int |
CameraMove( int x1, int y1, int option )
muove la camera nella vista. |
protected virtual BOOL |
Create( LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL )
|
inline CmadnessEditorDoc* |
GetDocument() const
restituisce il documento associato alla vista |
void |
glInit()
|
protected virtual afx_msg void |
OnDestroy()
|
virtual void |
OnDraw( CDC* pDC )
|
afx_msg void |
OnEditCopy()
|
afx_msg void |
OnEditCut()
|
afx_msg void |
OnEditMerge()
|
afx_msg void |
OnEditPaste()
|
afx_msg void |
OnEditUndo()
|
protected virtual afx_msg BOOL |
OnEraseBkgnd( CDC* pDC )
|
afx_msg void |
OnFunzioniAlzare()
|
afx_msg void |
OnFunzioniAreagoal()
|
afx_msg void |
OnFunzioniFranare()
|
afx_msg void |
OnFunzioniInclinare()
|
afx_msg void |
OnFunzioniLivellare()
|
afx_msg void |
OnFunzioniNemici()
|
afx_msg void |
OnFunzioniPiramide()
|
afx_msg void |
OnFunzioniSpianare()
|
afx_msg void |
OnFunzioniStart()
|
virtual void |
OnInitialUpdate()
metodi per l'interfaccia grafica MFC |
afx_msg void |
OnKeyDown( UINT nChar, UINT nRepCnt, UINT nFlags )
|
afx_msg void |
OnLButtonDown( UINT nFlags, CPoint point )
|
afx_msg void |
OnLButtonUp( UINT nFlags, CPoint point )
|
afx_msg void |
OnMouseMove( UINT nFlags, CPoint point )
|
afx_msg BOOL |
OnMouseWheel( UINT nFlags, short zDelta, CPoint pt )
|
afx_msg void |
OnRButtonDown( UINT nFlags, CPoint point )
|
afx_msg void |
OnRButtonUp( UINT nFlags, CPoint point )
|
protected virtual afx_msg void |
OnSize( UINT nType, int cx, int cy )
|
afx_msg void |
OnUpdateEditCut( CCmdUI* pCmdUI )
|
afx_msg void |
OnUpdateEditMerge( CCmdUI* pCmdUI )
|
afx_msg void |
OnUpdateEditPaste( CCmdUI* pCmdUI )
|
afx_msg void |
OnUpdateEditUndo( CCmdUI* pCmdUI )
|
afx_msg void |
OnUpdateFunzioniAlzare( CCmdUI* pCmdUI )
|
afx_msg void |
OnUpdateFunzioniAreagoal( CCmdUI* pCmdUI )
|
afx_msg void |
OnUpdateFunzioniFranare( CCmdUI* pCmdUI )
|
afx_msg void |
OnUpdateFunzioniInclinare( CCmdUI* pCmdUI )
|
afx_msg void |
OnUpdateFunzioniLivellare( CCmdUI* pCmdUI )
|
afx_msg void |
OnUpdateFunzioniNemici( CCmdUI* pCmdUI )
|
afx_msg void |
OnUpdateFunzioniPiramide( CCmdUI* pCmdUI )
|
afx_msg void |
OnUpdateFunzioniSpianare( CCmdUI* pCmdUI )
|
afx_msg void |
OnUpdateFunzioniStart( CCmdUI* pCmdUI )
|
afx_msg void |
OnUpdateVistaSolid( CCmdUI* pCmdUI )
|
afx_msg void |
OnUpdateVistaWireframe( CCmdUI* pCmdUI )
|
afx_msg void |
OnVistaSolid()
|
afx_msg void |
OnVistaWireframe()
|
virtual BOOL |
PreCreateWindow( CREATESTRUCT& cs )
|
bool |
SetFirstPick( int x, int y )
setta il primo Pick della selezione |
inline BOOL |
SetGL()
|
bool |
SetLastPick( int x, int y )
setta l'ultimo Pick della selezione |
BOOL |
SetupPixelFormat( CDC* pDC )
|
void |
TargetCamera( MadMap* mp, float target_x, float target_z )
cambia il punto di vista della camera. |
Field Detail |
public bool b_CameraZoom;
public bool b_Selection;
public CCamera camera;
public double h;
public double hl;
public bool inittexture;
public double k;
public double kl;
public HGLRC m_hrc;
public CClientDC* m_pDC;
public CPoint now;
public CPoint old;
public int oldoptionEdit;
public int optionDraw;
public int optionEdit;
public int returnFirstPick;
public int returnLastPick;
public Selection Sel;
public float SelX;
public float SelZ;
public double v;
public int ViewSizeX;
public int ViewSizeY;
public double vl;
Constructor Detail |
protected IMPLEMENT_DYNCREATE( CmadnessEditorView, CView ) CmadnessEditorView();
public virtual ~CmadnessEditorView();
Method Detail |
public int CameraMove( int x1, int y1, int option );
protected virtual BOOL Create( LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL );
public inline CmadnessEditorDoc* GetDocument() const;
public void glInit();
protected virtual afx_msg void OnDestroy();
public virtual void OnDraw( CDC* pDC );
public afx_msg void OnEditCopy();
public afx_msg void OnEditCut();
public afx_msg void OnEditMerge();
public afx_msg void OnEditPaste();
public afx_msg void OnEditUndo();
protected virtual afx_msg BOOL OnEraseBkgnd( CDC* pDC );
public afx_msg void OnFunzioniAlzare();
public afx_msg void OnFunzioniAreagoal();
public afx_msg void OnFunzioniFranare();
public afx_msg void OnFunzioniInclinare();
public afx_msg void OnFunzioniLivellare();
public afx_msg void OnFunzioniNemici();
public afx_msg void OnFunzioniPiramide();
public afx_msg void OnFunzioniSpianare();
public afx_msg void OnFunzioniStart();
public virtual void OnInitialUpdate();
public afx_msg void OnKeyDown( UINT nChar, UINT nRepCnt, UINT nFlags );
public afx_msg void OnLButtonDown( UINT nFlags, CPoint point );
public afx_msg void OnLButtonUp( UINT nFlags, CPoint point );
public afx_msg void OnMouseMove( UINT nFlags, CPoint point );
public afx_msg BOOL OnMouseWheel( UINT nFlags, short zDelta, CPoint pt );
public afx_msg void OnRButtonDown( UINT nFlags, CPoint point );
public afx_msg void OnRButtonUp( UINT nFlags, CPoint point );
protected virtual afx_msg void OnSize( UINT nType, int cx, int cy );
public afx_msg void OnUpdateEditCut( CCmdUI* pCmdUI );
public afx_msg void OnUpdateEditMerge( CCmdUI* pCmdUI );
public afx_msg void OnUpdateEditPaste( CCmdUI* pCmdUI );
public afx_msg void OnUpdateEditUndo( CCmdUI* pCmdUI );
public afx_msg void OnUpdateFunzioniAlzare( CCmdUI* pCmdUI );
public afx_msg void OnUpdateFunzioniAreagoal( CCmdUI* pCmdUI );
public afx_msg void OnUpdateFunzioniFranare( CCmdUI* pCmdUI );
public afx_msg void OnUpdateFunzioniInclinare( CCmdUI* pCmdUI );
public afx_msg void OnUpdateFunzioniLivellare( CCmdUI* pCmdUI );
public afx_msg void OnUpdateFunzioniNemici( CCmdUI* pCmdUI );
public afx_msg void OnUpdateFunzioniPiramide( CCmdUI* pCmdUI );
public afx_msg void OnUpdateFunzioniSpianare( CCmdUI* pCmdUI );
public afx_msg void OnUpdateFunzioniStart( CCmdUI* pCmdUI );
public afx_msg void OnUpdateVistaSolid( CCmdUI* pCmdUI );
public afx_msg void OnUpdateVistaWireframe( CCmdUI* pCmdUI );
public afx_msg void OnVistaSolid();
public afx_msg void OnVistaWireframe();
public virtual BOOL PreCreateWindow( CREATESTRUCT& cs );
public bool SetFirstPick( int x, int y );
public inline BOOL SetGL();
public bool SetLastPick( int x, int y );
public BOOL SetupPixelFormat( CDC* pDC );
public void TargetCamera( MadMap* mp, float target_x, float target_z );
|
Marble and Madness | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |