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

#include <ShaderPrograms.h>

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

Public Member Functions

 SolidColorExProgram ()
 
 ~SolidColorExProgram ()
 
virtual void initialize () override
 
virtual void activate () override
 
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
 

Protected Member Functions

 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)
 

Additional Inherited Members

- Public Types inherited from cnoid::ShaderProgram
enum  Capability { NoCapability = 0, Lighting = 1, Transparency = 2 }
 

Constructor & Destructor Documentation

◆ SolidColorExProgram() [1/2]

SolidColorExProgram::SolidColorExProgram ( )

◆ ~SolidColorExProgram()

SolidColorExProgram::~SolidColorExProgram ( )

◆ SolidColorExProgram() [2/2]

SolidColorExProgram::SolidColorExProgram ( std::initializer_list< ShaderSource sources)
protected

Member Function Documentation

◆ activate()

void SolidColorExProgram::activate ( )
overridevirtual

Reimplemented from cnoid::SolidColorProgram.

Reimplemented in cnoid::ThickLineProgram.

◆ initialize()

void SolidColorExProgram::initialize ( )
overridevirtual

Reimplemented from cnoid::SolidColorProgram.

Reimplemented in cnoid::ThickLineProgram.

◆ setColor()

void SolidColorExProgram::setColor ( const Vector3f &  color)
overridevirtual

Reimplemented from cnoid::SolidColorProgram.

◆ setMaterial()

void SolidColorExProgram::setMaterial ( const SgMaterial material)
overridevirtual

Reimplemented from cnoid::SolidColorProgram.

◆ setVertexColorEnabled()

void SolidColorExProgram::setVertexColorEnabled ( bool  on)
overridevirtual

Reimplemented from cnoid::ShaderProgram.


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