HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CL_AsciiClipReader.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_AsciiClipReader.h
7  *
8  * COMMENTS:
9  * This class reads from .clip files.
10  */
11 
12 #ifndef __CL_AsciiClipReader_h__
13 #define __CL_AsciiClipReader_h__
14 
15 #include "CL_API.h"
16 #include "CL_ClipReader.h"
17 
18 class UT_IStream;
19 
21 {
22 public:
24  ~CL_AsciiClipReader() override {}
25 
26  bool readClip(const char *file_name, CL_Clip &clip) override;
27 
28  // The file name is passed in so it can use it in error mesages.
29  bool readClip(UT_IStream &is, CL_Clip &clip, const char *filename);
30 };
31 
32 #endif
GT_API const UT_StringHolder filename
#define CL_API
Definition: CL_API.h:10
~CL_AsciiClipReader() override
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