25 Q_PROPERTY(QColor lightColor READ getLightColor WRITE setLightColor)
26 Q_PROPERTY(
float cutoffAngle READ getCutoffAngle WRITE setCutoffAngle)
27 Q_PROPERTY(
float ambientStrength READ getAmbientStrength WRITE setAmbientStrength)
28 Q_PROPERTY(
float diffuseStrength READ getDiffuseStrength WRITE setDiffuseStrength)
29 Q_PROPERTY(
float specularStrength READ getSpecularStrength WRITE setSpecularStrength)
30 Q_PROPERTY(
float shininess READ getShininess WRITE setShininess)
31 Q_PROPERTY(
FragmentProgram fragmentProgram READ getFragmentProgram WRITE setFragmentProgram)
54 Q_ENUM(FragmentProgram)
90 void generate() override;
93 void paint() override;
102 void changedProperty() override;
105 void setIndexValue(
int index, QVariant value) override;
107 void renderNipscan(
bool solid,
double x_axis,
double y_axis,
double z_axis,
double a_axis,
double b_axis,
double c_axis);
119 void notify(const
void* member);
143 float _ambientStrength;
144 float _diffuseStrength;
145 float _specularStrength;
151 std::array<
double, 6> _indexValues;
Pure virtual class to implement rendering separated from the widget and makes the sf::OpenGLWidget th...
Definition OpenGLRenderer.h:13
Encapsulates the std::function() template.
Definition TClosure.h:14
Class to render axis lines in OpenGL. All axis have the same color. Length is both positive and negat...
Definition Axes.h:15
Class to render a cone in OpenGL. Height of the cone is along the Z-axis where the tip is at (0,...
Definition Cone.h:13
Class to render a cylinder in OpenGL. Has a single color. The height of the cone is along the Z-axis ...
Definition Cylinder.h:14
Class to render a circle in OpenGL.
Definition Disk.h:11
Dynamic object .
Definition Dynamic.h:14
Class to render a line in OpenGL.
Definition Line.h:11
Definition NipscanRenderer.h:23
FragmentProgram
Enumeration of available shader inner programs passed to ShaderProgram::Uniform::uProgram uniform.
Definition NipscanRenderer.h:48
Class to render Normals from another vertex array.
Definition Normals.h:12
Shader program having a default vertex and fragment shader.
Definition ShaderProgram.h:13
Class to render a sphere in OpenGL. The center of the sphere is in (0,0,0). Has a single color.
Definition Sphere.h:14
Class to render a cylinder in OpenGL. Height of the cone is along the Z-axis where the tip is at (0,...
Definition Tube.h:13
Base class for vertex-array derived classes.
Definition VertexArrayBase.h:15
#define SF_DECL_PROP_GS(Type, Name)
Declares unreferenced getter and unreferenced setter for a property.
Definition misc/qt/Macros.h:8
Definition DemoRenderer.h:6
#define _SCN_NIPSCAN_CLASS
Definition scn/nipscan/global.h:35