Choreonoid  1.8
Public Member Functions | List of all members
cnoid::ThickLineProgram Class Reference

#include <ShaderPrograms.h>

Inheritance diagram for cnoid::ThickLineProgram:
cnoid::SolidColorExProgram cnoid::SolidColorProgram cnoid::NolightingProgram cnoid::ShaderProgram

Public Member Functions

 ThickLineProgram ()
 
 ~ThickLineProgram ()
 
virtual void initialize () override
 
virtual void activate () override
 
void setViewportSize (int width, int height)
 
void setLineWidth (float width)
 
- Public Member Functions inherited from cnoid::SolidColorExProgram
 SolidColorExProgram ()
 
 ~SolidColorExProgram ()
 
virtual void setColor (const Vector3f &color) override
 
virtual void setMaterial (const SgMaterial *material) override
 
virtual void setVertexColorEnabled (bool on) override
 
- Public Member Functions inherited from cnoid::SolidColorProgram
 SolidColorProgram ()
 
 ~SolidColorProgram ()
 
virtual void setPointSize (float s)
 
void setColorChangable (bool on)
 
bool isColorChangable () const
 
void resetColor (const Vector3f &color)
 
- Public Member Functions inherited from cnoid::NolightingProgram
 NolightingProgram ()
 
 ~NolightingProgram ()
 
virtual void setTransform (const Matrix4 &PV, const Isometry3 &V, const Affine3 &M, const Matrix4 *L) override
 
- Public Member Functions inherited from cnoid::ShaderProgram
virtual ~ShaderProgram ()
 
GLSLProgramglslProgram ()
 
virtual void release ()
 
virtual void deactivate ()
 
bool isActive () const
 
int capabilities () const
 
bool hasCapability (int capability) const
 

Additional Inherited Members

- Public Types inherited from cnoid::ShaderProgram
enum  Capability { NoCapability = 0, Lighting = 1, Transparency = 2 }
 
- Protected Member Functions inherited from cnoid::SolidColorExProgram
 SolidColorExProgram (std::initializer_list< ShaderSource > sources)
 
- Protected Member Functions inherited from cnoid::SolidColorProgram
 SolidColorProgram (std::initializer_list< ShaderSource > sources)
 
- Protected Member Functions inherited from cnoid::NolightingProgram
 NolightingProgram (std::initializer_list< ShaderSource > sources)
 
- Protected Member Functions inherited from cnoid::ShaderProgram
 ShaderProgram ()=default
 
 ShaderProgram (std::initializer_list< ShaderSource > sources)
 
void setCapability (int capability)
 

Constructor & Destructor Documentation

◆ ThickLineProgram()

ThickLineProgram::ThickLineProgram ( )

◆ ~ThickLineProgram()

ThickLineProgram::~ThickLineProgram ( )

Member Function Documentation

◆ activate()

void ThickLineProgram::activate ( )
overridevirtual

Reimplemented from cnoid::SolidColorExProgram.

◆ initialize()

void ThickLineProgram::initialize ( )
overridevirtual

Reimplemented from cnoid::SolidColorExProgram.

◆ setLineWidth()

void ThickLineProgram::setLineWidth ( float  width)

◆ setViewportSize()

void ThickLineProgram::setViewportSize ( int  width,
int  height 
)

The documentation for this class was generated from the following files: