Describes minimum required functionality from Plane control.
You can find more information in comments below. Overrided methods can be found in corresponding base interface.
class IPlane :public virtual I3DControl
{
public:
virtual float getPlaneWidth() = 0; // Return plane width
virtual float getPlaneDepth() = 0; // Return plane depth
virtual int getWidthSegments() = 0; // Return width segment count
virtual int getDepthSegments() = 0; // Return depth segment count
virtual bool setPlaneWidth(const float value) = 0; // Set plane width
virtual bool setPlaneDepth(const float value) = 0; // Set plane depth
virtual bool setPlaneSize(const float width, const float depth) = 0; // Set plane width and depth
virtual bool setWidthSegments(const int value) = 0; // Set width segment count
virtual bool setDepthSegments(const int value) = 0; // Set depth segment count
virtual bool setSegments(const int width, const int depth) = 0; // Set width and depth segment count
};
Namespace: | nitisa::opengl |
Include: | OpenGL/Controls/IPlane.h |