View Issue Details

IDProjectCategoryView StatusLast Update
0030549Open CASCADEOCCT:Codingpublic2021-10-18 11:10
Reporterkgv Assigned Toabv  
PrioritynormalSeverityintegration request 
Status resolvedResolutionopen 
Product Version7.2.0 
Target Version7.7.0 
Summary0030549: Coding - split Image_AlienPixMap into several classes
DescriptionCurrent 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.
Steps To ReproduceN/A
TagsNo tags attached.
Test case number

Relationships

related to 0030182 closedapn Open CASCADE Visualization, Image_AlienPixMap - support reading encoded image from memory buffer 
related to 0029055 closedbugmaster Open CASCADE Visualization, Image_AlienPixMap - fallback using Wincodec 
related to 0031098 closedbugmaster Open CASCADE Visualization, TKOpenGl - support Normal texture map 
related to 0031478 closedbugmaster Open CASCADE Visualization, TKOpenGl - allow uploading Cubemap in compressed DDS format when supported by GPU 
related to 0031683 closedabv Community Visualization - V3d_View::SetBackgroundImage() should accept Image_PixMap 
related to 0031956 resolvedkgv Open CASCADE Visualization - provide Image_AlienPixMap::Save() writing into a memory buffer instead of a file 

Activities

git

2019-03-09 05:42

administrator   ~0082796

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.).

git

2019-03-09 05:51

administrator   ~0082797

Branch CR30549 has been updated forcibly by kgv.

SHA-1: 203d38b0b10a792a8db7ceabeee17f926c5e2551

git

2019-03-09 12:00

administrator   ~0082798

Branch CR30549 has been updated forcibly by kgv.

SHA-1: cce1c5d32701073e31b95bb2d80069ffed4f2e9b

git

2019-03-09 13:51

administrator   ~0082800

Branch CR30549 has been updated forcibly by kgv.

SHA-1: e9b36224dbddb1a89334aa3bcd897b93eb15d4c9

git

2019-03-09 14:32

administrator   ~0082802

Branch CR30549 has been updated forcibly by kgv.

SHA-1: 77dba7664c2680a1beb4102c76a14c32ffa7ba66

kgv

2019-03-09 19:50

developer   ~0082807

Patch is ready for review.

Issue History

Date Modified Username Field Change
2019-03-09 05:11 kgv New Issue
2019-03-09 05:11 kgv Assigned To => kgv
2019-03-09 05:42 git Note Added: 0082796
2019-03-09 05:51 git Note Added: 0082797
2019-03-09 05:52 kgv Relationship added related to 0030182
2019-03-09 05:53 kgv Relationship added related to 0029055
2019-03-09 05:53 kgv Product Version 7.4.0 => 7.2.0
2019-03-09 12:00 git Note Added: 0082798
2019-03-09 13:51 git Note Added: 0082800
2019-03-09 14:32 git Note Added: 0082802
2019-03-09 19:50 kgv Note Added: 0082807
2019-03-09 19:50 kgv Assigned To kgv => abv
2019-03-09 19:50 kgv Status new => resolved
2019-10-18 14:46 abv Target Version 7.4.0 => 7.5.0
2019-11-11 17:17 kgv Relationship added related to 0031098
2020-05-22 22:48 kgv Relationship added related to 0031478
2020-07-23 09:13 kgv Relationship added related to 0031683
2020-09-25 20:35 abv Target Version 7.5.0 => 7.6.0
2020-11-24 10:06 kgv Relationship added related to 0031956
2021-10-18 11:10 kgv Target Version 7.6.0 => 7.7.0