Choreonoid
1.8
|
#include <ShaderPrograms.h>
Public Member Functions | |
SolidPointProgram () | |
~SolidPointProgram () | |
virtual void | initialize () override |
virtual void | activate () override |
virtual void | deactivate () override |
virtual void | setTransform (const Matrix4 &PV, const Isometry3 &V, const Affine3 &M, const Matrix4 *L) override |
void | setProjectionMatrix (const Matrix4 &P) |
void | setViewportSize (int width, int height) |
Public Member Functions inherited from cnoid::SolidColorProgram | |
SolidColorProgram () | |
~SolidColorProgram () | |
virtual void | setColor (const Vector3f &color) |
virtual void | setMaterial (const SgMaterial *material) override |
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 () | |
Public Member Functions inherited from cnoid::ShaderProgram | |
virtual | ~ShaderProgram () |
GLSLProgram & | glslProgram () |
virtual void | release () |
bool | isActive () const |
virtual void | setVertexColorEnabled (bool on) |
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::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) |
SolidPointProgram::SolidPointProgram | ( | ) |
SolidPointProgram::~SolidPointProgram | ( | ) |
|
overridevirtual |
Reimplemented from cnoid::SolidColorProgram.
|
overridevirtual |
Reimplemented from cnoid::ShaderProgram.
|
overridevirtual |
Reimplemented from cnoid::SolidColorProgram.
void SolidPointProgram::setProjectionMatrix | ( | const Matrix4 & | P | ) |
|
overridevirtual |
PV | Product of the project matrix and view matrix |
V | The transform corresponding to the view matrix |
M | The transform corresponding to the model matrix |
L | The transform corresponding to the local vertex transform matrix |
Reimplemented from cnoid::NolightingProgram.
void SolidPointProgram::setViewportSize | ( | int | width, |
int | height | ||
) |