The interface class exposes intersection points that can be used, for instance, to texture or shade the surface of geometry. More...
#include <idistributed_compute_destination_buffer.h>
Inherits mi::base::Interface_declare< 0xd985cb6a, ... >.
Public Member Functions | |
virtual const mi::math::Vector_struct< mi::Float32, 3 > * | generate_intersection_points (mi::Uint32 &nb_points)=0 |
The interface method computes the intersections of rays with the geometry and returns a buffer of all intersection points to a user-defined computing class. More... | |
The interface class exposes intersection points that can be used, for instance, to texture or shade the surface of geometry.
The IndeX library implements the serializable interface, which enables user-defined classes to distribute an instance of the class to different hosts in the cluster environment using DiCE's serialization and deserialization mechanism. Furthermore, the interface class exposes the intersections points through the interface method generate_intersection_points(). The internal implementation of this method creates the intersection points on the fly whenever the method is called. That is, all the intersection points never need to be communicated to nodes in the cluster. Instead, the instance of the interface class itself is sent to compute the intersection points on the remote machines on request.
|
pure virtual |
The interface method computes the intersections of rays with the geometry and returns a buffer of all intersection points to a user-defined computing class.
The renderer computes the intersection points based on the present viewing parameters so that all intersection points match the internal rendering.
[out] | nb_points | The number of intersection points returned by the interface call. |