BPolyPoly.h
int m_lengths_allocated
The number of array elements that we have allocated for primitive lengths.
Definition: BPolyPoly.h:46
int m_substage
tracks progress during helper functions
Definition: BPolyPoly.h:59
virtual void Reset()
The BStreamFileToolkit class provides support for importing/exporting HOOPS Stream File information...
Definition: BStreamFileToolkit.h:367
int m_templen
the length of all stragglers left behind (e.g. an array of floats of length m_primitive_count if TKPP...
Definition: BPolyPoly.h:50
virtual TK_Status Read(BStreamFileToolkit &tk)=0
int m_points_num_dimensions
The number of unrestricted dimensions in the points array that must be completely specified...
Definition: BPolyPoly.h:44
unsigned char m_compression_scheme
If the TKPP_COMPRESSED bit is set in m_subop, this variable tracks the specific compression algorithm...
Definition: BPolyPoly.h:54
int m_points_num_floats
The number of independent floating point values required to specify the points array (equals m_point_...
Definition: BPolyPoly.h:43
unsigned char * m_workspace
Raw data after packing.
Definition: BPolyPoly.h:55
int m_points_allocated
The number of points for which we have allocated space (to save time, we only reallocate the points a...
Definition: BPolyPoly.h:40
unsigned short m_subop
Suboptions. Among other things, it specifies all 2d restrictions that can be made on the points...
Definition: BPolyPoly.h:53
int m_workspace_used
The amount of workspace area used.
Definition: BPolyPoly.h:56
virtual TK_Status Clone(BStreamFileToolkit &tk, BBaseOpcodeHandler **handler) const
Definition: BOpcodeHandler.h:216
The BBaseOpcodeHandler abstract class is used as a base for derived classes which manage logical piec...
Definition: BOpcodeHandler.h:55
TK_Status
Codes which can be either passed to various toolkit functions, or indicate the result of a toolkit fu...
Definition: BStream.h:278
int m_primitive_count
The number of primitives. Omitted from read/write (it can be deduced from the lengths array) unless T...
Definition: BPolyPoly.h:45
int m_bits_per_sample
the number of bits per sample. Should be tk.GetNumVertexBits()/3
Definition: BPolyPoly.h:58
int m_workspace_allocated
The amount of workspace area allocated.
Definition: BPolyPoly.h:57
virtual TK_Status Execute(BStreamFileToolkit &tk)
virtual TK_Status Write(BStreamFileToolkit &tk)=0