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
SOP_Expression.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
*/
8
9
#ifndef __SOP_Expression_h__
10
#define __SOP_Expression_h__
11
12
#include "
SOP_API.h
"
13
14
class
GU_Detail
;
15
16
// Given a GU_Detail, a prim_idx of -1, and a position, find the closest
17
// primitive to that position and return it, the corresponding (u, v)
18
// coordinate, and the distance to that primitive. If prim_idx is not
19
// negative, returns the closest position to a particular primitive.
20
SOP_API
void
SOPfindNearestToPrim
(
const
GU_Detail
&gdp,
int
prim_idx,
21
const
UT_Vector3
&position,
const
GEO_Primitive
*&prim,
22
float
&u,
float
&
v
,
float
&
distance
);
23
24
// Thread specific value that tracks if anything invoked the spare
25
// inputs on forbidden node caches.
26
SOP_API
bool
SOPswapUsesExprInputs
(
bool
newvalue);
27
28
#endif
v
const GLdouble * v
Definition:
glew.h:1391
UT_Vector3T< float >
SOP_API.h
distance
GLsizei GLsizei GLfloat distance
Definition:
glew.h:13640
SOPswapUsesExprInputs
SOP_API bool SOPswapUsesExprInputs(bool newvalue)
GU_Detail
Definition:
GU_Detail.h:148
SOP_API
#define SOP_API
Definition:
SOP_API.h:10
GEO_Primitive
Definition:
GEO_Primitive.h:41
SOPfindNearestToPrim
SOP_API void SOPfindNearestToPrim(const GU_Detail &gdp, int prim_idx, const UT_Vector3 &position, const GEO_Primitive *&prim, float &u, float &v, float &distance)
SOP
SOP_Expression.h
Generated on Fri Mar 5 2021 05:43:37 for HDK by
1.8.6