CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
24 #ifndef __OD_GI_LIGHT_TRAITS_DATA__
25 #define __OD_GI_LIGHT_TRAITS_DATA__
64 bool isOn()
const {
return m_bOn; }
68 void setIntensity(
double dIntensity) { m_dIntensity = dIntensity; }
103 m_shadowParameters.
save(pFiler);
110 m_shadowParameters.
load(pFiler);
122 double m_dPhysIntensity;
130 : m_dPhysIntensity(1500.0)
131 , m_lampColor(1.0, 1.0, 1.0)
132 , m_bHasTarget(
false)
133 , m_bHemisphere(
false)
175 m_attenuation.
load(pFiler);
194 double m_dHotspot, m_dFalloff;
196 double m_dPhysIntensity;
203 , m_dPhysIntensity(1500.0)
204 , m_lampColor(1.0, 1.0, 1.0)
245 m_attenuation.
load(pFiler);
279 double m_dPhysIntensity;
285 : m_bIsSunlight(
false)
286 , m_dPhysIntensity(1500.0)
287 , m_lampColor(1.0, 1.0, 1.0)
339 bool m_bHorzAng90to270;
347 , m_bHorzAng90to270(
false)
393 switch(pLightTraits->
type())
422 OdDbStub* m_pViewportObjectId;
424 double m_dVpDepDimming;
429 m_pViewportObjectId(
NULL ),
431 m_dVpDepDimming( 0.0 )
466 #endif // __OD_GI_LIGHT_TRAITS_DATA__
void setColor(const OdCmEntityColor &color)
void setPhysicalIntensity(double intensity)
double physicalIntensity() const
OdGiWebLightTraits::WebFileType webFileType() const
OdGiColorRGB lampColor() const
virtual void wrVector3d(const OdGeVector3d &vec)
void setViewportObjectId(OdDbStub *id)
virtual void rdVector3d(OdGeVector3d &vec) const
OdGeVector3d direction() const
void setVpDepDimming(double dimming)
void setTargetLocation(const OdGePoint3d &loc)
virtual void wrUInt32(OdUInt32 val)
virtual void rdString(OdString &str) const
bool setHotspotAndFalloff(double hotSpot, double falloff)
void setViewportId(OdUInt32 id)
GLuint GLsizei GLsizei GLint GLenum * type
void setPosition(const OdGePoint3d &pos)
void save(OdGsFiler *pFiler) const
void setWebFlux(double flux)
static void deleteLightTraitsData(OdGiLightTraitsData *pLightTraits)
virtual OdUInt32 rdUInt32() const
virtual void wrDouble(double val)
OdGiWebLightTraits::WebSymmetry webSymmetry() const
void load(OdGsFiler *pFiler)
OdGiColorRGB lampColor() const
void setColor(OdUInt32 color)
OdGiSpotLightTraitsData()
void setLampColor(const OdGiColorRGB &color)
OdGiShadowParameters shadowParameters() const
void setIntensity(double dIntensity)
void setSkyParameters(const OdGiSkyParameters &)
void save(OdGsFiler *pFiler) const
OdGiPointLightTraitsData()
void load(OdGsFiler *pFiler)
void load(OdGsFiler *pFiler)
double vpDepDimming() const
void setWebHorzAng90to270(bool bHA)
OdCmEntityColor color() const
virtual OdDbStub * rdHandle() const =0
void setShadowParameters(const OdGiShadowParameters ¶ms)
virtual bool rdBool() const
bool hemisphericalDistribution() const
OdGiLightTraitsVpDepData()
OdGePoint3d targetLocation() const
virtual void wrString(const OdString &str)
void setHemisphericalDistribution(bool bHemisphere)
OdUInt32 viewportId() const
const OdGeVector3d & webRotation() const
void save(OdGsFiler *pFiler) const
virtual DrawableType drawableType() const
void load(OdGsFiler *pFiler)
void setWebFile(const OdString &fileName)
void skyParameters(OdGiSkyParameters &) const
void setAttenuation(const OdGiLightAttenuation &atten)
void save(OdGsFiler *pFiler) const
OdGiColorRGB lampColor() const
virtual void wrHandle(OdDbStub *pHandle)=0
OdDbStub * viewportObjectId() const
void setLampColor(const OdGiColorRGB &color)
void setSunlight(bool val)
void setPosition(const OdGePoint3d &pos)
const OdString & webFile() const
void setWebSymmetry(OdGiWebLightTraits::WebSymmetry sym)
void save(OdGsFiler *pFiler) const
void setAttenuation(const OdGiLightAttenuation &atten)
void setWebRotation(const OdGeVector3d &rot)
OdGiLightAttenuation attenuation() const
virtual double rdDouble() const
OdGiLightAttenuation attenuation() const
virtual void wrPoint3d(const OdGePoint3d &pt)
double physicalIntensity() const
void setWebFileType(OdGiWebLightTraits::WebFileType type)
virtual void wrUInt8(OdUInt8 val)
void load(OdGsFiler *pFiler)
OdGePoint3d position() const
virtual void wrBool(bool bVal)
void save(OdGsFiler *pFiler) const
void setHasTarget(bool bTarget)
GLsizei const GLfloat * value
virtual OdUInt8 rdUInt8() const
static LightType drawableLightType(const OdGiDrawable *pDrawable)
void setDirection(const OdGeVector3d &dir)
void setLampColor(const OdGiColorRGB &color)
virtual void rdPoint3d(OdGePoint3d &pt) const
bool webHorzAng90to270() const
void load(OdGsFiler *pFiler)
void save(OdGsFiler *pFiler) const
void load(OdGsFiler *pFiler)
void setTarget(const OdGePoint3d &trg)
void setPhysicalIntensity(double intensity)
void load(OdGsFiler *pFiler)
double physicalIntensity() const
void setPhysicalIntensity(double intensity)
OdGePoint3d target() const
void save(OdGsFiler *pFiler) const
OdGiDistantLightTraitsData()
OdGePoint3d position() const