First opengl/x11/window integration.
This commit is contained in:
parent
7c6a92f4ec
commit
cea3d2c39f
30 changed files with 254 additions and 72 deletions
|
@ -14,11 +14,18 @@ public:
|
|||
|
||||
}
|
||||
|
||||
virtual ~AbstractVisualNode() = default;
|
||||
|
||||
AbstractMesh* getMesh() const
|
||||
{
|
||||
return mMesh.get();
|
||||
}
|
||||
|
||||
virtual void updateMesh()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Image<unsigned char>* getImage() const
|
||||
{
|
||||
return mImage.get();
|
||||
|
@ -29,7 +36,7 @@ public:
|
|||
return mLocation;
|
||||
}
|
||||
|
||||
private:
|
||||
protected:
|
||||
DiscretePoint mLocation;
|
||||
std::unique_ptr<AbstractMesh> mMesh;
|
||||
std::unique_ptr<Image<unsigned char> > mImage;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue