75#define DEFAULT_LOSSY_ERROR_TOLERANCE (0.0001)
76#define PACKETS_ALL_USEFUL (0xFFFFFFFF)
88 void SetSaveOptions(
bool compress,
int flavor,
float Terr,
float Rerr,
bool reduce,
int reduce_percent);
107 bool ReduceAnimation;
108 int ReduceAnimationPercent;
109 bool CompressAnimation;
110 int CompressAnimationFlavor;
111 float CompressAnimationTranslationError;
112 float CompressAnimationRotationError;
115 void set_value(
int framenum,
int vindex,
float32 val);
118 float32 get_value(
int framenum,
int vindex);
121 bool is_identity(
float32 * vec);
124 void compute_range(
void);
128 float compress(
int filter_index,
float scale,
float value1,
float *indata,
unsigned char *pPacket,
float *outdata);
129 float test_compress(
int filter_index,
float scale,
float value1,
float *indata,
float *outdata);
Color scale(const Color &a, const Color &b)
VectorChannelClass(uint32 id, int maxframes, uint32 flags, int vectorlength, float32 *identvec)
float * Get_Vector(int frameidx)
void ClearInvisibleData(BitChannelClass *vis)
void SetSaveOptions(bool compress, int flavor, float Terr, float Rerr, bool reduce, int reduce_percent)
void Set_Vector(int framenumber, float32 *vector)
bool Save(ChunkSaveClass &csave, BitChannelClass *binmov)
~VectorChannelClass(void)