Workspace 6.21.5
|
Simple ambient light. More...
#include <Rendering/SceneComponents/Lights/ambientlight.h>
Public Member Functions | |
AmbientLight () | |
AmbientLight (const AmbientLight &light) | |
~AmbientLight () override | |
AmbientLight * | clone () const override |
AmbientLight & | operator= (const AmbientLight &light) |
bool | visit (LightsProcessor &processor) override |
Public Member Functions inherited from Light | |
Light (const QString &id="") | |
~Light () override | |
Light * | clone () const override=0 |
const QColor & | getColor () const |
double | getIntensity () const |
Mesh::Vector3d | getOrientation () const |
Mesh::Vector3d | getPosition () const |
void | setColor (const QColor &color) |
void | setIntensity (double d) |
virtual bool | visit (LightsProcessor &processor)=0 |
bool | visit (SceneProcessor &processor) override |
Public Member Functions inherited from SceneItem | |
~SceneItem () override | |
SceneItem * | clone () const override=0 |
bool | getEnabled () const |
const QString & | getId () const |
const Mesh::BoundingBoxMinimal & | getLocalBoundingBox () const |
virtual Mesh::TransformMatrix | getMatrixGlobal () const |
virtual Mesh::TransformMatrix | getMatrixLocal () const |
const QString & | getName () const |
Mesh::TransformMatrix | getParentMatrixGlobal () const |
Transform * | getParentTransform () |
void | setEnabled (bool b) |
void | setId (const QString &itemId) |
virtual void | setLocalBoundingBox (const Mesh::BoundingBoxMinimal &bb) |
void | setName (const QString &name) |
virtual Transform * | toTransform () |
virtual const Transform * | toTransform () const |
virtual void | updateGlobalMatrix () |
virtual bool | visit (SceneProcessor &processor)=0 |
Public Member Functions inherited from Observable | |
virtual | ~Observable () |
void | attachObserver (Observer &observer) |
void | destroy () |
void | detachObserver (Observer &observer) |
void | notifyEvent (const ObservableEvent &event) |
Public Member Functions inherited from Clonable | |
virtual | ~Clonable ()=default |
virtual Clonable * | clone () const =0 |
Additional Inherited Members | |
Protected Member Functions inherited from Light | |
Light (const Light &light) | |
Light & | operator= (const Light &light) |
Protected Member Functions inherited from SceneItem | |
SceneItem (const QString &id) | |
SceneItem (const SceneItem &item) | |
virtual void | addToScene (Scene &scene, const QString &opIdPath="") |
bool | isTransformModified () const |
SceneItem & | operator= (const SceneItem &item) |
void | setTransformModified (bool b) |
Protected Member Functions inherited from Observable | |
Observable () | |
Observable (const Observable &) | |
All properties for this class are provided by the Light base class. The AmbientLight class exists primarily to properly dispatch it to LightsProcessor instances with appropriate typing.
AmbientLight | ( | ) |
AmbientLight | ( | const AmbientLight & | light | ) |
|
override |
|
overridevirtual |
Subclasses must reimplement this function to return a clone of themselves.
Implements Light.
AmbientLight & operator= | ( | const AmbientLight & | light | ) |
|
overridevirtual |