#include <DisplayFlags.h>
Class which describes the display of components in a hierarchical fashion DisplayFlags are conveyed by the VisualParams, and therefore are accessible in a read only fashion inside a Component draw method. A component can tell if it should draw something on the display by looking at the current state of the displayFlags through the VisualParams parameter. DisplayFlags are embeddable inside a Data and can therefore read/write their state from a stream. More...
Class which describes the display of components in a hierarchical fashion DisplayFlags are conveyed by the VisualParams, and therefore are accessible in a read only fashion inside a Component draw method. A component can tell if it should draw something on the display by looking at the current state of the displayFlags through the VisualParams parameter. DisplayFlags are embeddable inside a Data and can therefore read/write their state from a stream.
root |–all | |–visual | | |–visualmodels | |–behavior | | |–behaviormodels | | |–forcefields | | |–interactionforcefields | |–collision | | |–collisionmodels | | |–boundingcollisionmodels | |–mapping | | |–visualmappings | | |–mechanicalmappings |–options | |–advancedrendering | |–wireframe | |–normals
Friends | |
SOFA_CORE_API friend std::ostream & | operator<< (std::ostream &os, const DisplayFlags &flags) |
SOFA_CORE_API friend std::istream & | operator>> (std::istream &in, DisplayFlags &flags) |
SOFA_CORE_API DisplayFlags | merge_displayFlags (const DisplayFlags &previous, const DisplayFlags ¤t) |
SOFA_CORE_API DisplayFlags | difference_displayFlags (const DisplayFlags &parent, const DisplayFlags &child) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
sofa::core::visual::DisplayFlags::DisplayFlags | ( | ) |
sofa::core::visual::DisplayFlags::DisplayFlags | ( | const DisplayFlags & | other | ) |
sofa::type::vector< std::string > sofa::core::visual::DisplayFlags::getAllFlagsLabels | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
bool sofa::core::visual::DisplayFlags::isNeutral | ( | ) | const |
DisplayFlags & sofa::core::visual::DisplayFlags::operator= | ( | const DisplayFlags & | other | ) |
std::istream & sofa::core::visual::DisplayFlags::read | ( | std::istream & | in, |
const std::function< void(std::string)> & | unknownFlagFunction, | ||
const std::function< void(std::string, std::string)> & | incorrectLetterCaseFunction | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |