Functions
-
TK_Status
HTK_Read_Stream_File(char const *filename, HStreamFileToolkit *tk) - TK_Status HTK_Read_Stream_File(char const filename,
HStreamFileToolkit* tk)Reads a HOOPS Stream File and map it to the HOOPS/3dGS scene-graph.
The contents of the HOOPS Stream File are mapped to the corresponding HOOPS/3dGS scene-graph hierarchy underneath the currently open segment.
Parameters
filename: A character pointer denoting the name of the file to read in.
tk: A pointer to the
HStreamFileToolkitto use as a basis for reading the file. This would be passed in to read in a customized file that contains user-specified data. Options to control how the file is read may be specified using the BStreamFileToolkit::SetReadFlags() method on the toolkit.
-
TK_Status
HTK_Read_Stream_File(char const *filename, int flags = 0) - TK_Status HTK_Read_Stream_File(char const filename, int flags)
Reads a HOOPS Stream File and map it to the HOOPS/3dGS scene-graph.
The contents of the HOOPS Stream File are mapped to the corresponding HOOPS/3dGS scene-graph hierarchy underneath the currently open segment.
Parameters
filename: A character pointer denoting the name of the file to read in.
flags: Bitwise encoding of options which control how the file is read. #TK_File_Read_Options provides a list of supported options.
-
TK_Status
HTK_Read_Stream_File(__wchar_t const *filename, HStreamFileToolkit *tk) - TK_Status HTK_Read_Stream_File(__wchar_t const filename,
HStreamFileToolkit* tk)Reads a HOOPS Stream File and map it to the HOOPS/3dGS scene-graph.
The contents of the HOOPS Stream File are mapped to the corresponding HOOPS/3dGS scene-graph hierarchy underneath the currently open segment.
Parameters
filename: A pointer to a UNICODE wide character string denoting the name of the file to read in.
tk: A pointer to the
HStreamFileToolkitobject to use as a basis for generating the file. This would be
-
TK_Status
HTK_Read_Stream_File(__wchar_t const *filename, int flags = 0) - TK_Status HTK_Read_Stream_File(__wchar_t const filename, int flags)
Reads a HOOPS Stream File and map it to the HOOPS/3dGS scene-graph.
The contents of the HOOPS Stream File are mapped to the corresponding HOOPS/3dGS scene-graph hierarchy underneath the currently open segment.
Parameters
filename: A pointer to a UNICODE wide character string denoting the name of the file to read in.
flags: Bitwise encoding of options which control how the file is read. #TK_File_Read_Options provides a list of supported options.
-
TK_Status
HTK_Read_Stream_File(char const *filename, int flags, HStreamFileToolkit *tk) - TK_Status HTK_Read_Stream_File(char const filename, int flags,
HStreamFileToolkit* tk)Deprecated; reads a HOOPS Stream File and map it to the HOOPS/3dGS scene-graph
The contents of the HOOPS Stream File are mapped to the corresponding HOOPS/3dGS scene-graph hierarchy underneath the currently open segment. This form of the function is provided for backward compatibility.
-
TK_Status
HTK_Write_Stream_File(char const *filename, HStreamFileToolkit *tk) - TK_Status HTK_Write_Stream_File(char const filename,
HStreamFileToolkit* tk)Exports the HOOPS/3dGS scene-graph to a HOOPS Stream File.
The contents of the HOOPS/3dGS scene-graph, beginning with the currently open segment, are written out to a HOOPS Stream File
Parameters
filename: A character pointer denoting the name of the file to write.
tk: A pointer to the
HStreamFileToolkitobject to use as a basis for generating the file. This would be passed in to write out a customized file that contains user-specified data. Options to control how the file is written may be specified using the BStreamFileToolkit::SetWriteFlags() method on the toolkit.
-
TK_Status
HTK_Write_Stream_File(char const *filename, int flags = 0) - TK_Status HTK_Write_Stream_File(char const filename, int flags)
Exports the HOOPS/3dGS scene-graph to a HOOPS Stream File.
The contents of the HOOPS/3dGS scene-graph, beginning with the currently open segment, are written out to a HOOPS Stream File
Parameters
filename: A character pointer denoting the name of the file to write.
flags: Bitwise encoding of options to control how the file is written. #TK_File_Write_Options provides a list of supported options.
-
TK_Status
HTK_Write_Stream_File(__wchar_t const *filename, HStreamFileToolkit *tk) - TK_Status HTK_Write_Stream_File(__wchar_t const filename,
HStreamFileToolkit* tk)Exports the HOOPS/3dGS scene-graph to a HOOPS Stream File.
The contents of the HOOPS/3dGS scene-graph, beginning with the currently open segment, are written out to a HOOPS Stream File
Parameters
filename: A pointer to a UNICODE wide character string denoting the name of the file to write.
tk: A pointer to the
HStreamFileToolkitobject to use as a basis for generating the file. This would be passed in to write out a customized file that contains user-specified data. Options to control how the file is written may be specified using the BStreamFileToolkit::SetWriteFlags() method on the toolkit.
-
TK_Status
HTK_Write_Stream_File(__wchar_t const *filename, int flags = 0) - TK_Status HTK_Write_Stream_File(__wchar_t const filename, int flags)
Exports the HOOPS/3dGS scene-graph to a HOOPS Stream File.
The contents of the HOOPS/3dGS scene-graph, beginning with the currently open segment, are written out to a HOOPS Stream File
Parameters
filename: A pointer to a UNICODE wide character string denoting the name of the file to write.
flags: Bitwise encoding of options to control how the file is written. #TK_File_Write_Options provides a list of supported options.
-
TK_Status
HTK_Write_Stream_File(char const *filename, int flags, HStreamFileToolkit *tk) - TK_Status HTK_Write_Stream_File(char const filename, int flags,
HStreamFileToolkit* tk)Deprecated; exports the HOOPS/3dGS scene-graph to a HOOPS Stream File
The contents of the HOOPS/3dGS scene-graph, beginning with the currently open segment, are written out to a HOOPS Stream File. This form of the function is provided for backward compatibility.
-
bool
safe(double v, bool check_roundoff = false) - bool safe(double v, bool check_roundoff)
-
bool
safe(int c, double const *vs, bool check_roundoff = false) - bool safe(int c, double const vs, bool check_roundoff)