HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nanovdb::build::Tree< BuildT >::WriteAccessor Struct Reference

#include <GridBuilder.h>

Public Types

using AccT = ValueAccessor< BuildT >
 
using ValueType = typename AccT::ValueType
 
using LeafT = typename AccT::LeafT
 
using Node1 = typename AccT::Node1
 
using Node2 = typename AccT::Node2
 
using RootNodeType = typename AccT::RootNodeType
 

Public Member Functions

 WriteAccessor (RootNodeType &parent, std::mutex &mx)
 
 WriteAccessor (const WriteAccessor &)=delete
 
 WriteAccessor (WriteAccessor &&)=default
 
 ~WriteAccessor ()
 
void merge ()
 
void setValueOn (const Coord &ijk)
 
void setValue (const Coord &ijk, const ValueType &value)
 

Public Attributes

RootNodeTypemParent
 
RootNodeType mRoot
 
AccT mAcc
 
std::mutex & mMutex
 

Detailed Description

template<typename BuildT>
struct nanovdb::build::Tree< BuildT >::WriteAccessor

Definition at line 1847 of file GridBuilder.h.

Member Typedef Documentation

template<typename BuildT >
using nanovdb::build::Tree< BuildT >::WriteAccessor::AccT = ValueAccessor<BuildT>

Definition at line 1849 of file GridBuilder.h.

template<typename BuildT >
using nanovdb::build::Tree< BuildT >::WriteAccessor::LeafT = typename AccT::LeafT

Definition at line 1851 of file GridBuilder.h.

template<typename BuildT >
using nanovdb::build::Tree< BuildT >::WriteAccessor::Node1 = typename AccT::Node1

Definition at line 1852 of file GridBuilder.h.

template<typename BuildT >
using nanovdb::build::Tree< BuildT >::WriteAccessor::Node2 = typename AccT::Node2

Definition at line 1853 of file GridBuilder.h.

template<typename BuildT >
using nanovdb::build::Tree< BuildT >::WriteAccessor::RootNodeType = typename AccT::RootNodeType

Definition at line 1854 of file GridBuilder.h.

template<typename BuildT >
using nanovdb::build::Tree< BuildT >::WriteAccessor::ValueType = typename AccT::ValueType

Definition at line 1850 of file GridBuilder.h.

Constructor & Destructor Documentation

template<typename BuildT >
nanovdb::build::Tree< BuildT >::WriteAccessor::WriteAccessor ( RootNodeType parent,
std::mutex &  mx 
)
inline

Definition at line 1856 of file GridBuilder.h.

template<typename BuildT >
nanovdb::build::Tree< BuildT >::WriteAccessor::WriteAccessor ( const WriteAccessor )
delete
template<typename BuildT >
nanovdb::build::Tree< BuildT >::WriteAccessor::WriteAccessor ( WriteAccessor &&  )
default
template<typename BuildT >
nanovdb::build::Tree< BuildT >::WriteAccessor::~WriteAccessor ( )
inline

Definition at line 1865 of file GridBuilder.h.

Member Function Documentation

template<typename BuildT >
void nanovdb::build::Tree< BuildT >::WriteAccessor::merge ( )
inline

Definition at line 1866 of file GridBuilder.h.

template<typename BuildT >
void nanovdb::build::Tree< BuildT >::WriteAccessor::setValue ( const Coord ijk,
const ValueType value 
)
inline

Definition at line 1873 of file GridBuilder.h.

template<typename BuildT >
void nanovdb::build::Tree< BuildT >::WriteAccessor::setValueOn ( const Coord ijk)
inline

Definition at line 1872 of file GridBuilder.h.

Member Data Documentation

template<typename BuildT >
AccT nanovdb::build::Tree< BuildT >::WriteAccessor::mAcc

Definition at line 1876 of file GridBuilder.h.

template<typename BuildT >
std::mutex& nanovdb::build::Tree< BuildT >::WriteAccessor::mMutex

Definition at line 1877 of file GridBuilder.h.

template<typename BuildT >
RootNodeType& nanovdb::build::Tree< BuildT >::WriteAccessor::mParent

Definition at line 1875 of file GridBuilder.h.

template<typename BuildT >
RootNodeType nanovdb::build::Tree< BuildT >::WriteAccessor::mRoot

Definition at line 1875 of file GridBuilder.h.


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