Implements 3D tube primitive.
You can find more information in comments below. Overrided methods can be found in corresponding base class or interface.
class CPrimitiveTube :public virtual IPrimitive, public nitisa::CModel
{
public:
bool Render() override;
CPrimitiveTube(IControl *control);
float const &OuterRadius;
float const &InnerRadius;
float const &Height;
int const &Sides;
int const &CapSegments;
int const &HeightSegments;
bool setOuterRadius(const float value);
bool setInnerRadius(const float value);
bool setHeight(const float value);
bool setSides(const int value);
bool setSize(const float outer_radius, const float inner_radius, const float height, const int sides);
bool setCapSegments(const int value);
bool setHeightSegments(const int value);
bool setSegments(const int cap, const int height);
void FreeResources();
};
Namespace: | nitisa::opengl |
Include: | OpenGL/Primitives/3D/Tube/PrimitiveTube.h |