SOFA API  99934cbc
Open source framework for multi-physics simuation
sofa::core::visual::tristate Struct Reference

#include <DisplayFlags.h>

Public Attributes

enum sofa::core::visual::tristate::state_t state
 

Public Member Functions

 tristate (bool b)
 
 tristate ()
 
 tristate (state_t state)
 
 operator bool () const
 
bool operator== (const tristate &t) const
 
bool operator!= (const tristate &t) const
 
bool operator== (const state_t &s) const
 
bool operator!= (const state_t &s) const
 

Friends

tristate fusion_tristate (const tristate &lhs, const tristate &rhs)
 
tristate merge_tristate (const tristate &previous, const tristate &current)
 
tristate difference_tristate (const tristate &previous, const tristate &current)
 

Attribute details

enum sofa::core::visual::tristate::state_t sofa::core::visual::tristate::state

Constructor details

sofa::core::visual::tristate::tristate ( bool  b)
inline
sofa::core::visual::tristate::tristate ( )
inline
sofa::core::visual::tristate::tristate ( state_t  state)
inline

Function details

sofa::core::visual::tristate::operator bool ( ) const
inline
bool sofa::core::visual::tristate::operator!= ( const tristate t) const
inline
bool sofa::core::visual::tristate::operator!= ( const state_t s) const
inline
bool sofa::core::visual::tristate::operator== ( const tristate t) const
inline
bool sofa::core::visual::tristate::operator== ( const state_t s) const
inline

Enum details

Enumerator
false_value 
true_value 
neutral_value 

Related details

tristate difference_tristate ( const tristate previous,
const tristate current 
)
friend
tristate fusion_tristate ( const tristate lhs,
const tristate rhs 
)
friend
tristate merge_tristate ( const tristate previous,
const tristate current 
)
friend