openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Openexr-devel] list/vector auf array2d pixels


From: katrin schmid
Subject: Re: [Openexr-devel] list/vector auf array2d pixels
Date: Fri, 14 Jan 2011 01:26:11 +0100

hi,
thanks, i give this a shot.
I assumed that it is an intentional restriction...
Thanks for helping,
katrin

-------- Original-Nachricht --------
> Datum: Fri, 14 Jan 2011 01:21:11 +0100
> Von: "Michael Wolf" <address@hidden>
> An: address@hidden, "katrin schmid" <address@hidden>
> Betreff: Re: [Openexr-devel] list/vector auf array2d pixels

> On Fri, 14 Jan 2011 01:14:41 +0100, katrin schmid <address@hidden> wrote:
> 
> > hi,
> 
> Hello Katrin,
> 
> > i try reading an openExr file with arbitary numbers of channels and bit
> depths. I was trying to store a list of Array2Ds like
> >     std::vector < Imf::Array2D<half> > hPixelList; or
> >     Imf::Array2D<half> px[5];
> > but cant make any of these work. Maybe i am missing something obvious
> here?
> > Will store thrm all to the same Array2d for now.
> 
> I'm surprised that this would even compile. A std::vector copies the
> elements and Imf::Array2D<> only has a private copy operator/constructor 
> (mainly
> because one would create a second copy that uses just as much storage
> memory).
> 
> One way would be to store pointers to Imf::Array2D<> or wrap the storage
> into a reference counted class (which is what I prefer to do).
> 
> > Thanks for your help,
> > katrin
> 
> Well, I do hope that it helps.
> 
> Cheers,
> Mike
> 
> -- 
> db&w Bornemann und Wolf GbR
> Seyfferstr. 34
> 70197 Stuttgart
> Deutschland
> 
> address@hidden
> 
> http://www.db-w.com
> 
> tel: +49 (711) 664 525-3
> fax: +49 (711) 664 525-1
> mob: +49 (173) 66 37 652
> 
> icq:   252887990
> skype: lupus_lux
> msn:   address@hidden

-- 
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit 
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl


-- 
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail



reply via email to

[Prev in Thread] Current Thread [Next in Thread]