Opened 13 years ago

Last modified 13 years ago

#104 assigned task

Move away from C-style arrays to a better Array class to hold image arrays

Reported by: MatthewWhiting Owned by: MatthewWhiting
Priority: normal Milestone: Release-2.0
Component: Code base Version: 1.1.10
Severity: normal Keywords:
Cc:

Description

See discussion here: http://www.parashift.com/c++-faq-lite/freestore-mgmt.html#faq-16.18 and below.

This would be much more robust and clean up the code a lot. Will require a fair bit of refactoring though (all the Cube functions will change somewhat...)

Change History (2)

comment:1 Changed 13 years ago by MatthewWhiting

Status: newassigned

comment:2 Changed 13 years ago by MatthewWhiting

It may be good to not just have a basic container class, but to include the ability to use offsets transparently. Perhaps even an Offsets class that holds the necessary values and allows them to be passed coherently? Need to look in detail at the code to see if this is needed though (it may be that we only need to access the Arrays directly without using offsets).

Note: See TracTickets for help on using tickets.