Describes minimum required functionality from Tube control.
You can find more information in comments below. Overrided methods can be found in corresponding base interface.
class ITube :public virtual I3DControl
{
public:
virtual bool isUseVertexNormal() = 0; // Return whether to use vertex normals or polygon ones
virtual float getTubeOuterRadius() = 0; // Return tube outer radius
virtual float getTubeInnerRadius() = 0; // Return tube inner radius
virtual float getTubeHeight() = 0; // Return tube height
virtual int getTubeSides() = 0; // Return side count
virtual int getCapSegments() = 0; // Return cap segment count
virtual int getHeightSegments() = 0; // Return height segment count
virtual bool setUseVertexNormal(const bool value) = 0; // Set whether to use vertex normals or polygon ones
virtual bool setTubeOuterRadius(const float value) = 0; // Set tube outer radius
virtual bool setTubeInnerRadius(const float value) = 0; // Set tube inner radius
virtual bool setTubeHeight(const float value) = 0; // Set tube height
virtual bool setTubeSides(const int value) = 0; // Set side count
virtual bool setTubeSize(const float outer_radius, const float inner_radius, const float height, const int sides) = 0; // Set tube radiuses, height, and side count
virtual bool setCapSegments(const int value) = 0; // Set cap segment count
virtual bool setHeightSegments(const int value) = 0; // Set height segment count
virtual bool setSegments(const int cap, const int height) = 0; // Set cap and height segment count
};
Namespace: | nitisa::opengl |
Include: | OpenGL/Controls/ITube.h |