Katana Plug-in APIs 0.1
Classes | Typedefs | Functions

Picking Types

Classes

class  Foundry::Katana::ViewerAPI::PickedAttrsMap

Typedefs

typedef uint64_t Foundry::Katana::ViewerAPI::FnPickId
 An integer that identifies a pickable object.

Functions

void Foundry::Katana::ViewerAPI::pickIdToColor (FnPickId pickId, Vec4i &color)
 Updates the given color with values that represent the given pick ID.

Typedef Documentation

An integer that identifies a pickable object.

See pickIdToColor() to see how this can be converted into an ID color that can be used in Viewport::pickerDraw() and ViewportLayer::pickerDraw().


Function Documentation

void Foundry::Katana::ViewerAPI::pickIdToColor ( FnPickId  pickId,
Vec4i &  color 
) [inline]

Updates the given color with values that represent the given pick ID.

Given a pick ID, this returns a color that should be used when rendering the IDs for picking in the functions Viewport::pickerDraw() and ViewportLayer::pickerDraw(). Since this is a 64bit ID, this color will refer only to its first 32 lower bits.

 All Classes Functions Variables Typedefs Enumerations Enumerator