QtSculptor
v1.0.0
|
Struct Voxel (volume element) used to store properties of the elements that will constitute the created sculpture by the sculptor class. It is defined as a struct and contains the necessary properties and information for construction and use of voxels: their color and transparency and whether or not they should be included in the digital model which represents the sculpture generated in the Sculptor class. More...
#include <Voxel.h>
Public Attributes | |
float | r |
float | g |
float | b |
float | a |
bool | isOn = false |
Struct Voxel (volume element) used to store properties of the elements that will constitute the created sculpture by the sculptor class. It is defined as a struct and contains the necessary properties and information for construction and use of voxels: their color and transparency and whether or not they should be included in the digital model which represents the sculpture generated in the Sculptor class.
float Voxel::a |
Color component A (Alpha - Transparency) in RGBA format in a floating point range from 0.0 to 1.0;
float Voxel::b |
Color component B (Blue) in RGBA format in a floating point range from 0.0 to 1.0;
float Voxel::g |
Color component G (Green) in RGBA format in a floating point range from 0.0 to 1.0;
bool Voxel::isOn = false |
Boolean information that will inform whoever accesses the element whether or not it should be included in the digital model of the sculpture. Default: False.
float Voxel::r |
R (Red) color component in RGBA format in a floating point range from 0.0 to 1.0;