Describes minimum required functionality from Sphere control.
You can find more information in comments below. Overrided methods can be found in corresponding base interface.
class ISphere :public virtual I3DControl
{
public:
virtual float getSphereRadius() = 0; // Return sphere radius
virtual int getSphereSides() = 0; // Return side count
virtual int getSphereYSides() = 0; // Return side count in vertical direction
virtual bool setSphereRadius(const float value) = 0; // Set sphere radius
virtual bool setSphereSides(const int value) = 0; // Set side count
virtual bool setSphereYSides(const int value) = 0; // Set side count in vertical direction
virtual bool setSphereSize(const float radius, const int sides, const int y_sides) = 0; // Set sphere radius and side count in horizontal and vertical directions
};
Namespace: | nitisa::opengl |
Include: | OpenGL/Controls/ISphere.h |