ImFusion SDK 4.3
TransferFunctionTissue::KeyPoint Struct Reference

#include <ImFusion/GL/TransferFunctionTissue.h>

Describes a single key point of a tissue. More...

Detailed Description

Describes a single key point of a tissue.

Note
Please mind that when change a key point's position, you have to call sortKeyPoints() on the parent tissue to ensure the correct sorting of key points. Alternatively, you can also call TransferFunctionTissue::moveKeyPoint(), which does that automatically.

Public Member Functions

ID id () const
 Returns the ID of the KeyPoint to uniquely identify it within a TransferFunctionTissue.
 
bool operator== (const KeyPoint &other) const
 

Public Attributes

double position
 absolute position of the key point in TF space
 
vec4 color
 color of this key point
 

The documentation for this struct was generated from the following file:
Search Tab / S to search, Esc to close