DD::Image::BufferIop Class Reference

Base class for Iops which buffer the output of another Iop into an image plane. More...

Inherits DD::Image::Iop.

List of all members.

Public Member Functions

std::string getName () const
 Get the name of this BufferIop, based on its Class and the name of the Op being buffered.
void setBufferedOpName (const std::string &opName)
 Set the name of the Op being buffered. This is used to generate the name of this BufferIop.
virtual DD::Image::ImagePlane getImagePlane (const DD::Image::ChannelSet &channels)=0
 Get an ImagePlane for this BufferIop's data.
float * getReadableAddress (int x, int y, int z) const
 get the address of the pixel componant at p = [x, y, z] for reading
float * getWritableAddress (int x, int y, int z) const
 get the address of the pixel componant at p = [x, y, z] for writing

Static Public Member Functions

static bool IsBufferIop (const Iop &iop)
 Helper function to return whether or not the iop passed in is a BufferIop.

Protected Attributes

char * _channelBaseAddress [Chan_Last+1]
int _pixelStride
int _rowStride
char * _channelWritableBaseAddress [Chan_Last+1]
int _pixelWritableStride
int _rowWritableStride

Detailed Description

Base class for Iops which buffer the output of another Iop into an image plane.