DeepFrameBuffer::getSampleCountSlice()

Richard Hadsell <[email protected]>
Newsgroups gmane.comp.video.openexr.devel
Message-ID <[email protected]>
Why is there only a const function DeepFrameBuffer::getSampleCountSlice() that returns a 'const Slice &'?

I want to allocate a sample count buffer that only spans a single tile, and then modify the slice for each tile that I read one at a time.  This works fine for channel slices that I access using findSlice.  Is it safe to const_cast the return from 
getSampleCountSlice, or is there a fundamental reason why I cannot modify that slice's base?

-- 
Dick Hadsell			203-992-6320  Fax: 203-992-6001
Reply-to:			[email protected]
Blue Sky Studios                http://www.blueskystudios.com
1 American Lane, Greenwich, CT 06831-2560
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.