Controlling the technique used for transparency in the view. More...
Public Types | |
enum | Mode { AUTO, DEPTH_PEELING, DEPTH_PEELING_FRONT, WEIGHTED_AVERAGE, SIMPLE } |
List of available transparency modes. More... | |
Public Member Functions | |
TransparencyMode () | |
Constructs an empty object. More... | |
TransparencyMode (const TransparencyMode &other) | |
Constructs a background object as a copy of other. More... | |
TransparencyMode & | operator= (const TransparencyMode &rhs) |
Assigns rhs to this background and returns a reference to this background. More... | |
Mode | mode () const |
Returns the transparency mode. More... | |
unsigned int | depthPeelingNumberOfPasses () const |
Returns number of depth peeling passes. More... | |
Static Public Member Functions | |
static TransparencyMode | createDepthPeeling (unsigned int numPasses) |
Creates depth peeling with numPasses number of passes. More... | |
static TransparencyMode | createDepthPeelingFront (unsigned int numPasses) |
Creates front depth peeling with numPasses number of passes. More... | |
static TransparencyMode | createWeightedAverage () |
Creates weighted average transparency. More... | |
static TransparencyMode | createSimple () |
Creates simple transparency. More... | |
static TransparencyMode | createAuto () |
Creates automatic transparency. More... | |
Controlling the technique used for transparency in the view.
The transparency mode is set from View::setTransparencyMode().
cee::vis::TransparencyMode::TransparencyMode | ( | ) |
Constructs an empty object.
cee::vis::TransparencyMode::TransparencyMode | ( | const TransparencyMode & | other | ) |
Constructs a background object as a copy of other.
|
static |
Creates automatic transparency.
|
static |
Creates depth peeling with numPasses number of passes.
|
static |
Creates front depth peeling with numPasses number of passes.
|
static |
Creates simple transparency.
|
static |
Creates weighted average transparency.
unsigned int cee::vis::TransparencyMode::depthPeelingNumberOfPasses | ( | ) | const |
Returns number of depth peeling passes.
TransparencyMode::Mode cee::vis::TransparencyMode::mode | ( | ) | const |
Returns the transparency mode.
TransparencyMode & cee::vis::TransparencyMode::operator= | ( | const TransparencyMode & | rhs | ) |
Assigns rhs to this background and returns a reference to this background.