Cortex
10.0.0-a4
|
#include <PrimitiveEvaluator.h>
Public Member Functions | |
IE_CORE_DECLAREMEMBERPTR (Result) | |
virtual Imath::V3f | point () const =0 |
Returns the point computed by the query. | |
virtual Imath::V3f | normal () const =0 |
virtual Imath::V2f | uv () const =0 |
Returns the UV from the result point. | |
virtual Imath::V3f | uTangent () const =0 |
Return the surface tangent along U. | |
virtual Imath::V3f | vTangent () const =0 |
Return the surface tangent along U. | |
Primitive Variable Functions | |
These functions evaluate the given primitive variable using the appropriate interpolation type. Passing an invalid primvar leads to undefined behaviour, but will most likely crash the application. | |
virtual Imath::V3f | vectorPrimVar (const PrimitiveVariable &pv) const =0 |
virtual Imath::V2f | vec2PrimVar (const PrimitiveVariable &pv) const =0 |
virtual float | floatPrimVar (const PrimitiveVariable &pv) const =0 |
virtual int | intPrimVar (const PrimitiveVariable &pv) const =0 |
virtual const std::string & | stringPrimVar (const PrimitiveVariable &pv) const =0 |
virtual Imath::Color3f | colorPrimVar (const PrimitiveVariable &pv) const =0 |
virtual half | halfPrimVar (const PrimitiveVariable &pv) const =0 |
![]() | |
IE_CORE_DECLAREMEMBERPTR (RefCounted) | |
void | addRef () const |
Add a reference to the current object. | |
void | removeRef () const |
Remove a reference from the current object. | |
RefCount | refCount () const |
Returns the current reference count. | |
Additional Inherited Members | |
![]() | |
typedef size_t | RefCount |
An interface defining the possible results returned from a query. Attempting to read back the results of a failed query will yield undefined behaviour.
|
pure virtual |
Returns the geometric normal. Shading normals should be evaluated via an appropriate primitive variable.