HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CL_BinaryClipReader.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: CL_BinaryClipReader.h
7  *
8  * COMMENTS:
9  * This class reads from .bclip files.
10  */
11 
12 #ifndef __CL_BinaryClipReader_h__
13 #define __CL_BinaryClipReader_h__
14 
15 #include "CL_API.h"
16 #include "CL_ClipReader.h"
17 
18 class UT_IStream;
19 
21 {
22 public:
23 
24  bool readClip(const char *file_name, CL_Clip &clip) override;
25 
26  // The file name is passed in so it can use it in error mesages.
27  bool readClip(UT_IStream &is, CL_Clip &clip, const char *filename);
28 };
29 
30 #endif
GT_API const UT_StringHolder filename
#define CL_API
Definition: CL_API.h:10
virtual bool readClip(const char *file_name, CL_Clip &clip)=0
IMATH_INTERNAL_NAMESPACE_HEADER_ENTER IMATH_HOSTDEVICE IMATH_CONSTEXPR14 T clip(const T &p, const Box< T > &box) IMATH_NOEXCEPT
Definition: ImathBoxAlgo.h:29