NVIDIA IndeX API nvidia_logo_transpbg.gif Up
nv::index::IDistributed_data_access_factory Class Referenceabstract

Interface class that exposes distributed data access interfaces for specific scene element. More...

#include <idistributed_data_access.h>

Inherits mi::base::Interface_declare< 0xc77ead83, ... >.

Public Member Functions

virtual IRegular_heightfield_data_accesscreate_regular_heightfield_data_access (mi::neuraylib::Tag_struct scene_element_tag) const =0
 Exposes an interface class that allows accessing distributed heightfield data. More...
 
virtual IDistributed_data_accesscreate_distributed_data_access (const mi::base::Uuid &dataset_type, mi::neuraylib::Tag_struct scene_element_tag) const =0
 Creates an data access functionality specific for a distributed data type. More...
 
template<class T>
IDistributed_data_accesscreate_distributed_data_access (mi::neuraylib::Tag_struct scene_element_tag) const
 Convenience function for creating data access for a given distributed dataset type. More...
 

Detailed Description

Interface class that exposes distributed data access interfaces for specific scene element.

This interface class is exposed through the ISession.

Member Function Documentation

 create_distributed_data_access() [1/2]

virtual IDistributed_data_access * nv::index::IDistributed_data_access_factory::create_distributed_data_access ( const mi::base::Uuid &  dataset_type,
mi::neuraylib::Tag_struct  scene_element_tag 
) const
pure virtual

Creates an data access functionality specific for a distributed data type.

The instance is an implementation of the interface classes derived from IDistributed_data_access. The factory creates these instances based on just the UUID of distributed data class, such as nv::index::ISparse_volume_scene_element.

Parameters
[in]dataset_typeThe UUID of the interface class that represents a distributed dataset.
[in]scene_element_tagThe unique tag that references the scene element of the distributed data type.
Returns
Returns the created distribute data access instance for a specific distribute dataset type and element.

 create_distributed_data_access() [2/2]

template<class T>
IDistributed_data_access * nv::index::IDistributed_data_access_factory::create_distributed_data_access ( mi::neuraylib::Tag_struct  scene_element_tag) const
inline

Convenience function for creating data access for a given distributed dataset type.

The instance is an implementation of the interface classes derived from IDistributed_data_access. The factory creates these instances based on just the UUID of distributed data class, such as nv::index::ISparse_volume_scene_element.

The template parameter defines the distributed dataset type of a large-scale dataset.

//
// Usage:
//
mi::base::Handle<nv::index::IDistributed_data_access> volume_data_access(
access_factory->create_distributed_data_access<nv::index::ISparse_volume_scene_element>(volume_tag));
Interface for sparse volume scene elements.
Definition: isparse_volume_scene_element.h:25
Parameters
[in]scene_element_tagThe unique tag that references the scene element of the distributed data type.
Returns
Returns the created distribute data access instance for a specific distribute dataset type and element.

 create_regular_heightfield_data_access()

virtual IRegular_heightfield_data_access * nv::index::IDistributed_data_access_factory::create_regular_heightfield_data_access ( mi::neuraylib::Tag_struct  scene_element_tag) const
pure virtual

Exposes an interface class that allows accessing distributed heightfield data.

Parameters
[in]scene_element_tagThe unique tag that references the heightfield scene element for which the access interface shall be exposed.
Returns
The interface that enables accessing heightfield data distributed in the cluster environment.
Deprecated:
The IRegular_heightfield interface will be removed in the future

The documentation for this class was generated from the following file: