MantisBT - Open CASCADE
View Issue Details
0030549Open CASCADE[OCCT] OCCT:Codingpublic2019-03-09 05:112020-05-22 22:48
kgv 
abv 
normalintegration request 
resolvedopen 
[OCCT] 7.2.0 
[OCCT] 7.5.0* 
0030549: Coding - split Image_AlienPixMap into several classes
Current definition of Image_AlienPixMap class is not well-designed and messes up interface with two independent implementations using FreeImage and WinCodec libraries.

It is proposed revising this class and split it into several.
N/A
No tags attached.
related to 0030182closed apn Visualization, Image_AlienPixMap - support reading encoded image from memory buffer 
related to 0029055closed bugmaster Visualization, Image_AlienPixMap - fallback using Wincodec 
related to 0031098verified bugmaster Visualization, TKOpenGl - support Normal texture map 
related to 0031478verified bugmaster Visualization, TKOpenGl - allow uploading Cubemap in compressed DDS format when supported by GPU 
Issue History
2019-03-09 05:11kgvNew Issue
2019-03-09 05:11kgvAssigned To => kgv
2019-03-09 05:42gitNote Added: 0082796
2019-03-09 05:51gitNote Added: 0082797
2019-03-09 05:52kgvRelationship addedrelated to 0030182
2019-03-09 05:53kgvRelationship addedrelated to 0029055
2019-03-09 05:53kgvProduct Version7.4.0 => 7.2.0
2019-03-09 12:00gitNote Added: 0082798
2019-03-09 13:51gitNote Added: 0082800
2019-03-09 14:32gitNote Added: 0082802
2019-03-09 19:50kgvNote Added: 0082807
2019-03-09 19:50kgvAssigned Tokgv => abv
2019-03-09 19:50kgvStatusnew => resolved
2019-10-18 14:46abvTarget Version7.4.0 => 7.5.0*
2019-11-11 17:17kgvRelationship addedrelated to 0031098
2020-05-22 22:48kgvRelationship addedrelated to 0031478

Notes
(0082796)
git   
2019-03-09 05:42   
Branch CR30549 has been created by kgv.

SHA-1: 644670c0e01a79bb418d810f734682158106b160


Detailed log of new commits:

Author: kgv
Date: Sat Mar 9 05:07:01 2019 +0300

    0030549: Coding - split Image_AlienPixMap into several classes
    
    Image_AlienPixMap has been split into:
    - Image_AlienPixMapI defining a general interface for reading/writing images from/to external files.
    - Image_FreeImage implementing interface using FreeImage library.
    - Image_WinCodec implementing interface using WinCodec library.
    - Image_AlienPixMap redirecting to either Image_FreeImage or Image_WinCodec.
    
    New static method Image_AlienPixMap::SetDefaultFactory() allows configuring
    an external image library implementing Image_AlienPixMapI interface
    to be used by default OCCT image processing routines (texturing, image dumps, etc.).
(0082797)
git   
2019-03-09 05:51   
Branch CR30549 has been updated forcibly by kgv.

SHA-1: 203d38b0b10a792a8db7ceabeee17f926c5e2551
(0082798)
git   
2019-03-09 12:00   
Branch CR30549 has been updated forcibly by kgv.

SHA-1: cce1c5d32701073e31b95bb2d80069ffed4f2e9b
(0082800)
git   
2019-03-09 13:51   
Branch CR30549 has been updated forcibly by kgv.

SHA-1: e9b36224dbddb1a89334aa3bcd897b93eb15d4c9
(0082802)
git   
2019-03-09 14:32   
Branch CR30549 has been updated forcibly by kgv.

SHA-1: 77dba7664c2680a1beb4102c76a14c32ffa7ba66
(0082807)
kgv   
2019-03-09 19:50   
Patch is ready for review.