SOFA API  fdacdac3
Open source framework for multi-physics simuation
sofa::core::visual Namespace Reference

Namespaces

 visualparams
 

Classes

class  DisplayFlags
 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  FlagTreeItem
 
class  Shader
 A basic interface to define a Shader for different system (OpenGL, DirectX, ...). More...
 
class  ShaderElement
 A basic interface to define an element to be used with a Shader. More...
 
struct  tristate
 
class  VisualLoop
 
class  VisualManager
 
class  VisualModel
 An interface which all VisualModel inherit. More...
 
class  VisualParams
 Class gathering parameters used by visual components and by the draw method of each component. Transmitted by visitors. More...
 
class  VisualState
 

Enumerations

enum  { API_OpenGL = 0 , API_OGRE = 1 , API_OpenSceneGraph = 2 , API_OpenSG = 3 }
 The enumeration used to describe potentially supported graphics API. More...
 

Functions

SOFA_CORE_API std::ostream & operator<< (std::ostream &os, const FlagTreeItem &root)
 
SOFA_CORE_API std::istream & operator>> (std::istream &in, FlagTreeItem &root)
 
SOFA_CORE_API std::ostream & operator<< (std::ostream &os, const DisplayFlags &flags)
 
SOFA_CORE_API std::istream & operator>> (std::istream &in, DisplayFlags &flags)
 
DisplayFlags merge_displayFlags (const DisplayFlags &previous, const DisplayFlags &current)
 
DisplayFlags difference_displayFlags (const DisplayFlags &previous, const DisplayFlags &current)
 
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)
 

Variables

template class SOFA_CORE_API VisualState< Vec3Types >
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

The enumeration used to describe potentially supported graphics API.

Enumerator
API_OpenGL 
API_OGRE 
API_OpenSceneGraph 
API_OpenSG 

Function Documentation

◆ difference_displayFlags()

SOFA_CORE_API DisplayFlags sofa::core::visual::difference_displayFlags ( const DisplayFlags previous,
const DisplayFlags current 
)

◆ difference_tristate()

tristate sofa::core::visual::difference_tristate ( const tristate previous,
const tristate current 
)
inline

◆ fusion_tristate()

tristate sofa::core::visual::fusion_tristate ( const tristate lhs,
const tristate rhs 
)
inline

◆ merge_displayFlags()

SOFA_CORE_API DisplayFlags sofa::core::visual::merge_displayFlags ( const DisplayFlags previous,
const DisplayFlags current 
)

◆ merge_tristate()

tristate sofa::core::visual::merge_tristate ( const tristate previous,
const tristate current 
)
inline

◆ operator<<() [1/2]

std::ostream & sofa::core::visual::operator<< ( std::ostream &  os,
const DisplayFlags flags 
)

◆ operator<<() [2/2]

std::ostream & sofa::core::visual::operator<< ( std::ostream &  os,
const FlagTreeItem root 
)

◆ operator>>() [1/2]

std::istream & sofa::core::visual::operator>> ( std::istream &  in,
DisplayFlags flags 
)

◆ operator>>() [2/2]

std::istream & sofa::core::visual::operator>> ( std::istream &  in,
FlagTreeItem root 
)

Variable Documentation

◆ VisualState< Vec3Types >

template class SOFA_CORE_API sofa::core::visual::VisualState< Vec3Types >