optoctreeparser
Loading...
Searching...
No Matches
optoctreeparser::OptocNode Struct Reference

One Optocnode. The smallest unit of information in an Optoctree. More...

#include <base_struct/base_struct.hpp>

Public Member Functions

bool operator== (const OptocNode &other) const =default
 

Public Attributes

byte material_type
 Type of material. For example, 0 - empty, 37 - sand.
 
byte signed_distance
 
uint16_t first_child_node
 

Detailed Description

One Optocnode. The smallest unit of information in an Optoctree.

Member Function Documentation

◆ operator==()

bool optoctreeparser::OptocNode::operator== ( const OptocNode other) const
default

Member Data Documentation

◆ first_child_node

uint16_t optoctreeparser::OptocNode::first_child_node

Index of first child node. If it = 0 → it is a sheet; otherwise — starting from this index, there are 8 children

◆ material_type

byte optoctreeparser::OptocNode::material_type

Type of material. For example, 0 - empty, 37 - sand.

◆ signed_distance

byte optoctreeparser::OptocNode::signed_distance

Signed distance to the isosurface. Values 1–125 = above surface, 127–252 = below, 0 = completely solid, if material ≠ 0


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