ITorus



Describes minimum required functionality from Torus control.

You can find more information in comments below. Overrided methods can be found in corresponding base interface.

class ITorus :public virtual I3DControl
{
public:
    virtual float getTorusRadius1() = 0; // Return torus radius 
    virtual float getTorusRadius2() = 0; // Return torus small radius 
    virtual int getTorusSides1() = 0; // Return side count 
    virtual int getTorusSides2() = 0; // Return vertical side count 

    virtual bool setTorusRadius1(const float value) = 0; // Set torus radius 
    virtual bool setTorusRadius2(const float value) = 0; // Set torus small radius 
    virtual bool setTorusSides1(const int value) = 0; // Set side count 
    virtual bool setTorusSides2(const int value) = 0; // Set vertical side count 
    virtual bool setTorusSize(const float radius1, const float radius2, const int sides1, const int sides2) = 0; // Set torus dimentions 
};
Namespace: nitisa::opengl
Include: OpenGL/Controls/ITorus.h