DD::Image::RawGeneralTile Class Reference

Inherits DD::Image::GeneralTile.

List of all members.

Classes

class  LinePointers

Public Types

typedef const float * RowPtr

Public Member Functions

 RawGeneralTile (Iop &input, const ChannelSet &chans, bool mt=false, InterestRatchet *ir=NULL)
 RawGeneralTile (Iop &input, const Box &box, const ChannelSet &chans, bool mt=false, InterestRatchet *ir=NULL)
 RawGeneralTile (Iop &input, int x, int y, int r, int t, const ChannelSet &chans, bool mt=false, InterestRatchet *ir=NULL)
LinePointers operator[] (Channel z) const

Static Public Member Functions

static const float * NilRow ()

Friends

class LinePointers

Detailed Description

Derivative of the GeneralTile which provides a two-level operator[] which will returns a raw pointer type.

Use of this means that the data from the input will have to be unpacked if it is provided packed, so it is probably best avoided and provided solely for compatibility


Member Typedef Documentation

typedef const float* DD::Image::RawGeneralTile::RowPtr

pointer to within an individual row


Constructor & Destructor Documentation

DD::Image::RawGeneralTile::RawGeneralTile ( Iop &  input,
const ChannelSet &  chans,
bool  mt = false,
InterestRatchet *  ir = NULL 
) [inline]

load the entire requested area of /input/, for /channels/; if /mt/ is true then it may spawn threads to render the area in parallel. the InterestRatchet /ir/ might be passed down to the underlying RowCacheTile, if it uses one.

DD::Image::RawGeneralTile::RawGeneralTile ( Iop &  input,
const Box &  box,
const ChannelSet &  chans,
bool  mt = false,
InterestRatchet *  ir = NULL 
) [inline]

load the area /box/ on /input/, for /channels/; if /mt/ is true then it may spawn threads to render the area in parallel. the InterestRatchet /ir/ might be passed down to the underlying RowCacheTile, if it uses one.

DD::Image::RawGeneralTile::RawGeneralTile ( Iop &  input,
int  x,
int  y,
int  r,
int  t,
const ChannelSet &  chans,
bool  mt = false,
InterestRatchet *  ir = NULL 
) [inline]

load the area (x, y, r, t) on /input/, for /channels/; if /mt/ is true then it may spawn threads to render the area in parallel. the InterestRatchet /ir/ might be passed down to the underlying RowCacheTile, if it uses one.


Member Function Documentation

LinePointers DD::Image::RawGeneralTile::operator[] ( Channel  z) const [inline]

given a channel, return something that acts like an array of pointers to all the loaded lines

static const float* DD::Image::RawGeneralTile::NilRow ( ) [inline, static]

return an empty row pointer