|
#pragma once
#include "..\resource.h"
#include <OAGScene.h>
#include <WinGraphicContext.h>
class CTool
{
public:
CTool(void);
virtual ~CTool(void);
//Operations
public:
//Getters
oag::OAGScene* GetScene();
//Setters
void SetScene(oag::OAGScene* pScene);
void SetWinGraphicContext(oag::WinGraphicContext* pWinGraphicContext);
//Booleans
bool IsFinished();
bool IsStarted();
//Virtual
virtual void AddAllVerticesToScene(){};
virtual void OnFinalize();
virtual void OnMouseClick(oag::OAGVector3f& ptMouse){};
virtual void OnMouseMove(oag::OAGVector3f& ptMouse){};
protected:
oag::OAGScene* m_pScene;
oag::WinGraphicContext* m_pWinGraphicContext;
CArray<oag::OAGVector3f, oag::OAGVector3f> m_arrVector;
int m_nStep;
bool m_bIsFinished, m_bIsStarted;
};
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I live in Matão, a small city in Brazil. I studied as Programmer in a College for Software Development in Database.
After finishing the College I have been working with java, c# and Computer Graphics with searches for OpenGL.