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 )
void setColor(OdUInt32 color)
void skyParameters(OdGiSkyParameters &) const
OdGiColorRGB lampColor() const
OdGeVector3d direction() const
double physicalIntensity() const
void setDirection(const OdGeVector3d &dir)
OdGiDistantLightTraitsData()
void setSunlight(bool val)
void setPhysicalIntensity(double intensity)
void setLampColor(const OdGiColorRGB &color)
void setSkyParameters(const OdGiSkyParameters &)
void save(OdGsFiler *pFiler) const
void load(OdGsFiler *pFiler)
virtual DrawableType drawableType() const
void save(OdGsFiler *pFiler) const
void load(OdGsFiler *pFiler)
void save(OdGsFiler *pFiler) const
void load(OdGsFiler *pFiler)
void setColor(const OdCmEntityColor &color)
void setShadowParameters(const OdGiShadowParameters ¶ms)
static void deleteLightTraitsData(OdGiLightTraitsData *pLightTraits)
static LightType drawableLightType(const OdGiDrawable *pDrawable)
OdCmEntityColor color() const
void setIntensity(double dIntensity)
OdGiShadowParameters shadowParameters() const
void setViewportObjectId(OdDbStub *id)
OdDbStub * viewportObjectId() const
void load(OdGsFiler *pFiler)
double vpDepDimming() const
OdUInt32 viewportId() const
void save(OdGsFiler *pFiler) const
void setVpDepDimming(double dimming)
void setViewportId(OdUInt32 id)
OdGiLightTraitsVpDepData()
void save(OdGsFiler *pFiler) const
void setLampColor(const OdGiColorRGB &color)
void setPhysicalIntensity(double intensity)
OdGiPointLightTraitsData()
void setTargetLocation(const OdGePoint3d &loc)
double physicalIntensity() const
void load(OdGsFiler *pFiler)
void setAttenuation(const OdGiLightAttenuation &atten)
OdGePoint3d position() const
OdGePoint3d targetLocation() const
void setHemisphericalDistribution(bool bHemisphere)
bool hemisphericalDistribution() const
OdGiColorRGB lampColor() const
void setPosition(const OdGePoint3d &pos)
OdGiLightAttenuation attenuation() const
void setHasTarget(bool bTarget)
void save(OdGsFiler *pFiler) const
void load(OdGsFiler *pFiler)
void save(OdGsFiler *pFiler) const
OdGiColorRGB lampColor() const
OdGiLightAttenuation attenuation() const
double physicalIntensity() const
void setPosition(const OdGePoint3d &pos)
OdGePoint3d target() const
void setLampColor(const OdGiColorRGB &color)
void load(OdGsFiler *pFiler)
OdGePoint3d position() const
void setAttenuation(const OdGiLightAttenuation &atten)
bool setHotspotAndFalloff(double hotSpot, double falloff)
OdGiSpotLightTraitsData()
void setTarget(const OdGePoint3d &trg)
void setPhysicalIntensity(double intensity)
void setWebHorzAng90to270(bool bHA)
OdGiWebLightTraits::WebSymmetry webSymmetry() const
void setWebSymmetry(OdGiWebLightTraits::WebSymmetry sym)
void setWebFileType(OdGiWebLightTraits::WebFileType type)
const OdString & webFile() const
void load(OdGsFiler *pFiler)
void setWebFlux(double flux)
bool webHorzAng90to270() const
const OdGeVector3d & webRotation() const
OdGiWebLightTraits::WebFileType webFileType() const
void save(OdGsFiler *pFiler) const
void setWebRotation(const OdGeVector3d &rot)
void setWebFile(const OdString &fileName)
virtual void wrPoint3d(const OdGePoint3d &pt)
virtual void wrDouble(double val)
virtual void rdVector3d(OdGeVector3d &vec) const
virtual void wrString(const OdString &str)
virtual OdUInt8 rdUInt8() const
virtual void wrHandle(OdDbStub *pHandle)=0
virtual void wrUInt8(OdUInt8 val)
virtual bool rdBool() const
virtual void rdPoint3d(OdGePoint3d &pt) const
virtual void wrBool(bool bVal)
virtual void rdString(OdString &str) const
virtual OdDbStub * rdHandle() const =0
virtual OdUInt32 rdUInt32() const
virtual void wrVector3d(const OdGeVector3d &vec)
virtual double rdDouble() const
virtual void wrUInt32(OdUInt32 val)
GLuint GLsizei GLsizei GLint GLenum * type
GLsizei const GLfloat * value