Changes in the CFx Interface between 2018 and 2019

ODA changed from 4.1.1 to 4.3.2

Removed headers

Gs\TGsDeviceImpl.h

Gs\TGsGbl.h

Gs\TGsViewImpl.h

Tf\ErrorDefs.h

Tf\GeVariant.h

Tf\TfResult.h

DbModelerGeometry.h

OdGsBaseVectorizeDevice in not inherited from TGsDeviceImpl anymore.

Functions are no longer exposed.

OdGsViewImpl is not inherited from TGsViewImpl anymore.

Removed as duplicate.

No longer used.

No longer used.

Was empty header.

Removed libraries

TD_GLES2.lib

Removed.

New headers of the ODA

153 new header files added.

DbPointCloudObj\DbPointCloudDefEx.h

 

 

 

DbPointCloudObj\DbPointCloudHostPE.h

 

 


Ge\GeShell.h

Ge\GeSpunSurf.h

Gi\GiBaseVectorizer.h




 

Gi\GiCommonDraw.h

Gi\GiDummyGeometry.h

Gi\GiConveyorGeometry.h
Gi\GiEmptyGeometry.h
Gi\GiFastExtCalc.h
Gi\GiGeometry.h
Gi\GiGeometrySimplifier.h
Gs\GsExtAccum.h

Gi\GiModelToViewProc.h

Gs\GsBaseVectorizer.h

Gs\GsContainerNode.h
Gs\GsLightNode.h


Gs\GsEntityNode.h



 

Gs\GsExtAccum.h

Gs\GsModel.h

Tf\TfObject.h

BrepRenderer.h, ModelerGeometry.h

DbBaseDatabase.h




DbDatabase.h
DbDataLink.h
DbEntity.h
DbMText.h

DbFiler.h

DbFormattedTableData.h

DbHostAppServices.h

DbMLeader.h

DbSection.h

DbSecurity.h

DbUnderlayHost.h

GiContextForDbDatabase.h

MaterialResolver.h

MessageDefs.h

OdBinaryData.h

OdModuleNames.h

OdPlatformStreamer.h

OdUnitsFormatter.h

PdfExportService.h

Class OdDbPointCloudDefEx
The following methods have a different return value type:

  • totalRegionsCount()

  • totalScansCount()

  • coordinateSystemName()

  • getRcsFilePath()

Class OdDbPointCloudExItem

The pointsCount() method has a different return value type.

Class OdDbPointCloudExHostPE

The load() method was replaced by the following methods:

  • loadRcs()

  • loadRcp()

OdDbObjectId is replaced by OdDbStub in multiple places.

Constructor and the set() method now accept reference to OdGeCurve3d instead of pointer.

Enum ChangedTraits moved from OdGiBaseVectorizer to OdGiSubEntityTraitsChangedFlags.
Class OdGiBaseVectorizer

  • Methods setVisualStyle() and visualStyle() were removed.

  • Method polypoint() changed parameters.

Class OdGiContext

The displaySilhouettes() method has a different return value type.

Multiple changes in dummy implementation classes depending on other changes in interfaces.






polypoint() related changes.

Clipping related methods were made abstract.

Class OdGsBaseVectorizer
setVisualStyle() method has a different parameter type.


Multiple changes in input parameter types. Many methods require now viewport id.

  • calcLineweightOffset() method was removed.

  • addLineweight(), getLineweight(), and setLineweight() methods were removed.

  • insertToSpatialIndex() method has different input parameters.

getOdDbLineWeight() method was removed.

The following methods were removed:

  • setAdditionMode()

  • additionMode()

  • onHighlight()

Massive rework. Multiple changes.


enum moved to other headers.

  • getId() method was removed in multiple classes.

  • createObjectById() method was replaced by getId().

  • getLineTypeById() method was renamed into getLineType().

  • isLayout() method was renamed into getLayoutId().

  • getOwner() method was removed from OdDbBaseLongTransactionPE.




Some enums were moved to other headers.

Now seek() and tell() use 64-bit values.

Multiple changes in input parameter types (OdInt32 instead of OdUInt32).

getSubstituteFontByChar() input parameter type changed.

recompute() method was removed and replaced by global function fxMLeaderRecompute().

Methods isInSlice() and setInSlice() were removed.

Class OdCrypt was renamed to OdDbCrypt.

Some classes were moved to other header.

The type of the fadingIntensityPercentage() input parameter has changed.
enum SolidHatchAsPolygonMode was moved to other headers.

Now resolveMaterial() accepts stub instead of id.

sidDbRegAppTableMissed was removed.

getBitSize() and setBitSize() use 64-bit values.

OdPdfImportVIModuleName definition was removed.

rdDbHandle() and wrDbHandle() methods were removed.

number() method was removed.

The following classes were removed:

  • PdfExportContainerInterface

  • PdfExportBrepContainerInterface

  • PdfExportBrepServiceInterface.

Method newContainer() was replaced by serialize().

Modified Headers of the CFxkernel

Common UI Added

Includes 45 new header files.

New Headers

Two new header files.

Breaking Changes

FxDesignDataItem.h



FxPicture.h

FxPreferences.h



FxSystemServices.h

FxUI.h
FxUIRibbon.h

SetIconImage() method accepts QIcon instead of CFxRasterImagePtr.
SetThumbnailImage() method accepts QImage instead of CFxRasterImagePtr.

Class CFxGLCache is no longer exposed.

The following methods were removed:

  • Methods Get3DMousePlugged()

  • Set3DMousePlugged().

 

The following methods were removed:

  • GetUseDashedEntitySelection()

  • SetUseDashedEntitySelection().

Cloud storage related methods were removed.

Methods GetSmallIcon() and GetLargeIcon() were replaced by method GetIcon( int iSize ).
The following methods were removed:

  • GetSmallIconInfo()

  • SetSmallIconInfo()

  • GetLargeIconInfo()

  • SetLargeIconInfo().

GetDarkIcon() and GetLightIcon() methods require size parameter now.