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

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  DrawTool
 Utility class to perform debug drawing. More...
 
class  DrawToolGL
 
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...
 

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

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)
 

Enumeration Type Documentation

anonymous enum

The enumeration used to describe potentially supported graphics API.

Enumerator
API_OpenGL 
API_OGRE 
API_OpenSceneGraph 
API_OpenSG 

Function Documentation

SOFA_CORE_API DisplayFlags sofa::core::visual::difference_displayFlags ( const DisplayFlags previous,
const DisplayFlags current 
)
tristate sofa::core::visual::difference_tristate ( const tristate previous,
const tristate current 
)
inline
tristate sofa::core::visual::fusion_tristate ( const tristate lhs,
const tristate rhs 
)
inline
SOFA_CORE_API DisplayFlags sofa::core::visual::merge_displayFlags ( const DisplayFlags previous,
const DisplayFlags current 
)
tristate sofa::core::visual::merge_tristate ( const tristate previous,
const tristate current 
)
inline