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
HOM_GeometryRayCache.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
* COMMENTS:
7
* Geometry ray cache interface.
8
*/
9
10
#ifndef __HOM_GeometryRayCache_h__
11
#define __HOM_GeometryRayCache_h__
12
13
#include "
HOM_API.h
"
14
#include "
HOM_Module.h
"
15
#include "
HOM_Defines.h
"
16
#include "
HOM_Errors.h
"
17
#include "
HOM_Geometry.h
"
18
#include <string>
19
20
SWIGOUT
(%
rename
(GeometryRayCache)
HOM_GeometryRayCache
;)
21
SWIGOUT
(%feature(
"notabstract"
)
HOM_GeometryRayCache
;)
22
23
class
HOM_API
HOM_GeometryRayCache
24
{
25
public
:
26
#ifdef SWIG
27
%extend
28
{
29
HOM_GeometryRayCache
()
30
{
return
HOM
().
newGeometryRayCache
(); }
31
}
32
#else
33
HOM_GeometryRayCache
()
34
{
HOM_CONSTRUCT_OBJECT
(
this
) }
35
HOM_GeometryRayCache
(
const
HOM_GeometryRayCache
&)
36
{
HOM_CONSTRUCT_OBJECT
(
this
) }
37
#endif
38
virtual
~HOM_GeometryRayCache
()
39
{
HOM_DESTRUCT_OBJECT
(
this
) }
40
41
virtual
std::string
__repr__
() = 0;
42
43
SWIGOUT
(%kwargs
intersect
;)
44
virtual
int
intersect
(
45
HOM_Geometry
&geo,
46
const
HOM_Vector3
&rayorig,
const
HOM_Vector3
&dir,
47
HOM_Vector3
&p,
HOM_Vector3
&
n
,
HOM_Vector3
&uvw,
48
float
min_hit=1e-2
f
,
float
max_hit=1e18f,
49
float
tolerance=1e-2F) = 0;
50
51
SWIGOUT
(%kwargs findAllInTube;)
52
virtual
std::vector<
HOM_ElemPtr<HOM_Point>
> findAllInTube(
53
HOM_Geometry
&geo,
54
const
HOM_Vector3
&rayorig,
const
HOM_Vector3
&dir,
55
float
radius,
float
min_hit=0.0
f
,
float
max_hit=1e18f,
56
float
tolerance=5e-3
f
) = 0;
57
58
};
59
60
#endif
HOM_Geometry
Definition:
HOM_Geometry.h:58
HOM_Geometry.h
HOM_DESTRUCT_OBJECT
#define HOM_DESTRUCT_OBJECT(pointer)
Definition:
HOM_Module.h:1303
HOM_GeometryRayCache::~HOM_GeometryRayCache
virtual ~HOM_GeometryRayCache()
Definition:
HOM_GeometryRayCache.h:38
HOM_Module.h
string
GLsizei const GLchar *const * string
Definition:
glcorearb.h:814
SWIGOUT
#define SWIGOUT(x)
Definition:
HOM_Defines.h:24
HOM_GeometryRayCache::HOM_GeometryRayCache
HOM_GeometryRayCache(const HOM_GeometryRayCache &)
Definition:
HOM_GeometryRayCache.h:35
Vt_WrapArray::__repr__
string __repr__(VtArray< T > const &self)
Definition:
wrapArray.h:349
HOM_API.h
HOM_Vector3
Definition:
HOM_Vector3.h:26
n
GLdouble n
Definition:
glcorearb.h:2008
f
GLfloat f
Definition:
glcorearb.h:1926
HOM_API
#define HOM_API
Definition:
HOM_API.h:13
HOM_CONSTRUCT_OBJECT
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition:
HOM_Module.h:1302
HOM_Module::newGeometryRayCache
virtual HOM_GeometryRayCache * newGeometryRayCache()=0
HOM_Defines.h
HOM_GeometryRayCache
Definition:
HOM_GeometryRayCache.h:23
HOM_ElemPtr
Definition:
HOM_ElemPtr.h:44
Filesystem::rename
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
HOM_Errors.h
intersect
IMATH_CONSTEXPR14 bool intersect(const Line3< T > &line, const Vec3< T > &v0, const Vec3< T > &v1, const Vec3< T > &v2, Vec3< T > &pt, Vec3< T > &barycentric, bool &front) IMATH_NOEXCEPT
Definition:
ImathLineAlgo.h:80
HOM_GeometryRayCache::HOM_GeometryRayCache
HOM_GeometryRayCache()
Definition:
HOM_GeometryRayCache.h:33
HOM
HOM_API HOM_Module & HOM()
HOM
HOM_GeometryRayCache.h
Generated on Thu Nov 21 2024 02:43:42 for HDK by
1.8.6