Describes minimum required functionality from Disk control.
You can find more information in comments below. Overrided methods can be found in corresponding base interface.
class IDisk :public virtual I3DControl
{
public:
virtual float getDiskOuterRadius() = 0; // Return disk outer radius
virtual float getDiskInnerRadius() = 0; // Return disk inner radius
virtual int getDiskSides() = 0; // Return side count
virtual int getCapSegments() = 0; // Return cap segment count
virtual bool setDiskOuterRadius(const float value) = 0; // Set disk outer radius
virtual bool setDiskInnerRadius(const float value) = 0; // Set disk inner radius
virtual bool setDiskSides(const int value) = 0; // Set disk side count
virtual bool setDiskSize(const float outer_radius, const float inner_radius, const int sides) = 0; // Set disk outer radius, inner radius, and side count
virtual bool setCapSegments(const int value) = 0; // Set cap segment count
};
Namespace: | nitisa::opengl |
Include: | OpenGL/Controls/IDisk.h |