#include <api.h>
Inheritance diagram for sfl::Stream:
Public Methods | |
void | setMatrixApiRowMajor (void) |
void | setMatrixApiColumnMajor (void) |
Protected Methods | |
uint32 | fillRwBuffer (void) |
Reads at max rwBufferSize bytes from the gff stream. More... | |
uint32 | flushRwBuffer0 (void) |
Writes rwBuffer[0] to the gff stream. More... | |
uint32 | flushRwBuffer (void) |
Writes both buffers to the gff stream. More... | |
void | apiSwapMat4x4 (float mat[16]) const |
void | apiSwapMat4x4 (double mat[16]) const |
void | apiSwapMat4x4ToTemp4x4 (float temp[16], const float mat[16]) const |
void | apiSwapMat4x4ToTemp4x4 (double temp[16], const double mat[16]) const |
bool | apiGetTransform4x4 (const double *src, float *mat, bool internal=false) const |
bool | apiGetTransform4x4 (const double *src, double *mat, bool internal=false) const |
bool | apiGetInvTransform4x4 (const double *src, float *mat, bool internal=false) const |
bool | apiGetInvTransform4x4 (const double *src, double *mat, bool internal=false) const |
bool | apiGetRotation4x4 (const double *src, float *mat, bool internal=false) const |
bool | apiGetRotation4x4 (const double *src, double *mat, bool internal=false) const |
bool | apiGetScalationRotation4x4 (const double *src, float *mat, bool internal=false) const |
bool | apiGetScalationRotation4x4 (const double *src, double *mat, bool internal=false) const |
bool | apiGetTranslation4x4 (const double *src, float *mat, bool internal=false) const |
bool | apiGetTranslation4x4 (const double *src, double *mat, bool internal=false) const |
bool | apiGetScalationTranslation4x4 (const double *src, float *mat, bool internal=false) const |
bool | apiGetScalationTranslation4x4 (const double *src, double *mat, bool internal=false) const |
Stream () | |
~Stream () | |
Protected Attributes | |
gff_file * | gff |
KillerSurfel | surfelBuffer |
size_t | rwBufferSize |
uint8 * | rwBuffer [2] |
Two buffers of size rwBufferSize. rwBuffer[1] follows directly rwBuffer[0]. More... | |
uint8 * | rwBufferHead |
Buffer write position. More... | |
uint8 * | rwBufferTail |
Buffer read position. More... | |
bool | apiRowMajorMatrices |
|
Definition at line 68 of file stream.cpp. References BUFFER_HALF_SIZE, rwBuffer, rwBufferHead, rwBufferSize, and rwBufferTail. |
|
Definition at line 79 of file stream.cpp. |
|
Definition at line 174 of file stream.cpp. References apiSwapMat4x4. |
|
Definition at line 166 of file stream.cpp. References apiSwapMat4x4. |
|
Definition at line 193 of file stream.cpp. References apiGetScalationRotation4x4, and apiSwapMat4x4. |
|
Definition at line 181 of file stream.cpp. References apiGetScalationRotation4x4, and apiSwapMat4x4. Referenced by apiGetScalationTranslation4x4. |
|
Definition at line 224 of file stream.cpp. References apiSwapMat4x4. |
|
Definition at line 205 of file stream.cpp. References apiSwapMat4x4. Referenced by apiGetRotation4x4. |
|
Definition at line 275 of file stream.cpp. References apiGetRotation4x4, apiSwapMat4x4, sflMat::mulMat32Inv32, and sflMat::updateInverse. |
|
Definition at line 263 of file stream.cpp. References apiGetRotation4x4, apiSwapMat4x4, sflMat::mulMat32Inv32, and sflMat::updateInverse. |
|
Definition at line 159 of file stream.cpp. References apiSwapMat4x4. |
|
Definition at line 151 of file stream.cpp. References apiSwapMat4x4. |
|
Definition at line 253 of file stream.cpp. References apiSwapMat4x4. |
|
Definition at line 243 of file stream.cpp. References apiSwapMat4x4. |
|
Definition at line 92 of file stream.cpp. References apiRowMajorMatrices. |
|
Definition at line 86 of file stream.cpp. References apiRowMajorMatrices. Referenced by apiGetInvTransform4x4, apiGetRotation4x4, apiGetScalationRotation4x4, apiGetScalationTranslation4x4, apiGetTransform4x4, and apiGetTranslation4x4. |
|
Definition at line 106 of file stream.cpp. |
|
Definition at line 98 of file stream.cpp. Referenced by sfl::OutStream::setSceneCameraTransform4x4, sfl::OutStream::setSceneCameraTransformTwice4x4, sfl::OutStream::setSurfelSetTransform3x3, sfl::OutStream::setSurfelSetTransform4x4, and sfl::OutStream::setSurfelSetTransformTwice4x4. |
|
Reads at max rwBufferSize bytes from the gff stream.
Definition at line 289 of file stream.cpp. References gff, gff_read, rwBuffer, rwBufferHead, rwBufferSize, and rwBufferTail. |
|
Writes both buffers to the gff stream.
Definition at line 319 of file stream.cpp. References flushRwBuffer0, rwBuffer, and rwBufferHead. Referenced by sfl::OutStream::endResolution. |
|
Writes rwBuffer[0] to the gff stream.
Definition at line 303 of file stream.cpp. References gff, gff_write, rwBuffer, rwBufferHead, and rwBufferSize. Referenced by flushRwBuffer. |
|
|
|
|
|
Definition at line 170 of file api.h. Referenced by apiSwapMat4x4. |
|
|
Two buffers of size rwBufferSize. rwBuffer[1] follows directly rwBuffer[0].
Definition at line 162 of file api.h. Referenced by fillRwBuffer, flushRwBuffer, flushRwBuffer0, sfl::InStream::seekResolution, and Stream. |
|
Buffer write position.
Definition at line 163 of file api.h. Referenced by fillRwBuffer, flushRwBuffer, flushRwBuffer0, sfl::InStream::seekResolution, and Stream. |
|
Definition at line 161 of file api.h. Referenced by fillRwBuffer, flushRwBuffer0, and Stream. |
|
Buffer read position.
Definition at line 164 of file api.h. Referenced by fillRwBuffer, sfl::InStream::seekResolution, and Stream. |
|
Definition at line 159 of file api.h. Referenced by sfl::OutStream::beginResolution, sfl::OutStream::beginSurfelSet, and sfl::InStream::seekSurfelSet. |