Describes minimum required functionality from 3DObject control.
You can find more information in comments below. Overrided methods can be found in corresponding base interface.
class I3DObject :public virtual I3DControl
{
public:
enum class PrimitiveType
{
Point,
Line,
Wire,
Polygon
};
public:
virtual IVertexArray *getVertexArray() = 0; // Return vertex array. After changing geometry Repaint should be called manually
virtual PrimitiveType getPrimitiveType() const = 0;
virtual bool setPrimitiveType(const PrimitiveType &value) = 0;
};
Namespace: | nitisa::opengl |
Include: | OpenGL/Controls/I3DObject.h |