#include <TIL_DeepRasterReader.h>
|
void | setSequence (const TIL_Sequence &src) |
|
virtual TIL_DeepRaster * | allocRaster () const |
|
int | getXres () const override |
|
int | getYres () const override |
|
int | getNumPlanes () const |
|
int | getPlaneDataFormat (int plane_index) const override |
|
bool | complete () override |
| When no more data will be written to the reader, this method is called. More...
|
|
bool | writeTile (int plane_index, int x0, int x1, int y0, int y1, void *data) override |
|
bool | writeSamples (int nsamples, int floats_per_sample, const UT_Vector3T< int > *samples, const float *data) override |
|
bool | setTag (int plane, int tag, const char *val) override=0 |
|
bool | setTag (int plane, int tag, const UT_StringArray &values) override=0 |
|
bool | setTag (int plane, int tag, const int *values, int nvalues=1) override |
|
bool | setTag (int plane, int tag, const float *values, int nvalues=1) override |
|
virtual int | adjustPlaneIndex (int index) const |
|
Definition at line 26 of file TIL_DeepRasterReader.h.
TIL_DeepRasterReader::TIL_DeepRasterReader |
( |
| ) |
|
TIL_DeepRasterReader::~TIL_DeepRasterReader |
( |
| ) |
|
|
override |
bool TIL_DeepRasterReader::complete |
( |
| ) |
|
|
overrideprotectedvirtual |
When no more data will be written to the reader, this method is called.
Reimplemented from TIL_DeepReader.
void TIL_DeepRasterReader::createDeepRaster |
( |
bool |
change_vector2_to_vector3 = true | ) |
|
fpreal TIL_DeepRasterReader::getElapsedTime |
( |
| ) |
const |
|
inline |
int64 TIL_DeepRasterReader::getMemoryUsage |
( |
bool |
inclusive | ) |
const |
|
overridevirtual |
int TIL_DeepRasterReader::getNumPlanes |
( |
| ) |
const |
|
inlineprotected |
int64 TIL_DeepRasterReader::getPeakMemUsage |
( |
| ) |
const |
|
inline |
fpreal TIL_DeepRasterReader::getPercentComplete |
( |
| ) |
const |
int TIL_DeepRasterReader::getPlaneDataFormat |
( |
int |
plane_index | ) |
const |
|
overrideprotectedvirtual |
fpreal TIL_DeepRasterReader::getRenderTime |
( |
| ) |
const |
|
inline |
int TIL_DeepRasterReader::getVersion |
( |
| ) |
const |
|
inline |
int TIL_DeepRasterReader::getXres |
( |
| ) |
const |
|
overrideprotectedvirtual |
int TIL_DeepRasterReader::getYres |
( |
| ) |
const |
|
overrideprotectedvirtual |
bool TIL_DeepRasterReader::loadSequenceInfo |
( |
UT_NetSocket * |
sock, |
|
|
int & |
pid, |
|
|
bool & |
new_sequence |
|
) |
| |
Initialize sequence information from the net socket.
void TIL_DeepRasterReader::setResolution |
( |
int |
xres, |
|
|
int |
yres |
|
) |
| |
addPlane() returns the plane index (which can be used to set additional attributes at a later time). It's possible to create planes which are NOT renderable (i.e. vector size 5 etc.) These planes are still created, but may not have data written to them.
bool TIL_DeepRasterReader::setTag |
( |
int |
plane, |
|
|
int |
tag, |
|
|
const char * |
val |
|
) |
| |
|
overrideprotectedpure virtual |
|
overrideprotectedpure virtual |
bool TIL_DeepRasterReader::setTag |
( |
int |
plane, |
|
|
int |
tag, |
|
|
const int * |
values, |
|
|
int |
nvalues = 1 |
|
) |
| |
|
overrideprotectedvirtual |
bool TIL_DeepRasterReader::setTag |
( |
int |
plane, |
|
|
int |
tag, |
|
|
const float * |
values, |
|
|
int |
nvalues = 1 |
|
) |
| |
|
overrideprotectedvirtual |
bool TIL_DeepRasterReader::writeSamples |
( |
int |
nsamples, |
|
|
int |
floats_per_sample, |
|
|
const UT_Vector3T< int > * |
samples, |
|
|
const float * |
data |
|
) |
| |
|
overrideprotectedvirtual |
bool TIL_DeepRasterReader::writeTile |
( |
int |
plane_index, |
|
|
int |
x0, |
|
|
int |
x1, |
|
|
int |
y0, |
|
|
int |
y1, |
|
|
void * |
data |
|
) |
| |
|
overrideprotectedvirtual |
This assumes that the data is in the "correct" endian-ness. Please ensure that this is done (esp. when reading from sockets).
Implements TIL_DeepReader.
The documentation for this class was generated from the following file: