]> OCCT Git - occt.git/commit
Data Exchange, Step - Vis Material support #447
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Wed, 9 Apr 2025 11:46:48 +0000 (12:46 +0100)
committerGitHub <noreply@github.com>
Wed, 9 Apr 2025 11:46:48 +0000 (12:46 +0100)
commit7c8a432c8efeac8e80bd82ddf1c9d4d70d7b2a90
tree32b6c53e81acb1c614d7ac40896e0e89e3b9034c
parent74176f3b21ce8abaee40904e0fb3c29bac09ae01
Data Exchange, Step - Vis Material support #447

- Introduced STEPConstruct_RenderingProperties class to handle rendering properties in STEP format.
- Implemented constructors for initializing rendering properties from various sources including STEP entities, RGBA colors, and XCAF materials.
- Added methods to set and retrieve ambient, diffuse, and specular reflectance values, along with transparency and rendering method.
- Integrated functionality to create corresponding STEP and XCAF material entities.
29 files changed:
.github/actions/retest-failures/action.yml
src/DataExchange/TKDESTEP/DESTEP/DESTEP_ConfigurationNode.cxx
src/DataExchange/TKDESTEP/DESTEP/DESTEP_Parameters.hxx
src/DataExchange/TKDESTEP/DESTEP/DESTEP_Provider.cxx
src/DataExchange/TKDESTEP/GTests/FILES.cmake
src/DataExchange/TKDESTEP/GTests/STEPConstruct_RenderingProperties_Test.cxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_GeneralModule.cxx
src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_ReadWriteModule.cxx
src/DataExchange/TKDESTEP/RWStepVisual/FILES.cmake
src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleReflectanceAmbientDiffuse.cxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleReflectanceAmbientDiffuse.pxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleReflectanceAmbientDiffuseSpecular.cxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWSurfaceStyleReflectanceAmbientDiffuseSpecular.pxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_Reader.cxx
src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_Writer.cxx
src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_Writer.hxx
src/DataExchange/TKDESTEP/STEPConstruct/FILES.cmake
src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_RenderingProperties.cxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_RenderingProperties.hxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_Styles.cxx
src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_Styles.hxx
src/DataExchange/TKDESTEP/StepAP214/StepAP214_Protocol.cxx
src/DataExchange/TKDESTEP/StepVisual/FILES.cmake
src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleReflectanceAmbientDiffuse.cxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleReflectanceAmbientDiffuse.hxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleReflectanceAmbientDiffuseSpecular.cxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/StepVisual/StepVisual_SurfaceStyleReflectanceAmbientDiffuseSpecular.hxx [new file with mode: 0644]
tests/de_wrapper/configuration/A3
tests/de_wrapper/configuration/A4