This interface represents a single object hit by a pick operation. More...
Public Member Functions | |
virtual const char * | get_picked_object_name () const =0 |
Returns the name of the picked object. More... |
|
virtual const Float64_3_struct & | get_world_point () const =0 |
Returns the world point of the pick operation. More... |
|
virtual Uint32 | get_path_length () const =0 |
Returns the length of the path from the picked object to the root group. More... |
|
virtual const char * | get_path (Uint32 index) const =0 |
Returns the name of an element on the path from the picked object to the root group. More... |
|
Additional Inherited Members | |
Public Types inherited from mi::base::Interface_declare< 0x1d9690d1, 0xcde6, 0x432f, 0x8c, 0x2f, 0x60, 0x99, 0x30, 0x6f, 0xb1, 0xae > | |
typedef Interface_declare< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11, IInterface > |
Self |
Own type. More... |
|
typedef Uuid_t< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11 > |
IID |
Declares the interface ID (IID) of this interface. More... |
|
Static Public Member Functions inherited from mi::base::Interface_declare< 0x1d9690d1, 0xcde6, 0x432f, 0x8c, 0x2f, 0x60, 0x99, 0x30, 0x6f, 0xb1, 0xae > | |
static bool | compare_iid (const Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface and of its ancestors. More... |
|
This interface represents a single object hit by a pick operation.
All objects hit by a pick operation are stored in an object of type mi::neuraylib::IPick_array, whose elements are instances of this interface.
|
pure virtual |
Returns the name of an element on the path from the picked object to the root group.
index | Indentifies the element on the the path. The value zero corresponds to the picked object, get_path_length()-1 corresponds to the root group. |
index
, or NULL
if index
is out-of-bounds.
|
pure virtual |
Returns the length of the path from the picked object to the root group.
|
pure virtual |
Returns the name of the picked object.
Identical to get_path(0)
.
|
pure virtual |
Returns the world point of the pick operation.