CFx SDK Documentation  2020SP3
Public Member Functions | List of all members
OdGiPointLightTraitsData Class Reference

#include <GiLightTraitsData.h>

Inheritance diagram for OdGiPointLightTraitsData:
OdGiLightTraitsData OdGiWebLightTraitsData

Public Member Functions

 OdGiPointLightTraitsData ()
 
OdGePoint3d position () const
 
void setPosition (const OdGePoint3d &pos)
 
OdGiLightAttenuation attenuation () const
 
void setAttenuation (const OdGiLightAttenuation &atten)
 
double physicalIntensity () const
 
void setPhysicalIntensity (double intensity)
 
OdGiColorRGB lampColor () const
 
void setLampColor (const OdGiColorRGB &color)
 
bool hasTarget () const
 
void setHasTarget (bool bTarget)
 
OdGePoint3d targetLocation () const
 
void setTargetLocation (const OdGePoint3d &loc)
 
void setHemisphericalDistribution (bool bHemisphere)
 
bool hemisphericalDistribution () const
 
void save (OdGsFiler *pFiler) const
 
void load (OdGsFiler *pFiler)
 
- Public Member Functions inherited from OdGiLightTraitsData
bool isOn () const
 
void setOn (bool value)
 
double intensity () const
 
void setIntensity (double dIntensity)
 
OdCmEntityColor color () const
 
void setColor (const OdCmEntityColor &color)
 
OdGiShadowParameters shadowParameters () const
 
void setShadowParameters (const OdGiShadowParameters &params)
 
LightType type () const
 
void save (OdGsFiler *pFiler) const
 
void load (OdGsFiler *pFiler)
 

Additional Inherited Members

- Public Types inherited from OdGiLightTraitsData
enum  LightType {
  kInvalidLight = -1, kPointLight = OdGiDrawable::kPointLight, kSpotLight = OdGiDrawable::kSpotLight, kDistantLight = OdGiDrawable::kDistantLight,
  kWebLight = OdGiDrawable::kWebLight
}
 
- Static Public Member Functions inherited from OdGiLightTraitsData
static LightType drawableLightType (const OdGiDrawable *pDrawable)
 
static void deleteLightTraitsData (OdGiLightTraitsData *pLightTraits)
 
- Protected Member Functions inherited from OdGiLightTraitsData
 OdGiLightTraitsData ()
 
- Protected Attributes inherited from OdGiLightTraitsData
LightType m_type
 

Detailed Description

Corresponding C++ library: TD_Gi <group OdGi_Classes>

Definition at line 117 of file GiLightTraitsData.h.

Constructor & Destructor Documentation

◆ OdGiPointLightTraitsData()

OdGiPointLightTraitsData::OdGiPointLightTraitsData ( )
inline

Definition at line 129 of file GiLightTraitsData.h.

Member Function Documentation

◆ attenuation()

OdGiLightAttenuation OdGiPointLightTraitsData::attenuation ( ) const
inline

Definition at line 141 of file GiLightTraitsData.h.

◆ hasTarget()

bool OdGiPointLightTraitsData::hasTarget ( ) const
inline

Definition at line 150 of file GiLightTraitsData.h.

◆ hemisphericalDistribution()

bool OdGiPointLightTraitsData::hemisphericalDistribution ( ) const
inline

Definition at line 157 of file GiLightTraitsData.h.

◆ lampColor()

OdGiColorRGB OdGiPointLightTraitsData::lampColor ( ) const
inline

Definition at line 147 of file GiLightTraitsData.h.

◆ load()

void OdGiPointLightTraitsData::load ( OdGsFiler pFiler)
inline

Definition at line 172 of file GiLightTraitsData.h.

◆ physicalIntensity()

double OdGiPointLightTraitsData::physicalIntensity ( ) const
inline

Definition at line 144 of file GiLightTraitsData.h.

◆ position()

OdGePoint3d OdGiPointLightTraitsData::position ( ) const
inline

Definition at line 138 of file GiLightTraitsData.h.

◆ save()

void OdGiPointLightTraitsData::save ( OdGsFiler pFiler) const
inline

Definition at line 159 of file GiLightTraitsData.h.

◆ setAttenuation()

void OdGiPointLightTraitsData::setAttenuation ( const OdGiLightAttenuation atten)
inline

Definition at line 142 of file GiLightTraitsData.h.

◆ setHasTarget()

void OdGiPointLightTraitsData::setHasTarget ( bool  bTarget)
inline

Definition at line 151 of file GiLightTraitsData.h.

◆ setHemisphericalDistribution()

void OdGiPointLightTraitsData::setHemisphericalDistribution ( bool  bHemisphere)
inline

Definition at line 156 of file GiLightTraitsData.h.

◆ setLampColor()

void OdGiPointLightTraitsData::setLampColor ( const OdGiColorRGB color)
inline

Definition at line 148 of file GiLightTraitsData.h.

◆ setPhysicalIntensity()

void OdGiPointLightTraitsData::setPhysicalIntensity ( double  intensity)
inline

Definition at line 145 of file GiLightTraitsData.h.

◆ setPosition()

void OdGiPointLightTraitsData::setPosition ( const OdGePoint3d pos)
inline

Definition at line 139 of file GiLightTraitsData.h.

◆ setTargetLocation()

void OdGiPointLightTraitsData::setTargetLocation ( const OdGePoint3d loc)
inline

Definition at line 154 of file GiLightTraitsData.h.

◆ targetLocation()

OdGePoint3d OdGiPointLightTraitsData::targetLocation ( ) const
inline

Definition at line 153 of file GiLightTraitsData.h.


The documentation for this class was generated from the following file: