DD::Image::DirectGeneralTile Class Reference

Inherits DD::Image::GeneralTile.

Classes

class  LinePointers
 

Public Types

typedef ImageTileReadOnlyPtr RowPtr
 

Public Member Functions

 DirectGeneralTile (Iop &input, const ChannelSet &chans, bool mt=false, InterestRatchet *ir=nullptr)
 
 DirectGeneralTile (Iop &input, const Box &box, const ChannelSet &chans, bool mt=false, InterestRatchet *ir=nullptr)
 
 DirectGeneralTile (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 RowPtr NilRow ()
 

Protected Member Functions

 DirectGeneralTile (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 strided pointer type.

Member Typedef Documentation

typedef ImageTileReadOnlyPtr DD::Image::DirectGeneralTile::RowPtr

pointer to within an individual row

Constructor & Destructor Documentation

DD::Image::DirectGeneralTile::DirectGeneralTile ( 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::DirectGeneralTile::DirectGeneralTile ( 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::DirectGeneralTile::DirectGeneralTile ( 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::DirectGeneralTile::operator[] ( Channel  z) const
inline

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

static RowPtr DD::Image::DirectGeneralTile::NilRow ( )
inlinestatic

return an empty row pointer



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