CFx SDK Documentation 2024 SP0
|
#include <GiLightTraits.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdGiPointLightTraits) | |
virtual void | setPosition (const OdGePoint3d &pos)=0 |
virtual OdGePoint3d | position () const =0 |
virtual OdGiLightAttenuation | lightAttenuation () const =0 |
virtual void | setAttenuation (const OdGiLightAttenuation &atten)=0 |
virtual void | setPhysicalIntensity (double fIntensity)=0 |
virtual double | physicalIntensity () const =0 |
virtual void | setLampColor (const OdGiColorRGB &color)=0 |
virtual OdGiColorRGB | lampColor () const =0 |
virtual void | setHasTarget (bool bTarget)=0 |
virtual bool | hasTarget () const =0 |
virtual void | setTargetLocation (const OdGePoint3d &loc)=0 |
virtual OdGePoint3d | targetLocation () const =0 |
virtual void | setHemisphericalDistribution (bool bHemisphere)=0 |
virtual bool | hemisphericalDistribution () const =0 |
Public Member Functions inherited from OdGiStandardLightTraits | |
ODRX_DECLARE_MEMBERS (OdGiStandardLightTraits) | |
virtual void | setIntensity (double inten)=0 |
virtual double | intensity () const =0 |
virtual void | setLightColor (const OdCmEntityColor &color)=0 |
virtual OdCmEntityColor | lightColor () const =0 |
virtual void | setShadowParameters (const OdGiShadowParameters ¶ms)=0 |
virtual OdGiShadowParameters | shadowParameters () const =0 |
Public Member Functions inherited from OdGiLightTraits | |
ODRX_DECLARE_MEMBERS (OdGiLightTraits) | |
virtual void | setOn (bool on)=0 |
virtual bool | isOn () const =0 |
Public Member Functions inherited from OdGiDrawableTraits | |
ODRX_DECLARE_MEMBERS (OdGiDrawableTraits) | |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Represents characteristics for the point light. This type of light source emits light in all directions.
Corresponding C++ library: TD_Gi <group OdGi_Classes>
Definition at line 1474 of file GiLightTraits.h.
|
pure virtual |
Checks whether this point has an associated target grip displayed.
|
pure virtual |
|
pure virtual |
Retrieves color of the light lamp.
|
pure virtual |
Retrieves light attenuation parameters for this light source.
OdGiPointLightTraits::ODRX_DECLARE_MEMBERS | ( | OdGiPointLightTraits | ) |
|
pure virtual |
Retrieves physical intensity for this light source in candela.
|
pure virtual |
Retrieves position of the point light source.
|
pure virtual |
Specifies attenuation light parameters for the point light source.
atten | [in] Point light source position. |
|
pure virtual |
Specifies whether this point should have an associated target grip displayed.
bTarget | [in] Flag that specifies whether to display a target grip for orienting the light. |
|
pure virtual |
|
pure virtual |
Specifies color for the light lamp.
color | [in] RGB color value. |
|
pure virtual |
Specifies physical intensity for this light source in candela.
fIntensity | [in] Physical intensity of the light in candela. |
|
pure virtual |
Specifies position of the point light source.
pos | [in] Point light source position. |
|
pure virtual |
Specifies target location of the light.
loc | [in] Location of the target. Must differ from the point light position. |
|
pure virtual |
Retrieves target location of the light.