Field3D
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
StdMathLib.h
Go to the documentation of this file.
1
//----------------------------------------------------------------------------//
2
3
/*
4
* Copyright (c) 2009 Sony Pictures Imageworks Inc
5
*
6
* All rights reserved.
7
*
8
* Redistribution and use in source and binary forms, with or without
9
* modification, are permitted provided that the following conditions
10
* are met:
11
*
12
* Redistributions of source code must retain the above copyright
13
* notice, this list of conditions and the following disclaimer.
14
* Redistributions in binary form must reproduce the above copyright
15
* notice, this list of conditions and the following disclaimer in the
16
* documentation and/or other materials provided with the
17
* distribution. Neither the name of Sony Pictures Imageworks nor the
18
* names of its contributors may be used to endorse or promote
19
* products derived from this software without specific prior written
20
* permission.
21
*
22
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
25
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
26
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
27
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
29
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
31
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
33
* OF THE POSSIBILITY OF SUCH DAMAGE.
34
*/
35
36
//----------------------------------------------------------------------------//
37
38
#ifndef _INCLUDED_Field3D_StdMathLib_H_
39
#define _INCLUDED_Field3D_StdMathLib_H_
40
41
#include <OpenEXR/ImathBox.h>
42
#include <OpenEXR/ImathBoxAlgo.h>
43
#include <OpenEXR/ImathColor.h>
44
#include <OpenEXR/ImathHalfLimits.h>
45
#include <OpenEXR/ImathMatrix.h>
46
#include <OpenEXR/ImathMatrixAlgo.h>
47
#include <OpenEXR/ImathPlane.h>
48
#include <OpenEXR/ImathRandom.h>
49
#include <OpenEXR/ImathRoots.h>
50
#include <OpenEXR/ImathVec.h>
51
#include <OpenEXR/half.h>
52
53
//----------------------------------------------------------------------------//
54
55
#include "
ns.h
"
56
57
FIELD3D_NAMESPACE_OPEN
58
59
//----------------------------------------------------------------------------//
60
61
typedef ::half
half
;
62
typedef
Imath::V2i
V2i
;
63
typedef
Imath::V2d
V2d
;
64
typedef
Imath::C3f
C3f
;
65
typedef
Imath::V3i
V3i
;
66
typedef
Imath::Vec3<half>
V3h
;
67
typedef
Imath::V3f
V3f
;
68
typedef
Imath::V3d
V3d
;
69
typedef
Imath::Box3i
Box3i
;
70
typedef
Imath::Box3d
Box3d
;
71
typedef
Imath::Line3d
Ray3d
;
72
typedef
Imath::M44d
M44d
;
73
typedef
Imath::Plane3d
Plane3d
;
74
75
#define FIELD3D_BOX_T Imath::Box
76
#define FIELD3D_MTX_T Imath::Matrix44
77
#define FIELD3D_VEC3_T Imath::Vec3
78
79
#define FIELD3D_CLIP Imath::clip
80
#define FIELD3D_LERP Imath::lerp
81
#define FIELD3D_LERPFACTOR Imath::lerpfactor
82
#define FIELD3D_EXTRACT_SHRT Imath::extractSHRT
83
84
#define FIELD3D_RAND48 Imath::Rand48
85
86
//----------------------------------------------------------------------------//
87
88
FIELD3D_NAMESPACE_HEADER_CLOSE
89
90
//----------------------------------------------------------------------------//
91
92
#endif // Include guard
FIELD3D_NAMESPACE_HEADER_CLOSE
#define FIELD3D_NAMESPACE_HEADER_CLOSE
Definition:
ns.h:58
Box3d
Imath::Box3d Box3d
Definition:
StdMathLib.h:70
V3h
Imath::Vec3< half > V3h
Definition:
StdMathLib.h:66
half
FIELD3D_NAMESPACE_OPEN typedef::half half
Definition:
StdMathLib.h:61
V3d
Imath::V3d V3d
Definition:
StdMathLib.h:68
M44d
Imath::M44d M44d
Definition:
StdMathLib.h:72
V2d
Imath::V2d V2d
Definition:
StdMathLib.h:63
V3i
Imath::V3i V3i
Definition:
StdMathLib.h:65
V3f
Imath::V3f V3f
Definition:
StdMathLib.h:67
Line3d
Imath::Line3d Line3d
Definition:
SpiMathLib.h:84
V2i
Imath::V2i V2i
Definition:
StdMathLib.h:62
C3f
Imath::C3f C3f
Definition:
StdMathLib.h:64
Ray3d
Imath::Line3d Ray3d
Definition:
StdMathLib.h:71
FIELD3D_NAMESPACE_OPEN
Definition:
FieldMapping.cpp:74
Box3i
Imath::Box3i Box3i
Definition:
StdMathLib.h:69
ns.h
Plane3d
Imath::Plane3d Plane3d
Definition:
StdMathLib.h:73
export
StdMathLib.h
Generated by
1.8.11