CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
OdDbLight Class Reference

#include <DbLight.h>

Inheritance diagram for OdDbLight:
OdDbEntity OdDbObject OdGiDrawable OdRxObject

Public Types

enum  PhysicalIntensityMethod { kPeakIntensity = 0 , kFlux , kIlluminance }
 
enum  LampColorType { kKelvin = 0 , kPreset }
 
enum  LampColorPreset {
  kD65White = 0 , kFluorescent , kCoolWhite , kWhiteFluorescent ,
  kDaylightFluorescent , kIncandescent , kXenon , kHalogen ,
  kQuartz , kMetalHalide , kMercury , kPhosphorMercury ,
  kHighPressureSodium , kLowPressureSodium , kCustom
}
 
enum  GlyphDisplayType { kGlyphDisplayAuto = 0 , kGlyphDisplayOn , kGlyphDisplayOff }
 
- Public Types inherited from OdDbEntity
enum  VisualStyleType { kFullVisualStyle , kFaceVisualStyle , kEdgeVisualStyle }
 
- Public Types inherited from OdGiDrawable
enum  SetAttributesFlags {
  kDrawableNone = 0 , kDrawableIsAnEntity = 1 , kDrawableUsesNesting = 2 , kDrawableIsCompoundObject = 4 ,
  kDrawableViewIndependentViewportDraw = 8 , kDrawableIsInvisible = 16 , kDrawableHasAttributes = 32 , kDrawableRegenTypeDependantGeometry = 64 ,
  kDrawableIsDimension = (kDrawableIsAnEntity + kDrawableIsCompoundObject + 128) , kDrawableRegenDraw = 256 , kDrawableStandardDisplaySingleLOD = 512 , kDrawableShadedDisplaySingleLOD = 1024 ,
  kDrawableViewDependentViewportDraw = 2048 , kDrawableBlockDependentViewportDraw = 4096 , kDrawableIsExternalReference = 8192 , kDrawableNotPlottable = 16384 ,
  kDrawableNotAllowLCS = 32768 , kDrawableMergeControlOff = 65536 , kLastFlag = kDrawableMergeControlOff
}
 
enum  DrawableType {
  kGeometry = 0 , kDistantLight = 1 , kPointLight = 2 , kSpotLight = 3 ,
  kAmbientLight , kSolidBackground , kGradientBackground , kImageBackground ,
  kGroundPlaneBackground , kViewport , kWebLight , kSkyBackground ,
  kImageBasedLightingBackground
}
 

Public Member Functions

 ODDB_DECLARE_MEMBERS (OdDbLight)
 
 OdDbLight ()
 
virtual OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
virtual void dwgOutFields (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfInFields (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields (OdDbDxfFiler *pFiler) const
 
virtual OdResult subTransformBy (const OdGeMatrix3d &xfm)
 
virtual OdResult subErase (bool erasing)
 
virtual void subHighlight (bool bDoIt=true, const OdDbFullSubentPath *pSubId=0, bool highlightAll=false) const
 
virtual DrawableType drawableType () const
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *pTraits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *pWd) const
 
virtual void subViewportDraw (OdGiViewportDraw *pVd) const
 
OdString name () const
 
void setName (OdString name)
 
OdGiDrawable::DrawableType lightType () const
 
void setLightType (OdGiDrawable::DrawableType type)
 
bool isOn () const
 
void setOn (bool value)
 
bool isPlottable () const
 
void setIsPlottable (bool plot)
 
OdCmColor lightColor () const
 
void setLightColor (const OdCmColor &color)
 
double intensity () const
 
void setIntensity (double intensity)
 
void setShadowParameters (const OdGiShadowParameters &params)
 
const OdGiShadowParametersshadowParameters () const
 
void setLightAttenuation (const OdGiLightAttenuation &params)
 
const OdGiLightAttenuationlightAttenuation () const
 
void setPosition (const OdGePoint3d &pos)
 
OdGePoint3d position () const
 
OdGePoint3d targetLocation () const
 
void setTargetLocation (const OdGePoint3d &newVal)
 
void setHotspotAndFalloff (double hotspot, double falloff)
 
double hotspotAngle () const
 
double falloffAngle () const
 
OdGeVector3d lightDirection () const
 
void setLightDirection (const OdGeVector3d &lightvec)
 
PhysicalIntensityMethod physicalIntensityMethod () const
 
void setPhysicalIntensityMethod (PhysicalIntensityMethod physIntMethod)
 
double physicalIntensity () const
 
void setPhysicalIntensity (double physIntensity)
 
double illuminanceDistance () const
 
void setIlluminanceDistance (double illumDistance)
 
LampColorType lampColorType () const
 
void setLampColorType (LampColorType colorType)
 
double lampColorTemp () const
 
void setLampColorTemp (double colorTemp)
 
LampColorPreset lampColorPreset () const
 
void setLampColorPreset (LampColorPreset colorPreset)
 
OdGiColorRGB lampColorRGB () const
 
void setLampColorRGB (const OdGiColorRGB &color)
 
OdCmColor resultingColor () const
 
OdString webFile () const
 
void setWebFile (const OdString &webFile)
 
OdGeVector3d webRotation () const
 
void setWebRotation (const OdGeVector3d &rotation)
 
bool hasTarget () const
 
void setHasTarget (bool bTarget)
 
GlyphDisplayType glyphDisplay () const
 
void setGlyphDisplay (GlyphDisplayType type)
 
OdResult subGetClassID (void *pClsid) const
 
- Public Member Functions inherited from OdDbEntity
 ODDB_DECLARE_MEMBERS (OdDbEntity)
 
 OdDbEntity ()
 
OdDbObjectId blockId () const
 
OdCmColor color () const
 
virtual OdResult setColor (const OdCmColor &color, bool doSubents=true)
 
OdUInt16 colorIndex () const
 
virtual OdCmEntityColor entityColor () const
 
virtual OdResult setColorIndex (OdUInt16 colorIndex, bool doSubents=true)
 
OdDbObjectId colorId () const
 
virtual OdResult setColorId (OdDbObjectId colorId, bool doSubents=true)
 
OdCmTransparency transparency () const
 
virtual OdResult setTransparency (const OdCmTransparency &transparency, bool doSubents=true)
 
OdString plotStyleName () const
 
OdDb::PlotStyleNameType getPlotStyleNameId (OdDbObjectId &plotStyleNameId) const
 
virtual OdResult setPlotStyleName (const OdString &plotStyleName, bool doSubents=true)
 
virtual OdResult setPlotStyleName (OdDb::PlotStyleNameType plotStyleNameType, OdDbObjectId plotStyleNameId=OdDbObjectId::kNull, bool doSubents=true)
 
OdString layer () const
 
OdDbObjectId layerId () const
 
virtual OdResult setLayer (const OdString &layerName, bool doSubents=true, bool allowHiddenLayer=false)
 
virtual OdResult setLayer (OdDbObjectId layerId, bool doSubents=true, bool allowHiddenLayer=false)
 
OdString linetype () const
 
OdDbObjectId linetypeId () const
 
virtual OdResult setLinetype (const OdString &linetypeName, bool doSubents=true)
 
virtual OdResult setLinetype (OdDbObjectId linetypeID, bool doSubents=true)
 
OdString material () const
 
OdDbObjectId materialId () const
 
virtual OdResult setMaterial (const OdString &materialName, bool doSubents=true)
 
virtual OdResult setMaterial (OdDbObjectId materialID, bool doSubents=true)
 
OdDbObjectId visualStyleId (VisualStyleType vstype=kFullVisualStyle) const
 
virtual OdResult setVisualStyle (OdDbObjectId visualStyleId, VisualStyleType vstype=kFullVisualStyle, bool doSubents=true)
 
virtual const OdGiMappermaterialMapper () const
 
virtual void setMaterialMapper (const OdGiMapper *mapper, bool doSubents=true)
 
double linetypeScale () const
 
virtual OdResult setLinetypeScale (double linetypeScale, bool doSubents=true)
 
OdDb::Visibility visibility () const
 
ODRX_SEALED_VIRTUAL OdResult setVisibility (OdDb::Visibility visibility, bool doSubents=true) ODRX_SEALED
 
OdDb::Visibility tempVisibility () const
 
void setTempVisibility (OdDb::Visibility visibility)
 
OdDb::LineWeight lineWeight () const
 
virtual OdResult setLineWeight (OdDb::LineWeight lineWeight, bool doSubents=true)
 
virtual bool castShadows () const
 
virtual void setCastShadows (bool castShadows)
 
virtual bool receiveShadows () const
 
virtual void setReceiveShadows (bool receiveShadows)
 
virtual OdDb::CollisionType collisionType () const
 
void setPropertiesFrom (const OdDbEntity *pSource, bool doSubents=true)
 
virtual bool isPlanar () const
 
virtual OdResult getPlane (OdGePlane &plane, OdDb::Planarity &planarity) const
 
void subHandOverTo (OdDbObject *pNewObject)
 
ODRX_SEALED_VIRTUAL OdResult transformBy (const OdGeMatrix3d &xfm) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult getTransformedCopy (const OdGeMatrix3d &xfm, OdDbEntityPtr &pCopy) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult explode (OdRxObjectPtrArray &entitySet) const ODRX_SEALED
 
virtual OdResult explodeToBlock (OdDbBlockTableRecord *pBlockRecord, OdDbObjectIdArray *ids=0)
 
virtual OdResult explodeGeometry (OdRxObjectPtrArray &entitySet) const
 
virtual OdResult explodeGeometryToBlock (OdDbBlockTableRecord *pBlockRecord, OdDbObjectIdArray *ids=0)
 
virtual bool subWorldDraw (OdGiWorldDraw *pWd) const
 
virtual void subViewportDraw (OdGiViewportDraw *pVd) const
 
void setDatabaseDefaults (OdDbDatabase *pDb=0, bool doSubents=false)
 
virtual void subSetDatabaseDefaults (OdDbDatabase *pDb, bool doSubents)
 
virtual void applyPartialUndo (OdDbDwgFiler *pUndoFiler, OdRxClass *pClassObj)
 
virtual OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
virtual void dwgOutFields (OdDbDwgFiler *pFiler) const
 
void appendToOwner (OdDbIdPair &idPair, OdDbObject *pOwnerObject, OdDbIdMapping &ownerIdMap)
 
virtual OdResult dxfIn (OdDbDxfFiler *pFiler)
 
virtual void dxfOut (OdDbDxfFiler *pFiler) const
 
virtual OdResult dxfInFields (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields (OdDbDxfFiler *pFiler) const
 
virtual OdResult dxfInFields_R12 (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields_R12 (OdDbDxfFiler *pFiler) const
 
virtual OdGiDrawabledrawable ()
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *pTraits) const
 
virtual void subList () const
 
virtual OdResult subGetClassID (void *pClsid) const
 
void subSwapIdWith (const OdDbObjectId &otherId, bool swapXdata=false, bool swapExtDict=false)
 
virtual OdResult subErase (bool erasing) ODRX_OVERRIDE
 
virtual OdResult subOpen (OdDb::OpenMode mode) ODRX_OVERRIDE
 
void recordGraphicsModified (bool graphicsModified=true)
 
virtual void copyFrom (const OdRxObject *pSource)
 
ODRX_SEALED_VIRTUAL void list () const ODRX_SEALED
 
virtual OdResult getGeomExtents (OdGeExtents3d &extents) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL void highlight (bool bDoIt=true, const OdDbFullSubentPath *pSubId=0, bool highlightAll=false) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult getOsnapPoints (OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult getOsnapPoints (OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints, const OdGeMatrix3d &insertionMat) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL bool isContentSnappable () const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult getGripPoints (OdGePoint3dArray &gripPoints) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult moveGripPointsAt (const OdIntArray &indices, const OdGeVector3d &offset) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult getGripPoints (OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const int bitFlags) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult moveGripPointsAt (const OdDbVoidPtrArray &grips, const OdGeVector3d &offset, int bitFlags) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult getStretchPoints (OdGePoint3dArray &stretchPoints) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult moveStretchPointsAt (const OdIntArray &indices, const OdGeVector3d &offset) ODRX_SEALED
 
virtual void dragStatus (const OdDb::DragStat status)
 
ODRX_SEALED_VIRTUAL void gripStatus (const OdDb::GripStat status) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL bool cloneMeForDragging () ODRX_SEALED
 
ODRX_SEALED_VIRTUAL bool hideMeForDragging () const ODRX_SEALED
 
virtual void saveAs (OdGiWorldDraw *pWd, OdDb::DwgVersion ver) const
 
ODRX_SEALED_VIRTUAL OdResult getCompoundObjectTransform (OdGeMatrix3d &xM) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult intersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult intersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, const OdGePlane &projPlane, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const ODRX_SEALED
 
OdResult boundingBoxIntersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, OdGePoint3dArray &points, OdGsMarker thisGsMarker, OdGsMarker otherGsMarker) const
 
OdResult boundingBoxIntersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, const OdGePlane &projPlane, OdGePoint3dArray &points, OdGsMarker thisGsMarker, OdGsMarker otherGsMarker) const
 
ODRX_SEALED_VIRTUAL OdResult getSubentPathsAtGsMarker (OdDb::SubentType type, OdGsMarker gsMark, const OdGePoint3d &pickPoint, const OdGeMatrix3d &xfm, OdDbFullSubentPathArray &subentPaths, const OdDbObjectIdArray *pEntAndInsertStack=0) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult getGsMarkersAtSubentPath (const OdDbFullSubentPath &subPath, OdGsMarkerArray &gsMarkers) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult getGripPointsAtSubentPath (const OdDbFullSubentPath &path, OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const OdUInt32 bitflags) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult moveGripPointsAtSubentPaths (const OdDbFullSubentPathArray &paths, const OdDbVoidPtrArray &gripAppData, const OdGeVector3d &offset, const OdUInt32 bitflags) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult deleteSubentPaths (const OdDbFullSubentPathArray &paths) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult addSubentPaths (const OdDbFullSubentPathArray &paths) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdDbEntityPtr subentPtr (const OdDbFullSubentPath &path) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult transformSubentPathsBy (const OdDbFullSubentPathArray &paths, const OdGeMatrix3d &xform) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult getSubentClassId (const OdDbFullSubentPath &path, void *clsId) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdResult getSubentPathGeomExtents (const OdDbFullSubentPath &path, OdGeExtents3d &extents) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL void subentGripStatus (OdDb::GripStat status, const OdDbFullSubentPath &subentity) ODRX_SEALED
 
virtual OdGeMatrix3d getEcs () const
 
- Public Member Functions inherited from OdDbObject
 ODDB_DECLARE_MEMBERS (OdDbObject)
 
 ~OdDbObject ()
 
void addRef ()
 
void release ()
 
long numRefs () const
 
OdDbObjectId objectId () const
 
OdDbHandle getDbHandle () const
 
OdDbHandle handle () const
 
OdDbObjectId ownerId () const
 
virtual void setOwnerId (OdDbObjectId ownerId)
 
OdDbDatabasedatabase () const
 
void createExtensionDictionary ()
 
OdDbObjectId extensionDictionary () const
 
bool releaseExtensionDictionary ()
 
OdDbXrecordPtr createXrecord (const OdString &xrecordName, OdDb::DuplicateRecordCloning style=OdDb::kDrcIgnore)
 
void upgradeOpen ()
 
void downgradeOpen ()
 
void cancel ()
 
virtual OdResult subOpen (OdDb::OpenMode mode)
 
virtual void subClose ()
 
OdResult erase (bool eraseIt=true)
 
virtual OdResult subErase (bool erasing)
 
void handOverTo (OdDbObject *pNewObject, bool keepXData=true, bool keepExtDict=true)
 
virtual void subHandOverTo (OdDbObject *pNewObject)
 
void swapIdWith (OdDbObjectId otherId, bool swapXdata=false, bool swapExtDict=false)
 
virtual void subSwapIdWith (const OdDbObjectId &otherId, bool swapXdata=false, bool swapExtDict=false)
 
virtual void audit (OdDbAuditInfo *pAuditInfo)
 
void dwgIn (OdDbDwgFiler *pFiler)
 
void dwgOut (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfIn (OdDbDxfFiler *pFiler)
 
virtual void dxfOut (OdDbDxfFiler *pFiler) const
 
virtual OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
virtual void dwgOutFields (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfInFields (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields (OdDbDxfFiler *pFiler) const
 
virtual OdResult dxfInFields_R12 (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields_R12 (OdDbDxfFiler *pFiler) const
 
virtual OdDb::DuplicateRecordCloning mergeStyle () const
 
virtual OdResBufPtr xData (const OdString &regappName=OdString::kEmpty) const
 
virtual void setXData (const OdResBuf *pRb)
 
bool isEraseStatusToggled () const
 
bool isErased () const
 
bool isReadEnabled () const
 
bool isWriteEnabled () const
 
bool isNotifyEnabled () const
 
bool isModified () const
 
bool isModifiedXData () const
 
bool isModifiedGraphics () const
 
bool isNewObject () const
 
bool isNotifying () const
 
bool isUndoing () const
 
bool isReallyClosing () const
 
bool isDBRO () const
 
void assertReadEnabled () const
 
void assertWriteEnabled (bool autoUndo=true, bool recordModified=true)
 
void assertNotifyEnabled () const
 
void disableUndoRecording (bool disable)
 
bool isUndoRecordingDisabled () const
 
OdDbDwgFilerundoFiler ()
 
virtual void applyPartialUndo (OdDbDwgFiler *pUndoFiler, OdRxClass *pClassObj)
 
void addReactor (OdDbObjectReactor *pReactor) const
 
void removeReactor (OdDbObjectReactor *pReactor) const
 
virtual void addPersistentReactor (const OdDbObjectId &objId)
 
virtual void removePersistentReactor (const OdDbObjectId &objId)
 
bool hasPersistentReactor (const OdDbObjectId &objId) const
 
OdDbObjectIdArray getPersistentReactors () const
 
OdDbObjectReactorArray getTransientReactors () const
 
virtual void recvPropagateModify (const OdDbObject *pSubObj)
 
virtual void xmitPropagateModify () const
 
ODRX_SEALED_VIRTUAL OdDbObjectPtr deepClone (OdDbIdMapping &idMap, OdDbObject *pOwner, bool bPrimary=true) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdDbObjectPtr wblockClone (OdDbIdMapping &idMap, OdDbObject *pOwner, bool bPrimary=true) const ODRX_SEALED
 
virtual void appendToOwner (OdDbIdPair &idPair, OdDbObject *pOwnerObject, OdDbIdMapping &idMap)
 
void setOdDbObjectIdsInFlux ()
 
bool isOdDbObjectIdsInFlux () const
 
virtual void copied (const OdDbObject *pObject, const OdDbObject *pNewObject)
 
virtual void erased (const OdDbObject *pObject, bool erasing=true)
 
virtual void goodbye (const OdDbObject *pObject)
 
virtual void openedForModify (const OdDbObject *pObject)
 
virtual void modified (const OdDbObject *pObject)
 
virtual void subObjModified (const OdDbObject *pObject, const OdDbObject *pSubObj)
 
virtual void modifyUndone (const OdDbObject *pObject)
 
virtual void modifiedXData (const OdDbObject *pObject)
 
virtual void unappended (const OdDbObject *pObject)
 
virtual void reappended (const OdDbObject *pObject)
 
bool isAProxy () const
 
virtual void objectClosed (const OdDbObjectId &objectId)
 
virtual void modifiedGraphics (const OdDbObject *pObject)
 
virtual void copyFrom (const OdRxObject *pSource)
 
bool hasSaveVersionOverride () const
 
void setHasSaveVersionOverride (bool hasSaveVersionOverride)
 
virtual OdDb::DwgVersion getObjectSaveVersion (const OdDbFiler *pFiler, OdDb::MaintReleaseVer *pMaintVer=0) const
 
virtual OdDbObjectPtr decomposeForSave (OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData)
 
virtual OdDbObjectPtr decomposeForSave (OdDb::SaveType format, OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData)
 
void convertForSave (OdDb::DwgVersion ver)
 
virtual void composeForLoad (OdDb::SaveType format, OdDb::DwgVersion version, OdDbAuditInfo *pAuditInfo)
 
virtual OdGiDrawabledrawable ()
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *pTraits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *pWd) const
 
virtual void subViewportDraw (OdGiViewportDraw *pVd) const
 
virtual bool isPersistent () const
 
virtual OdDbStub * id () const
 
ODRX_SEALED_VIRTUAL OdResult getClassID (void *pClsid) const ODRX_SEALED
 
void setGsNode (OdGsCache *pNode)
 
OdGsCachegsNode () const
 
void xDataTransformBy (const OdGeMatrix3d &xfm)
 
bool hasFields () const
 
OdDbObjectId getField (const OdString &fieldName) const
 
OdDbObjectPtr getField (const OdString &fieldName, OdDb::OpenMode mode) const
 
virtual OdDbObjectId setField (const OdString &fieldName, OdDbField *pField)
 
virtual OdResult removeField (OdDbObjectId fieldId)
 
virtual OdDbObjectId removeField (const OdString &fieldName)
 
OdDbObjectId getFieldDictionary () const
 
OdDbObjectPtr getFieldDictionary (OdDb::OpenMode mode) const
 
virtual OdRxClasssaveAsClass (OdRxClass *pClass) const
 
- Public Member Functions inherited from OdGiDrawable
 ODRX_DECLARE_MEMBERS (OdGiDrawable)
 
virtual DrawableType drawableType () const
 
ODRX_SEALED_VIRTUAL OdUInt32 setAttributes (OdGiDrawableTraits *pTraits) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL bool worldDraw (OdGiWorldDraw *pWd) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL void viewportDraw (OdGiViewportDraw *pVd) const ODRX_SEALED
 
virtual bool isPersistent () const =0
 
virtual OdDbStub * id () const =0
 
virtual void setGsNode (OdGsCache *pGsNode)=0
 
virtual OdGsCachegsNode () const =0
 
ODRX_SEALED_VIRTUAL OdUInt32 viewportDrawLogicalFlags (OdGiViewportDraw *pVd) const ODRX_SEALED
 
virtual OdResult getGeomExtents (OdGeExtents3d &extents) const
 
ODRX_SEALED_VIRTUAL OdUInt32 regenSupportFlags () const ODRX_SEALED
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () 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 OdRxClassdesc ()
 
- Protected Member Functions inherited from OdDbEntity
virtual OdDbObjectPtr subWblockClone (OdDbIdMapping &ownerIdMap, OdDbObject *, bool bPrimary) const ODRX_OVERRIDE
 
virtual OdDbObjectPtr subDeepClone (OdDbIdMapping &ownerIdMap, OdDbObject *, bool bPrimary) const ODRX_OVERRIDE
 
virtual OdResult subTransformBy (const OdGeMatrix3d &xfm)
 
virtual OdResult subGetTransformedCopy (const OdGeMatrix3d &xfm, OdDbEntityPtr &pCopy) const
 
virtual OdResult subExplode (OdRxObjectPtrArray &entitySet) const
 
virtual OdResult subGetCompoundObjectTransform (OdGeMatrix3d &xM) const
 
virtual bool subCloneMeForDragging ()
 
virtual bool subHideMeForDragging () const
 
virtual void subGripStatus (const OdDb::GripStat status)
 
virtual OdResult subGetOsnapPoints (OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints) const
 
virtual OdResult subGetOsnapPoints (OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints, const OdGeMatrix3d &insertionMat) const
 
virtual bool subIsContentSnappable () const
 
virtual OdResult subGetGripPoints (OdGePoint3dArray &gripPoints) const
 
virtual OdResult subMoveGripPointsAt (const OdIntArray &indices, const OdGeVector3d &offset)
 
virtual OdResult subGetGripPoints (OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const int bitFlags) const
 
virtual OdResult subMoveGripPointsAt (const OdDbVoidPtrArray &grips, const OdGeVector3d &offset, int bitFlags)
 
virtual OdResult subGetStretchPoints (OdGePoint3dArray &stretchPoints) const
 
virtual OdResult subMoveStretchPointsAt (const OdIntArray &indices, const OdGeVector3d &offset)
 
virtual OdResult subIntersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const
 
virtual OdResult subIntersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, const OdGePlane &projPlane, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const
 
virtual void subHighlight (bool bDoIt=true, const OdDbFullSubentPath *pSubId=0, bool highlightAll=false) const
 
virtual OdDb::Visibility subVisibility () const
 
virtual OdResult subSetVisibility (OdDb::Visibility visibility, bool doSubents=true)
 
virtual OdResult subGetGeomExtents (OdGeExtents3d &extents) const
 
virtual OdResult subDeleteSubentPaths (const OdDbFullSubentPathArray &paths)
 
virtual OdResult subAddSubentPaths (const OdDbFullSubentPathArray &paths)
 
virtual OdResult subMoveGripPointsAtSubentPaths (const OdDbFullSubentPathArray &paths, const OdDbVoidPtrArray &gripAppData, const OdGeVector3d &offset, const OdUInt32 bitflags)
 
virtual OdResult subGetGripPointsAtSubentPath (const OdDbFullSubentPath &path, OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const OdUInt32 bitflags) const
 
virtual OdResult subGetSubentPathsAtGsMarker (OdDb::SubentType type, OdGsMarker gsMark, const OdGePoint3d &pickPoint, const OdGeMatrix3d &xfm, OdDbFullSubentPathArray &subentPaths, const OdDbObjectIdArray *pEntAndInsertStack=0) const
 
virtual OdResult subGetGsMarkersAtSubentPath (const OdDbFullSubentPath &subPath, OdGsMarkerArray &gsMarkers) const
 
virtual OdDbEntityPtr subSubentPtr (const OdDbFullSubentPath &path) const
 
virtual OdResult subTransformSubentPathsBy (const OdDbFullSubentPathArray &paths, const OdGeMatrix3d &xform)
 
virtual OdResult subGetSubentClassId (const OdDbFullSubentPath &path, void *clsId) const
 
virtual OdResult subGetSubentPathGeomExtents (const OdDbFullSubentPath &path, OdGeExtents3d &extents) const
 
virtual void subSubentGripStatus (OdDb::GripStat status, const OdDbFullSubentPath &subentity)
 
- Protected Member Functions inherited from OdDbObject
 OdDbObject ()
 
virtual OdResult subGetClassID (void *pClsid) const
 
virtual OdDbObjectPtr subDeepClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary) const
 
virtual OdDbObjectPtr subWblockClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary) const
 
- Protected Member Functions inherited from OdGiDrawable
 OdGiDrawable ()
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const =0
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const =0
 
virtual void subViewportDraw (OdGiViewportDraw *vd) const =0
 
virtual OdUInt32 subViewportDrawLogicalFlags (OdGiViewportDraw *vd) const
 
virtual OdUInt32 subRegenSupportFlags () const
 
- Protected Attributes inherited from OdDbObject
OdDbObjectImplm_pImpl
 

Detailed Description

This class represents a placeholder for all generic light properties. Corresponding C++ library: SCENEOE

<group OdDb_Classes>

Definition at line 39 of file DbLight.h.

Member Enumeration Documentation

◆ GlyphDisplayType

Display types for glyphs.

Enumerator
kGlyphDisplayAuto 

Automatic glyph display.

kGlyphDisplayOn 

Glyph display enabled.

kGlyphDisplayOff 

Glyph display disabled.

Definition at line 107 of file DbLight.h.

◆ LampColorPreset

Lamp color presets.

Enumerator
kD65White 

D65White lamp color (255, 255, 255).

kFluorescent 

Fluorescent lamp color (255, 253, 229).

kCoolWhite 

Cool white lamp color (255, 253, 229).

kWhiteFluorescent 

White fluorescent lamp color (255, 249, 221).

kDaylightFluorescent 

Daylight fluorescent lamp color (248, 255, 248).

kIncandescent 

Incandescent lamp color (255, 244, 214).

kXenon 

Xenon lamp color (255, 252, 255).

kHalogen 

Halogen lamp color (255, 247, 219).

kQuartz 

Quartz lamp color (255, 247, 219).

kMetalHalide 

Metal halide lamp color (255, 250, 225).

kMercury 

Mercury lamp color (233, 255, 233).

kPhosphorMercury 

Phosphor mercury lamp color (222, 255, 255).

kHighPressureSodium 

High pressure sodium lamp color (255, 236, 204).

kLowPressureSodium 

Low pressure sodium lamp color (255, 230, 204).

kCustom 

Custom lamp color.

Definition at line 70 of file DbLight.h.

◆ LampColorType

The lamp color type.

Enumerator
kKelvin 

Color as Kelvin color temperature.

kPreset 

Color from a lamp color preset.

Definition at line 59 of file DbLight.h.

◆ PhysicalIntensityMethod

Enumerator
kPeakIntensity 
kFlux 
kIlluminance 

Definition at line 49 of file DbLight.h.

Constructor & Destructor Documentation

◆ OdDbLight()

OdDbLight::OdDbLight ( )

Default constructor for the OdDbLight class. Creates an object with default properties of the OdDbLightImpl object.

Member Function Documentation

◆ drawableType()

virtual DrawableType OdDbLight::drawableType ( ) const
virtual

Retrieves the type of this drawable.

Reimplemented from OdGiDrawable.

◆ dwgInFields()

virtual OdResult OdDbLight::dwgInFields ( OdDbDwgFiler pFiler)
virtual

Reads the .dwg file data of this object.

Parameters
pFiler[in] Pointer to a filer object from which to read the data.
Returns
Returns the filer status.
Remarks
This function is called by dwgIn() to allow the object to read its data. When overriding this function:
Call assertWriteEnabled().
  1. Call the parent class's dwgInFields(pFiler).
  2. If it returns eOK, continue; otherwise return whatever the parent's dwgInFields(pFiler) returned.
  3. Call the OdDbDwgFiler(pFiler) methods to read each of the object's data items in the order they were written.
  4. Return pFiler->filerStatus().

Reimplemented from OdDbEntity.

◆ dwgOutFields()

virtual void OdDbLight::dwgOutFields ( OdDbDwgFiler pFiler) const
virtual

Writes the .dwg file data of this object.

Parameters
pFiler[out] Pointer to a filer object to which to write the data.
Returns
Returns the filer status.
Remarks
This function is called by dwgOut() to allow the object to write its data. When overriding this function:
Call assertReadEnabled().
  1. Call the parent class's dwgOutFields(pFiler).
  2. Call the OdDbDwgFiler(pFiler) methods to write each of the object's data items in the order they were written.

Reimplemented from OdDbEntity.

◆ dxfInFields()

virtual OdResult OdDbLight::dxfInFields ( OdDbDxfFiler pFiler)
virtual

Reads the .dxf file data of this object.

Parameters
pFiler[in] Pointer to a filer object from which to read the data.
Returns
Returns the filer status.
Remarks
This function is called by dxfIn() to allow the object to read its data. When overriding this function:
Call assertWriteEnabled().
  1. Call the parent class's dwgInFields(pFiler).
  2. If it returns eOK, continue; otherwise return whatever the parent's dxfInFields(pFiler) returned.
  3. Call the OdDbDxfFiler(pFiler) methods to read each of the object's data items in the order they were written.
  4. Return pFiler->filerStatus().

Reimplemented from OdDbEntity.

◆ dxfOutFields()

virtual void OdDbLight::dxfOutFields ( OdDbDxfFiler pFiler) const
virtual

Writes the .dxf file data of this object.

Parameters
pFiler[out] Pointer to a filer object to which to write the data.
Returns
Returns the filer status.
Remarks
This function is called by dxfOut() to allow the object to write its data. When overriding this function:
Call assertReadEnabled().
  1. Call the parent class's dxfOutFields(pFiler).
  2. Call the OdDbDxfFiler(pFiler) methods to write each of the object's data items in the order they were written.

Reimplemented from OdDbEntity.

◆ falloffAngle()

double OdDbLight::falloffAngle ( ) const

Retrieves the cone angle that produces the light falloff.

◆ glyphDisplay()

GlyphDisplayType OdDbLight::glyphDisplay ( ) const

Retrieves the glyph display type of this light.

◆ hasTarget()

bool OdDbLight::hasTarget ( ) const

Checks whether this light displays a target grip to orient this light.

◆ hotspotAngle()

double OdDbLight::hotspotAngle ( ) const

Retrieves the cone angle that produces the brightest part of the beam (hotspot) of this light.

◆ illuminanceDistance()

double OdDbLight::illuminanceDistance ( ) const

Retrieves the illuminance distance of the light.

◆ intensity()

double OdDbLight::intensity ( ) const

Retrieves the intensity of this light.

◆ isOn()

bool OdDbLight::isOn ( ) const

Checks whether this light is enabled.

Returns
true if this light is turned on, false otherwise.

◆ isPlottable()

bool OdDbLight::isPlottable ( ) const

Checks whether this light is shown during plotting.

Returns
true if this light is plottable, false otherwise.

◆ lampColorPreset()

LampColorPreset OdDbLight::lampColorPreset ( ) const

Retrieves the preset lamp color of this light.

◆ lampColorRGB()

OdGiColorRGB OdDbLight::lampColorRGB ( ) const

Retrieves the RGB value of the light's lamp color.

◆ lampColorTemp()

double OdDbLight::lampColorTemp ( ) const

Retrieves the Kelvin color temperature of the light if the lamp color type is kKelvin.

◆ lampColorType()

LampColorType OdDbLight::lampColorType ( ) const

Retrieves the lamp color type of the light that indicates how the lamp color of the light is specified (Kelvin color temperature or a preset lamp color).

◆ lightAttenuation()

const OdGiLightAttenuation & OdDbLight::lightAttenuation ( ) const

Retrieves the attenuation parameters of this light.

◆ lightColor()

OdCmColor OdDbLight::lightColor ( ) const

Retrieves the color of this light.

◆ lightDirection()

OdGeVector3d OdDbLight::lightDirection ( ) const

Retrieves the direction of a distant light.

◆ lightType()

OdGiDrawable::DrawableType OdDbLight::lightType ( ) const

Retrieves the type of this light.

◆ name()

OdString OdDbLight::name ( ) const

Retrieves the light name.

◆ ODDB_DECLARE_MEMBERS()

OdDbLight::ODDB_DECLARE_MEMBERS ( OdDbLight  )

◆ physicalIntensity()

double OdDbLight::physicalIntensity ( ) const

Retrieves the physical intensity of the light. The units are based on the physical intensity method (candela, lumen or lux).

◆ physicalIntensityMethod()

PhysicalIntensityMethod OdDbLight::physicalIntensityMethod ( ) const

Retrieves the physical intensity method of this light that indicates how the physical intensity of the light is calculated (by peak intensity, by flux or by illuminance).

◆ position()

OdGePoint3d OdDbLight::position ( ) const

Retrieves the position for point light and spot light sources.

◆ resultingColor()

OdCmColor OdDbLight::resultingColor ( ) const

Retrieves the final color of the light as a result of mixing the lamp color and the filter color.

◆ setGlyphDisplay()

void OdDbLight::setGlyphDisplay ( GlyphDisplayType  type)

Specifies the display type of the glyph for this light.

Parameters
type[in] Glyph display type.

◆ setHasTarget()

void OdDbLight::setHasTarget ( bool  bTarget)

Specifies whether this light should display a target grip to orient this light.

Parameters
bTarget[in] Flag that specifies whether this light should display a target grip.

◆ setHotspotAndFalloff()

void OdDbLight::setHotspotAndFalloff ( double  hotspot,
double  falloff 
)

Specifies the hotspot and falloff for the cone of the directional light.

Parameters
hotspot[in] Hotspot cone angle, in radians. Defines the brightest part of the spot light beam.
falloff[in] Falloff angle, in radians. Defines the full cone of light.

◆ setIlluminanceDistance()

void OdDbLight::setIlluminanceDistance ( double  illumDistance)

Specifies the illuminance distance of the light.

Parameters
illumDistance[in] Illuminance distance of the light.

◆ setIntensity()

void OdDbLight::setIntensity ( double  intensity)

Specifies the intensity of this light.

Parameters
intensity[in] Light intensity.

◆ setIsPlottable()

void OdDbLight::setIsPlottable ( bool  plot)

Specifies whether this light is shown during plotting.

Parameters
plot[in] Flag that specifies whether this light is plottable.

◆ setLampColorPreset()

void OdDbLight::setLampColorPreset ( LampColorPreset  colorPreset)

Sets the lamp color of this light from a preset.

Parameters
colorPreset[in] Preset lamp color.

◆ setLampColorRGB()

void OdDbLight::setLampColorRGB ( const OdGiColorRGB color)

Sets the lamp color of this light as an RGB color value.

Parameters
color[in] RGB lamp color.

◆ setLampColorTemp()

void OdDbLight::setLampColorTemp ( double  colorTemp)

Sets the Kelvin color temperature of the light.

Parameters
colorTemp[in] Lamp color temperature in the range [1000 .. 20000] Kelvin.

◆ setLampColorType()

void OdDbLight::setLampColorType ( LampColorType  colorType)

Specifies the lamp color type of the light that indicates how the lamp color of the light is specified (Kelvin color temperature or a preset lamp color).

Parameters
colorType[in] Lamp color type.

◆ setLightAttenuation()

void OdDbLight::setLightAttenuation ( const OdGiLightAttenuation params)

Specifies the attenuation parameters for this light.

Parameters
params[in] Attenuation parameters.

◆ setLightColor()

void OdDbLight::setLightColor ( const OdCmColor color)

Specifies the color of this light.

Parameters
color[in] Light color.

◆ setLightDirection()

void OdDbLight::setLightDirection ( const OdGeVector3d lightvec)

Specifies the direction of a distant light.

Parameters
vec[in] Light direction.

◆ setLightType()

void OdDbLight::setLightType ( OdGiDrawable::DrawableType  type)

Sets the type of this light.

Parameters
type[in] Light type.

◆ setName()

void OdDbLight::setName ( OdString  name)

Sets a light name.

Parameters
name[in] Light name.

◆ setOn()

void OdDbLight::setOn ( bool  value)

Switches this light on or off.

Parameters
value[in] Flag that turns this light on or off.

◆ setPhysicalIntensity()

void OdDbLight::setPhysicalIntensity ( double  physIntensity)

Specifies the physical intensity of the light.

Parameters
physIntensity[in] Physical intensity of the light. The units are based on the physical intensity method (candela, lumen or lux).

◆ setPhysicalIntensityMethod()

void OdDbLight::setPhysicalIntensityMethod ( PhysicalIntensityMethod  physIntMethod)

Specifies the physical intensity method for this light that indicates how the physical intensity of the light is specified.

Parameters
physIntMethod[in] Physical intensity method.

◆ setPosition()

void OdDbLight::setPosition ( const OdGePoint3d pos)

Specifies the position for point light and spot light sources.

Parameters
pos[in] Light source position.

◆ setShadowParameters()

void OdDbLight::setShadowParameters ( const OdGiShadowParameters params)

Specifies the shadow parameters for this light.

Parameters
params[in] Shadow parameters.

◆ setTargetLocation()

void OdDbLight::setTargetLocation ( const OdGePoint3d newVal)

Specifies the target location of a light.

Parameters
newVal[in] Location of the target. Must differ from the light position.

◆ setWebFile()

void OdDbLight::setWebFile ( const OdString webFile)

Specifies the full path to the file that stores the light's goniometric data (.ies file).

Parameters
webFile[in] Full path to a web file.

◆ setWebRotation()

void OdDbLight::setWebRotation ( const OdGeVector3d rotation)

Specifies the rotation offset used to orient the goniometric data relative to the light orientation. The angle for each axis is 0.0.

Parameters
rotation[in] Vector that defines the rotation offset.

◆ shadowParameters()

const OdGiShadowParameters & OdDbLight::shadowParameters ( ) const

Retrieves the shadow parameters of this light.

◆ subErase()

virtual OdResult OdDbLight::subErase ( bool  erasing)
virtual

Called as the first operation when this object is being erased or unerased.

Parameters
erasing[in] A copy of the erasing argument passed to erase().
Returns
Returns eOk if and only if erase() is to continue.
Remarks
This function is notified just before the current object is to be erased, giving this function the ability to cancel the erase. When overriding this function:
If the OdDbObject's state is incorrect, return something other than eOk.
  1. If the parent class's subErase() returns anything other than eOk, immediately return it.
  2. If other actions are required before erase, do them.
  3. Return eOk. If you must make changes to this object's state, either make them after step 2, or roll them back if step 2 returns anything other than eOk. Also the m_bHighlighted member of this object is set to false if 'erasing' is true.

Reimplemented from OdDbEntity.

◆ subGetClassID()

OdResult OdDbLight::subGetClassID ( void pClsid) const
virtual

Reimplemented from OdDbEntity.

◆ subHighlight()

virtual void OdDbLight::subHighlight ( bool  bDoIt = true,
const OdDbFullSubentPath pSubId = 0,
bool  highlightAll = false 
) const
virtual

Highlights this object.

Parameters
bDoIt[in] A flag value that determines whether highlighting is enabled (if true) or disabled (if false). This flag can switch the highlighting on or off.
pSubId[in] A full subentity path that identifies the subentity to be highlighted.
highlightAll[in] Indicates whether to highlight in all viewports.

Reimplemented from OdDbEntity.

◆ subSetAttributes()

virtual OdUInt32 OdDbLight::subSetAttributes ( OdGiDrawableTraits pTraits) const
virtual

Sets the vectorization attributes of this object, and returns its attribute flags.

Parameters
pTraits[in] Pointer to the OdGiDrawableTraits object from and to which the attributes are to be set.
Remarks
This function is called by the vectorization framework, prior to calling subWorldDraw() or subViewportDraw(), to set the attributes for an object.
See also
<link OdDbLight::subSetAttributes@OdGiDrawableTraits*@const, subSetAttributesFlags() method>

Reimplemented from OdDbEntity.

◆ subTransformBy()

virtual OdResult OdDbLight::subTransformBy ( const OdGeMatrix3d xfm)
virtual

Applies the specified 3D transformation matrix to this entity.

Parameters
xfm[in] 3D transformation matrix.
Returns
eOk if successful, or an appropriate error code otherwise.

Reimplemented from OdDbEntity.

◆ subViewportDraw()

virtual void OdDbLight::subViewportDraw ( OdGiViewportDraw pVd) const
virtual

Creates a viewport-dependent geometric representation of this object.

Parameters
pVd[in] Pointer to the OdGiViewportDraw interface.
Remarks
Causes OdGiDrawable to describe its geometry to the specified OdGiViewportDraw object.

Reimplemented from OdDbEntity.

◆ subWorldDraw()

virtual bool OdDbLight::subWorldDraw ( OdGiWorldDraw pWd) const
virtual

Creates a viewport-independent geometric representation of this object.

Parameters
pWd[in] Pointer to the OdGiWorldDraw interface.
Returns
Returns true if and only if the geometric representation can be generated in a viewport-independent manner.

Reimplemented from OdDbEntity.

◆ targetLocation()

OdGePoint3d OdDbLight::targetLocation ( ) const

Retrieves the target location of a light.

Returns
Target location of the light as an OdGePoint3d instance.

◆ webFile()

OdString OdDbLight::webFile ( ) const

Retrieves the full path to the file that stores the light's goniometric data (.ies file).

◆ webRotation()

OdGeVector3d OdDbLight::webRotation ( ) const

Retrieves the rotation offset used to orient the goniometric data relative to the light orientation.


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