MeshLib Documentation
Loading...
Searching...
No Matches
MR::ObjectVoxels::VolumeRenderingParams Struct Reference

#include <MRObjectVoxels.h>

Public Types

enum class  ShadingType { None , ValueGradient , AlphaGradient }
 
enum class  LutType { GrayShades , Rainbow , OneColor }
 
enum class  AlphaType { Constant , LinearIncreasing , LinearDecreasing }
 

Public Member Functions

bool operator== (const VolumeRenderingParams &) const =default
 

Public Attributes

FilterType volumeFilterType { FilterType::Linear }
 
enum MR::ObjectVoxels::VolumeRenderingParams::ShadingType None
 
enum MR::ObjectVoxels::VolumeRenderingParams::LutType Rainbow
 
Color oneColor { Color::white() }
 
float min { 0.0f }
 
float max { 0.0f }
 
enum MR::ObjectVoxels::VolumeRenderingParams::AlphaType Constant
 
uint8_t alphaLimit { 10 }
 

Member Enumeration Documentation

◆ AlphaType

Enumerator
Constant 
LinearIncreasing 
LinearDecreasing 

◆ LutType

Enumerator
GrayShades 
Rainbow 
OneColor 

◆ ShadingType

Enumerator
None 
ValueGradient 
AlphaGradient 

Member Function Documentation

◆ operator==()

bool MR::ObjectVoxels::VolumeRenderingParams::operator== ( const VolumeRenderingParams & ) const
default

Member Data Documentation

◆ alphaLimit

uint8_t MR::ObjectVoxels::VolumeRenderingParams::alphaLimit { 10 }

◆ Constant

enum MR::ObjectVoxels::VolumeRenderingParams::AlphaType MR::ObjectVoxels::VolumeRenderingParams::Constant

◆ max

float MR::ObjectVoxels::VolumeRenderingParams::max { 0.0f }

◆ min

float MR::ObjectVoxels::VolumeRenderingParams::min { 0.0f }

◆ None

enum MR::ObjectVoxels::VolumeRenderingParams::ShadingType MR::ObjectVoxels::VolumeRenderingParams::None

◆ oneColor

Color MR::ObjectVoxels::VolumeRenderingParams::oneColor { Color::white() }

◆ Rainbow

enum MR::ObjectVoxels::VolumeRenderingParams::LutType MR::ObjectVoxels::VolumeRenderingParams::Rainbow

◆ volumeFilterType

FilterType MR::ObjectVoxels::VolumeRenderingParams::volumeFilterType { FilterType::Linear }

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