DD::Image::RawGeneralTile Class Reference

Inherits DD::Image::GeneralTile.

Classes

class  LinePointers
 

Public Types

typedef const float * RowPtr
 

Public Member Functions

 RawGeneralTile (Iop &input, const ChannelSet &chans, bool mt=false, InterestRatchet *ir=nullptr)
 
 RawGeneralTile (Iop &input, const Box &box, const ChannelSet &chans, bool mt=false, InterestRatchet *ir=nullptr)
 
 RawGeneralTile (Iop &input, int x, int y, int r, int t, const ChannelSet &chans, bool mt=false, InterestRatchet *ir=nullptr)
 
LinePointers operator[] (Channel z) const
 
- Public Member Functions inherited from DD::Image::GeneralTile
int x () const
 
int y () const
 
int r () const
 
int t () const
 
int w () const
 
int h () const
 
int clampy (int y) const
 
int clampx (int x) const
 
 operator const Box & () const
 
const DD::Image::Boxbox () const
 
const ChannelSetchannels () const
 
bool is_zero (Channel z, int y) const
 
bool valid () const
 
 GeneralTile (Iop &input, const Box &box, const ChannelSet &chans, bool forceUnpacked=false, bool mt=false, InterestRatchet *ir=nullptr)
 
 ~GeneralTile ()
 
float at (int x, int y, Channel z)
 
bool aborted () const
 
void load_range (int y, int t)
 

Static Public Member Functions

static const float * NilRow ()
 

Protected Member Functions

 RawGeneralTile (bool loadOnDemand, Iop &input, const Box &box, const ChannelSet &chans, bool mt=false, InterestRatchet *ir=nullptr)
 
- Protected Member Functions inherited from DD::Image::GeneralTile
 GeneralTile (bool LoadOnDemand, Iop &input, const Box &box, const ChannelSet &chans, bool forceUnpacked=false, bool mt=false, InterestRatchet *ir=nullptr)
 

Friends

class LinePointers
 
template<class TileType >
class TSamplerImpl
 

Additional Inherited Members

- Static Protected Member Functions inherited from DD::Image::GeneralTile
static Box getRequestBox (Iop &input)
 
- Protected Attributes inherited from DD::Image::GeneralTile
Iop_input
 
PlanarI_planarI
 
LocalPlaneCache * _ipc
 
ChannelSet _channels
 
Box _box
 
RowCacheTile_rowCacheTile
 
bool _ipcIsShared
 
bool _valid
 
bool _wantPacked
 
std::set< ChannelSet_allPlanes
 

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 = nullptr 
)
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 = nullptr 
)
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 = nullptr 
)
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 ( )
inlinestatic

return an empty row pointer



©2022 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk