Cogs.Core
Public Attributes | List of all members
Cogs::Core::SparseOctree::Parameterization Struct Reference

#include <SparseBuildOctree.h>

Public Attributes

ModelHandle model
 The imported model.
 
float tolerance = 0
 ("rvm.tessellate.tolerance") Tolerance used by rvmparser tessellator, in world space units.
 
float remesh = -1.f
 ("rvm.tessellate.remesh") Shapes with bbox cross-section diameter less than this value gets remeshed. Value is relative to tolerance.
 
float remeshGridSpacing = 1.f / 8.f
 ("rvm.tessellate.remeshGridSpacing") Specifies the remesh grid spacing relative to tolerance.
 
int remeshVolumeBlur = 0
 ("rvm.tessellate.remeshVolumeBlur") The number of blur iterations to run on the volumetric scalar field.
 
int remeshTriSoupBlur = 0
 ("rvm.tessellate.remeshTriSoupBlur") The number of blur iterations on 2D rasterized triangle soup before expanding into volume.
 
float remeshSimplification = 0.1f
 ("rvm.tessellate.remeshSimplification") The simplification tolerance to use after remesh surface extraction. Value is relative to tolerance.
 
float featureAngle = 0.7f
 ("rvm.tessellate.featureAngle") Minimum angle in radians between normals of two abutting triangles before their shared edge is considered sharp.
 
float cullDiameter = -1.f
 ("rvm.tessellate.cullDiameter") Cull round shapes with a diameter less than this value. Value is relative to tolerance.
 
float cullGeometry = -1.f
 ("rvm.tessellate.cullGeometryThreshold") Cull geometries smaller than this value. Value is relative to tolerance.
 
float cullLeaf = -1.f
 ("rvm.tessellate.cullLeafThreshold") Cull leaves in the hierarchy where the combined geometry is smaller than this value. Value is relative to tolerance.
 
float simplificationFactor = -1.f
 ("rvm.tessellate.simplificationFactor") If greater than zero, simplify non-parametric shapes within simplificationFactor times tolerance.
 
int simplificationMode = 0
 ("rvm.tessellate.simplificationMode") Specifies which algorithm to use when simplifying.
 
bool isLoaded = false
 Set to true when parameterization has been loaded.
 

Detailed Description

Specifies an input parameterization that can be used as input to a level.

Definition at line 16 of file SparseBuildOctree.h.

Member Data Documentation

◆ cullDiameter

float Cogs::Core::SparseOctree::Parameterization::cullDiameter = -1.f

("rvm.tessellate.cullDiameter") Cull round shapes with a diameter less than this value. Value is relative to tolerance.

Definition at line 26 of file SparseBuildOctree.h.

◆ cullGeometry

float Cogs::Core::SparseOctree::Parameterization::cullGeometry = -1.f

("rvm.tessellate.cullGeometryThreshold") Cull geometries smaller than this value. Value is relative to tolerance.

Definition at line 27 of file SparseBuildOctree.h.

◆ cullLeaf

float Cogs::Core::SparseOctree::Parameterization::cullLeaf = -1.f

("rvm.tessellate.cullLeafThreshold") Cull leaves in the hierarchy where the combined geometry is smaller than this value. Value is relative to tolerance.

Definition at line 28 of file SparseBuildOctree.h.

◆ featureAngle

float Cogs::Core::SparseOctree::Parameterization::featureAngle = 0.7f

("rvm.tessellate.featureAngle") Minimum angle in radians between normals of two abutting triangles before their shared edge is considered sharp.

Definition at line 25 of file SparseBuildOctree.h.

◆ isLoaded

bool Cogs::Core::SparseOctree::Parameterization::isLoaded = false

Set to true when parameterization has been loaded.

Definition at line 31 of file SparseBuildOctree.h.

◆ model

ModelHandle Cogs::Core::SparseOctree::Parameterization::model

The imported model.

Definition at line 18 of file SparseBuildOctree.h.

◆ remesh

float Cogs::Core::SparseOctree::Parameterization::remesh = -1.f

("rvm.tessellate.remesh") Shapes with bbox cross-section diameter less than this value gets remeshed. Value is relative to tolerance.

Definition at line 20 of file SparseBuildOctree.h.

◆ remeshGridSpacing

float Cogs::Core::SparseOctree::Parameterization::remeshGridSpacing = 1.f / 8.f

("rvm.tessellate.remeshGridSpacing") Specifies the remesh grid spacing relative to tolerance.

Definition at line 21 of file SparseBuildOctree.h.

◆ remeshSimplification

float Cogs::Core::SparseOctree::Parameterization::remeshSimplification = 0.1f

("rvm.tessellate.remeshSimplification") The simplification tolerance to use after remesh surface extraction. Value is relative to tolerance.

Definition at line 24 of file SparseBuildOctree.h.

◆ remeshTriSoupBlur

int Cogs::Core::SparseOctree::Parameterization::remeshTriSoupBlur = 0

("rvm.tessellate.remeshTriSoupBlur") The number of blur iterations on 2D rasterized triangle soup before expanding into volume.

Definition at line 23 of file SparseBuildOctree.h.

◆ remeshVolumeBlur

int Cogs::Core::SparseOctree::Parameterization::remeshVolumeBlur = 0

("rvm.tessellate.remeshVolumeBlur") The number of blur iterations to run on the volumetric scalar field.

Definition at line 22 of file SparseBuildOctree.h.

◆ simplificationFactor

float Cogs::Core::SparseOctree::Parameterization::simplificationFactor = -1.f

("rvm.tessellate.simplificationFactor") If greater than zero, simplify non-parametric shapes within simplificationFactor times tolerance.

Definition at line 29 of file SparseBuildOctree.h.

◆ simplificationMode

int Cogs::Core::SparseOctree::Parameterization::simplificationMode = 0

("rvm.tessellate.simplificationMode") Specifies which algorithm to use when simplifying.

Definition at line 30 of file SparseBuildOctree.h.

◆ tolerance

float Cogs::Core::SparseOctree::Parameterization::tolerance = 0

("rvm.tessellate.tolerance") Tolerance used by rvmparser tessellator, in world space units.

Definition at line 19 of file SparseBuildOctree.h.


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