HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TIL_DeepReader Class Referenceabstract

#include <TIL_DeepReader.h>

+ Inheritance diagram for TIL_DeepReader:

Public Member Functions

 TIL_DeepReader ()
 
virtual ~TIL_DeepReader ()
 
virtual int64 getMemoryUsage (bool inclusive) const =0
 
virtual int getXres () const =0
 
virtual int getYres () const =0
 
virtual int getPlaneDataFormat (int plane_index) const =0
 
virtual bool complete ()
 When no more data will be written to the reader, this method is called. More...
 
virtual bool writeTile (int plane_index, int x0, int x1, int y0, int y1, void *data)=0
 
virtual bool writeSamples (int nsamples, int floats_per_sample, const UT_Vector3T< int > *samples, const float *data)=0
 
virtual void updateImage ()
 
virtual bool setTag (int plane, int tag, const char *val)
 
virtual bool setTag (int plane, int tag, const UT_StringArray &values)
 
virtual bool setTag (int plane, int tag, const int *values, int nvalues)
 
virtual bool setTag (int plane, int tag, const float *values, int nvalues)
 

Protected Member Functions

virtual int adjustPlaneIndex (int index) const
 

Detailed Description

Definition at line 34 of file TIL_DeepReader.h.

Constructor & Destructor Documentation

TIL_DeepReader::TIL_DeepReader ( )
virtual TIL_DeepReader::~TIL_DeepReader ( )
virtual

Member Function Documentation

virtual int TIL_DeepReader::adjustPlaneIndex ( int  index) const
protectedvirtual
virtual bool TIL_DeepReader::complete ( )
virtual

When no more data will be written to the reader, this method is called.

Reimplemented in TIL_DeepRasterReader.

virtual int64 TIL_DeepReader::getMemoryUsage ( bool  inclusive) const
pure virtual

Implemented in TIL_DeepRasterReader.

virtual int TIL_DeepReader::getPlaneDataFormat ( int  plane_index) const
pure virtual

Implemented in TIL_DeepRasterReader.

virtual int TIL_DeepReader::getXres ( ) const
pure virtual

Implemented in TIL_DeepRasterReader.

virtual int TIL_DeepReader::getYres ( ) const
pure virtual

Implemented in TIL_DeepRasterReader.

virtual bool TIL_DeepReader::setTag ( int  plane,
int  tag,
const char *  val 
)
virtual

Reimplemented in TIL_DeepRasterReader.

virtual bool TIL_DeepReader::setTag ( int  plane,
int  tag,
const UT_StringArray values 
)
virtual

Reimplemented in TIL_DeepRasterReader.

virtual bool TIL_DeepReader::setTag ( int  plane,
int  tag,
const int values,
int  nvalues 
)
virtual

Reimplemented in TIL_DeepRasterReader.

virtual bool TIL_DeepReader::setTag ( int  plane,
int  tag,
const float *  values,
int  nvalues 
)
virtual

Reimplemented in TIL_DeepRasterReader.

virtual void TIL_DeepReader::updateImage ( )
virtual

Call to notify something that the image has updated. This allows you to uncouple tile writes from updates. This version does nothing.

virtual bool TIL_DeepReader::writeSamples ( int  nsamples,
int  floats_per_sample,
const UT_Vector3T< int > *  samples,
const float *  data 
)
pure virtual

Implemented in TIL_DeepRasterReader.

virtual bool TIL_DeepReader::writeTile ( int  plane_index,
int  x0,
int  x1,
int  y0,
int  y1,
void data 
)
pure virtual

This assumes that the data is in the "correct" endian-ness. Please ensure that this is done (esp. when reading from sockets).

Implemented in TIL_DeepRasterReader.


The documentation for this class was generated from the following file: