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::Box & | box () const |
const ChannelSet & | channels () 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 |
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
typedef const float* DD::Image::RawGeneralTile::RowPtr |
pointer to within an individual row
|
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.
|
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.
|
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.
|
inlineprotected |
Constructor. This version expects an additional loadOnDemand argument. If set to True, the tile properties will be initialised but image data will not be available immediately after this call. It will instead be provided on demand as pixels are read from the tile. This can be useful for cases such as sampling where the tile defines a possible area that may be read from, but the exact pixels which are needed are not known when the tile is constructed.
|
inline |
given a channel, return something that acts like an array of pointers to all the loaded lines
|
inlinestatic |
return an empty row pointer
©2024 The Foundry Visionmongers, Ltd. All Rights Reserved. |