1#line 1 "D:/Jenkins/workspace/EMS/ECG/ufe/full/ufe-full-python3.11-windows/ufe/include/light.h"
66 typedef std::shared_ptr<Light>
Ptr;
205 if (
auto cmd = intensityCmd(li)) {
228 virtual void color(
float r,
float g,
float b) {
229 if (
auto cmd = colorCmd(r, g, b)) {
251 if (
auto cmd = shadowEnableCmd(se)) {
275 if (
auto cmd = shadowColorCmd(r, g, b)) {
298 if (
auto cmd = diffuseCmd(ld)) {
321 if (
auto cmd = specularCmd(ls)) {
348 if (
auto cmd = angleCmd(la)) {
382 if (
auto cmd = spherePropsCmd(radius, asPoint)) {
417 virtual void coneProps(
float focus,
float angle,
float softness) {
418 if (
auto cmd = conePropsCmd(focus, angle, softness)) {
452 if (
auto cmd = normalizeCmd(nl)) {
481 if (
auto cmd = volumePropsCmd(radius, length)) {
513 if (
auto cmd = volumePropsCmd(radius)) {
545 if (
auto cmd = volumePropsCmd(radius)) {
virtual NormalizeUndoableCommand::Ptr normalizeCmd(bool nl)=0
Normalize attribute. Normalizes power by the surface area of the light.
virtual void normalize(bool nl)
virtual bool normalize() const =0
virtual void coneProps(float focus, float angle, float softness)
virtual ConePropsUndoableCommand::Ptr conePropsCmd(float focus, float angle, float softness)=0
virtual ConeProps coneProps() const =0
virtual VolumeProps volumeProps() const =0
virtual void volumeProps(float radius, float length)
virtual ~CylinderInterface()
virtual VolumePropsUndoableCommand::Ptr volumePropsCmd(float radius, float length)=0
virtual void angle(float la)
virtual AngleUndoableCommand::Ptr angleCmd(float la)=0
virtual ~DirectionalInterface()
virtual float angle() const =0
virtual void volumeProps(float radius)
virtual VolumePropsUndoableCommand::Ptr volumePropsCmd(float radius)=0
virtual VolumeProps volumeProps() const =0
virtual VolumeProps volumeProps() const =0
virtual void volumeProps(float radius)
virtual VolumePropsUndoableCommand::Ptr volumePropsCmd(float radius)=0
virtual void sphereProps(float radius, bool asPoint)
virtual SpherePropsUndoableCommand::Ptr spherePropsCmd(float radius, bool asPoint)=0
virtual ~SphereInterface()
virtual SphereProps sphereProps() const =0
Abstract base class for light interface.
virtual void shadowColor(float r, float g, float b)
virtual Color3f color() const =0
static bool hasObservers(const Path &path)
virtual bool shadowEnable() const =0
virtual float diffuse() const =0
virtual ShadowColorUndoableCommand::Ptr shadowColorCmd(float r, float g, float b)=0
virtual ColorUndoableCommand::Ptr colorCmd(float r, float g, float b)=0
std::shared_ptr< SphereInterface > sphereInterface()
virtual ~Light()
Destructor.
static bool removeObserver(const SceneItem::Ptr &item, const Observer::Ptr &obs)
virtual void specular(float ls)
virtual void intensity(float li)
std::shared_ptr< DirectionalInterface > directionalInterface()
static void notify(const Path &path)
virtual void diffuse(float ld)
virtual ShadowEnableUndoableCommand::Ptr shadowEnableCmd(bool se)=0
virtual std::shared_ptr< CylinderInterface > cylinderInterfaceImpl()=0
virtual const Path & path() const =0
std::shared_ptr< CylinderInterface > cylinderInterface()
virtual float specular() const =0
virtual DiffuseUndoableCommand::Ptr diffuseCmd(float ld)=0
virtual SpecularUndoableCommand::Ptr specularCmd(float ls)=0
virtual IntensityUndoableCommand::Ptr intensityCmd(float li)=0
std::shared_ptr< AreaInterface > areaInterface()
std::shared_ptr< ConeInterface > coneInterface()
virtual std::shared_ptr< DiskInterface > diskInterfaceImpl()=0
virtual Color3f shadowColor() const =0
static Ptr light(const SceneItem::Ptr &item)
virtual std::shared_ptr< SphereInterface > sphereInterfaceImpl()=0
static bool hasObserver(const SceneItem::Ptr &item, const Observer::Ptr &obs)
virtual void shadowEnable(bool se)
virtual Type type() const =0
std::shared_ptr< Light > Ptr
Light(const Light &)=default
Default copy constructor.
virtual SceneItem::Ptr sceneItem() const =0
virtual std::shared_ptr< DirectionalInterface > directionalInterfaceImpl()=0
virtual void color(float r, float g, float b)
static std::size_t nbObservers(const SceneItem::Ptr &item)
std::shared_ptr< DomeInterface > domeInterface()
virtual std::shared_ptr< ConeInterface > coneInterfaceImpl()=0
virtual std::shared_ptr< DomeInterface > domeInterfaceImpl()=0
static bool hasObservers(Rtid runTimeId)
std::shared_ptr< DiskInterface > diskInterface()
virtual std::shared_ptr< AreaInterface > areaInterfaceImpl()=0
virtual float intensity() const =0
static bool addObserver(const SceneItem::Ptr &item, const Observer::Ptr &obs)
std::shared_ptr< Observer > Ptr
Identify an object or 3D path in the scene.
std::shared_ptr< SceneItem > Ptr
Abstract class for set value command.
std::shared_ptr< SetValueUndoableCommand > Ptr
Path path(const std::string &pathString)
SetValueUndoableCommand< bool > SetBoolUndoableCommand
SetValueUndoableCommand< const Color3f & > SetColor3fUndoableCommand
SetValueUndoableCommand< float > SetFloatUndoableCommand
Definition of macros for symbol visibility.