HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
CL_FitParms.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_FitParms.h ( CL Library, C++)
7
*
8
* COMMENTS:
9
*
10
* A container class to hold conversion parameters
11
* between raw and spline fit data
12
*/
13
14
#ifndef __CL_FitParms__
15
#define __CL_FitParms__
16
17
#include "
CL_API.h
"
18
#include "
CL_Defines.h
"
19
#include <
UT/UT_StringHolder.h
>
20
#include <
SYS/SYS_Types.h
>
21
22
class
UT_IStream
;
23
class
UT_OStream
;
24
25
class
CL_API
CL_FitParms
26
{
27
public
:
28
29
CL_Unit
units
=
UNIT_SAMPLE
;
30
int
relative = 1;
31
fpreal
start
= 0;
32
fpreal
end
= 0;
33
fpreal
tolerance = 0.01;
34
UT_StringHolder
scope =
"*"
;
35
UT_StringHolder
status
;
36
37
bool
save(
UT_OStream
&os);
38
bool
load(
UT_IStream
&is);
39
int64
getMemoryUsage
(
bool
inclusive)
const
40
{
41
int64
mem = inclusive ?
sizeof
(*this) : 0;
42
mem += scope.getMemoryUsage(
false
);
43
mem += status.getMemoryUsage(
false
);
44
return
mem;
45
}
46
};
47
48
#endif
49
CL_Defines.h
CL_API.h
start
GLuint start
Definition:
glcorearb.h:475
UT_IStream
Definition:
UT_IStream.h:56
CL_FitParms::getMemoryUsage
int64 getMemoryUsage(bool inclusive) const
Definition:
CL_FitParms.h:39
CL_API
#define CL_API
Definition:
CL_API.h:10
UT_StringHolder
Definition:
UT_StringHolder.h:999
SYS_Types.h
CL_FitParms
Definition:
CL_FitParms.h:25
end
GLuint GLuint end
Definition:
glcorearb.h:475
int64
long long int64
Definition:
SYS_Types.h:116
units
GLfloat units
Definition:
glcorearb.h:408
CL_FitParms::status
UT_StringHolder status
Definition:
CL_FitParms.h:35
UNIT_SAMPLE
Definition:
CL_Defines.h:21
UT_StringHolder.h
fpreal
fpreal64 fpreal
Definition:
SYS_Types.h:277
CL_Unit
CL_Unit
Definition:
CL_Defines.h:18
UT_OStream
Definition:
UT_OStream.h:35
CL
CL_FitParms.h
Generated on Thu Nov 21 2024 02:43:28 for HDK by
1.8.6