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

#include <FxBIMMaterial.h>

Inheritance diagram for CFxMaterialLayerSet:
CFxBIMMaterial OdDbMaterial OdDbObject OdGiDrawable OdRxObject

Public Member Functions

 ODDB_DECLARE_MEMBERS (CFxMaterialLayerSet)
 
virtual ~CFxMaterialLayerSet ()
 
bool IsEqual (CFxBIMMaterialPtr p) const override
 
bool IsSame (CFxBIMMaterialPtr p) const override
 
void copyFrom (const OdRxObject *pSource) override
 
- Public Member Functions inherited from CFxBIMMaterial
 ODDB_DECLARE_MEMBERS (CFxBIMMaterial)
 
virtual ~CFxBIMMaterial ()
 
virtual bool IsEqual (CFxBIMMaterialPtr p) const
 
virtual bool IsSame (CFxBIMMaterialPtr p) const
 
virtual OdString Name () const
 
virtual OdResult SetName (const OdString &name)
 
virtual const OdStringMappedName () const
 
virtual void SetMappedName (const OdString &mappedName)
 
virtual MaterialType GetMaterialType ()
 
virtual PatternType CutPatternType () const
 
virtual void SetCutPatternType (PatternType type)
 
virtual const OdStringCutPatternName () const
 
virtual void SetCutPatternName (const OdString &patternName)
 
virtual double CutPatternScale () const
 
virtual void SetCutPatternScale (double patternScale)
 
virtual bool CutPatternScaleWithViewPort () const
 
virtual void SetCutPatternScaleWithViewPort (bool ScaleWithViewport)
 
virtual double CutPatternRotation () const
 
virtual void SetCutPatternRotation (double angle)
 
virtual bool CutPatternRotationRelativeToElementBaseline () const
 
virtual void SetCutPatternRotationRelativeToElementBaseline (bool RotationRelativeToElementBaseline)
 
virtual OdDb::LineWeight CutPatternLineweight () const
 
virtual void SetCutPatternLineweight (OdDb::LineWeight lineweight)
 
virtual OdCmColor CutPatternColor () const
 
virtual void SetCutPatternColor (OdCmColor color)
 
virtual PatternType SurfacePatternType () const
 
virtual void SetSurfacePatternType (PatternType type)
 
virtual const OdStringSurfacePatternName () const
 
virtual void SetSurfacePatternName (const OdString &patternName)
 
virtual double SurfacePatternScale () const
 
virtual void SetSurfacePatternScale (double patternScale)
 
virtual bool SurfacePatternScaleWithViewPort () const
 
virtual void SetSurfacePatternScaleWithViewPort (bool ScaleWithViewport)
 
virtual double SurfacePatternRotation () const
 
virtual void SetSurfacePatternRotation (double angle)
 
virtual bool SurfacePatternRotationRelativeToElementBaseline () const
 
virtual void SetSurfacePatternRotationRelativeToElementBaseline (bool RotationRelativeToElementBaseline)
 
virtual OdDb::LineWeight SurfacePatternLineweight () const
 
virtual void SetSurfacePatternLineweight (OdDb::LineWeight lineweight)
 
virtual OdCmColor SurfacePatternColor () const
 
virtual void SetSurfacePatternColor (OdCmColor color)
 
virtual bool CutBoundaryUnify () const
 
virtual void SetCutBoundaryUnify (bool unify)
 
virtual OdDb::LineWeight CutBoundaryLineweight () const
 
virtual void SetCutBoundaryLineweight (OdDb::LineWeight lineweight)
 
virtual OdCmColor CutBoundaryColor () const
 
virtual void SetCutBoundaryColor (OdCmColor color)
 
virtual bool SurfaceBoundaryUnify () const
 
virtual void SetSurfaceBoundaryUnify (bool unify)
 
virtual OdDb::LineWeight SurfaceBoundaryLineweight () const
 
virtual void SetSurfaceBoundaryLineweight (OdDb::LineWeight lineweight)
 
virtual OdCmColor SurfaceBoundaryColor () const
 
virtual void SetSurfaceBoundaryColor (OdCmColor color)
 
virtual OdCmColor CutColor () const
 
virtual void SetCutColor (OdCmColor color)
 
virtual double CutTransparency () const
 
virtual void SetCutTransparency (double transparencyPercentage)
 
virtual OdCmColor SurfaceColor () const
 
virtual void SetSurfaceColor (OdCmColor color)
 
virtual double SurfaceTransparency () const
 
virtual void SetSurfaceTransparency (double transparencyPercentage)
 
OdResult dwgInFields (OdDbDwgFiler *pFiler) override
 
void dwgOutFields (OdDbDwgFiler *pFiler) const override
 
OdResult dxfInFields (OdDbDxfFiler *pFiler) override
 
void dxfOutFields (OdDbDxfFiler *pFiler) const override
 
void copyFrom (const OdRxObject *pSource) override
 
- Public Member Functions inherited from OdDbMaterial
 ODDB_DECLARE_MEMBERS (OdDbMaterial)
 
 OdDbMaterial ()
 
virtual OdResult setName (const OdString &name)
 
virtual OdString name () const
 
virtual void setDescription (const OdString &description)
 
virtual OdString description () const
 
virtual void setAmbient (const OdGiMaterialColor &ambientColor)
 
virtual void ambient (OdGiMaterialColor &ambientColor) const
 
virtual void setDiffuse (const OdGiMaterialColor &diffuseColor, const OdGiMaterialMap &diffuseMap)
 
virtual void diffuse (OdGiMaterialColor &diffuseColor, OdGiMaterialMap &diffuseMap) const
 
virtual void setSpecular (const OdGiMaterialColor &specularColor, const OdGiMaterialMap &specularMap, double glossFactor)
 
virtual void specular (OdGiMaterialColor &specularColor, OdGiMaterialMap &specularMap, double &glossFactor) const
 
virtual void setReflection (const OdGiMaterialMap &reflectionMap)
 
virtual void reflection (OdGiMaterialMap &reflectionMap) const
 
virtual void setOpacity (double opacityPercentage, const OdGiMaterialMap &opacityMap)
 
virtual void opacity (double &opacityPercentage, OdGiMaterialMap &opacityMap) const
 
virtual void setBump (const OdGiMaterialMap &bumpMap)
 
virtual void bump (OdGiMaterialMap &map) const
 
virtual void setRefraction (double refractionIndex, const OdGiMaterialMap &refractionMap)
 
virtual void refraction (double &refractionIndex, OdGiMaterialMap &refractionMap) const
 
virtual OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
virtual void dwgOutFields (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfInFields (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields (OdDbDxfFiler *pFiler) const
 
virtual OdGiDrawabledrawable ()
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *pTraits) const
 
virtual double translucence () const
 
virtual void setTranslucence (double translucence)
 
virtual double selfIllumination () const
 
virtual void setSelfIllumination (double selfIllumination)
 
virtual double reflectivity () const
 
virtual void setReflectivity (double reflectivity)
 
virtual OdGiMaterialTraits::Mode mode () const
 
virtual void setMode (OdGiMaterialTraits::Mode mode)
 
virtual OdGiMaterialTraits::ChannelFlags channelFlags () const
 
virtual void setChannelFlags (OdGiMaterialTraits::ChannelFlags channelFlags)
 
virtual OdGiMaterialTraits::IlluminationModel illuminationModel () const
 
virtual void setIlluminationModel (OdGiMaterialTraits::IlluminationModel illuminationMode)
 
virtual double colorBleedScale () const
 
virtual void setColorBleedScale (double scale)
 
virtual double indirectBumpScale () const
 
virtual void setIndirectBumpScale (double scale)
 
virtual double reflectanceScale () const
 
virtual void setReflectanceScale (double scale)
 
virtual double transmittanceScale () const
 
virtual void setTransmittanceScale (double scale)
 
virtual bool twoSided () const
 
virtual void setTwoSided (bool flag)
 
virtual OdGiMaterialTraits::LuminanceMode luminanceMode () const
 
virtual void setLuminanceMode (OdGiMaterialTraits::LuminanceMode mode)
 
virtual double luminance () const
 
virtual void setLuminance (double value)
 
virtual double shininess () const
 
virtual void setShininess (double value)
 
virtual void normalMap (OdGiMaterialMap &normalMap, OdGiMaterialTraits::NormalMapMethod &method, double &strength) const
 
virtual void setNormalMap (const OdGiMaterialMap &normalMap, OdGiMaterialTraits::NormalMapMethod method, double strength)
 
virtual bool isAnonymous () const
 
virtual void setAnonymous (bool flag)
 
virtual OdGiMaterialTraits::GlobalIlluminationMode globalIllumination () const
 
virtual void setGlobalIllumination (OdGiMaterialTraits::GlobalIlluminationMode mode)
 
virtual OdGiMaterialTraits::FinalGatherMode finalGather () const
 
virtual void setFinalGather (OdGiMaterialTraits::FinalGatherMode mode)
 
virtual OdResult subGetClassID (void *pClsid) const
 
OdResult subErase (bool erasing)
 
- 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
 

Protected Member Functions

 CFxMaterialLayerSet ()
 
- Protected Member Functions inherited from CFxBIMMaterial
 CFxBIMMaterial ()
 
- 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
 

Friends

class CFxMaterialLayerSetImpl
 

Additional Inherited Members

- Public Types inherited from CFxBIMMaterial
enum class  MaterialType { eBasic , eLayer }
 
enum class  PatternType { eHatch , eCustom }
 
- 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
}
 
- Static Public Member Functions inherited from CFxBIMMaterial
static OdStringArray PatternList (OdDb::MeasurementValue measurement)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Attributes inherited from OdDbObject
OdDbObjectImplm_pImpl
 

Detailed Description

Definition at line 191 of file FxBIMMaterial.h.

Constructor & Destructor Documentation

◆ ~CFxMaterialLayerSet()

virtual CFxMaterialLayerSet::~CFxMaterialLayerSet ( )
virtual

◆ CFxMaterialLayerSet()

CFxMaterialLayerSet::CFxMaterialLayerSet ( )
protected

Member Function Documentation

◆ copyFrom()

void CFxMaterialLayerSet::copyFrom ( const OdRxObject pSource)
overridevirtual

Copies the contents of the specified object into this object when possible.

Parameters
pSource[in] Pointer to the source object.
Remarks
The source object and this object need not be of the same type.
This function is meaningful only when implemented by custom classes.

Throws:

Cause eNullObjectPointer pSource->isNull()

Reimplemented from CFxBIMMaterial.

◆ IsEqual()

bool CFxMaterialLayerSet::IsEqual ( CFxBIMMaterialPtr  p) const
overridevirtual

Reimplemented from CFxBIMMaterial.

◆ IsSame()

bool CFxMaterialLayerSet::IsSame ( CFxBIMMaterialPtr  p) const
overridevirtual

Reimplemented from CFxBIMMaterial.

◆ ODDB_DECLARE_MEMBERS()

CFxMaterialLayerSet::ODDB_DECLARE_MEMBERS ( CFxMaterialLayerSet  )

Friends And Related Function Documentation

◆ CFxMaterialLayerSetImpl

friend class CFxMaterialLayerSetImpl
friend

Definition at line 193 of file FxBIMMaterial.h.


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