neuray API Programmer's Manual

ipick_result.h File Reference

Description

Result of a pick operation (single hit).

Code Example

ipick_result.h

‎//*****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//*****************************************************************************
//*****************************************************************************

#ifndef MI_NEURAYLIB_IPICK_RESULT_H
#define MI_NEURAYLIB_IPICK_RESULT_H

#include <mi/base/interface_declare.h>
#include <mi/neuraylib/typedefs.h>

namespace mi {

namespace neuraylib {





class IPick_result : public
    mi::base::Interface_declare<0x1d9690d1,0xcde6,0x432f,0x8c,0x2f,0x60,0x99,0x30,0x6f,0xb1,0xae>
{
public:
    virtual const char* get_picked_object_name() const = 0;

    virtual const Float64_3_struct& get_world_point() const = 0;

    virtual Uint32 
               get_path_length() const = 0;

    virtual const char* get_path( Uint32 index) const = 0;
};
 // end group mi_neuray_rendering

} // namespace neuraylib

} // namespace mi

#endif // MI_NEURAYLIB_IPICK_RESULT_H

Namespaces

namespace 
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...
namespace 
Namespace for the neuray API. More...

Classes

class 
This interface represents a single object hit by a pick operation. More...