SOFA API  7dc68564
Open source framework for multi-physics simuation
sofa::component::visual Namespace Reference

Classes

class  BaseCamera
 
class  Camera
 
class  InteractiveCamera
 
class  LineAxis
 
class  RecordedCamera
 
class  TrailRenderer
 
class  Visual3DText
 Draw camera-oriented (billboard) 3D text. More...
 
class  VisualGrid
 
class  VisualModelImpl
 Abstract class which implements partially VisualModel. More...
 
class  VisualStyle
 VisualStyle component controls the DisplayFlags state embedded in the VisualParams for the current subgraph. It merges the DisplayFlags conveyed by the VisualParams with its own DisplayFlags. More...
 
class  VisualTransform
 

Typedefs

typedef sofa::core::visual::VisualState< defaulttype::Vec3TypesVec3State
 

Functions

template<class Real >
bool glhUnProjectf (Real winx, Real winy, Real winz, Real *modelview, Real *projection, const core::visual::VisualParams::Viewport &viewport, Real *objectCoordinate)
 
void BaseCameraXMLExportSingleParameter (tinyxml2::XMLElement *root, core::objectmodel::BaseData &data, const std::string &comment)
 
bool BaseCameraXMLImportSingleParameter (tinyxml2::XMLElement *root, core::objectmodel::BaseData &data, BaseCamera *c)
 
void registerCamera (sofa::core::ObjectFactory *factory)
 
void registerInteractiveCamera (sofa::core::ObjectFactory *factory)
 
void registerLineAxis (sofa::core::ObjectFactory *factory)
 
void registerRecordedCamera (sofa::core::ObjectFactory *factory)
 
void registerTrailRenderer (sofa::core::ObjectFactory *factory)
 
void registerVisual3DText (sofa::core::ObjectFactory *factory)
 
void registerVisualGrid (sofa::core::ObjectFactory *factory)
 
void registerVisualModelImpl (sofa::core::ObjectFactory *factory)
 
void registerVisualStyle (sofa::core::ObjectFactory *factory)
 
void registerVisualTransform (sofa::core::ObjectFactory *factory)
 
SOFA_EXPORT_DYNAMIC_LIBRARY void initExternalModule ()
 
SOFA_EXPORT_DYNAMIC_LIBRARY const chargetModuleName ()
 
SOFA_EXPORT_DYNAMIC_LIBRARY const chargetModuleVersion ()
 
SOFA_EXPORT_DYNAMIC_LIBRARY void registerObjects (sofa::core::ObjectFactory *factory)
 
void init ()
 
helper::WriteAccessor< sofa::core::visual::DisplayFlagsaddVisualStyle (simulation::Node::SPtr node)
 
SOFA_COMPONENT_VISUAL_API helper::WriteAccessor< sofa::core::visual::DisplayFlagsaddVisualStyle (simulation::NodeSPtr node)
 

Typedef Documentation

◆ Vec3State

Function Documentation

◆ addVisualStyle() [1/2]

helper::WriteAccessor<sofa::core::visual::DisplayFlags> sofa::component::visual::addVisualStyle ( simulation::Node::SPtr  node)

◆ addVisualStyle() [2/2]

SOFA_COMPONENT_VISUAL_API helper::WriteAccessor<sofa::core::visual::DisplayFlags> sofa::component::visual::addVisualStyle ( simulation::NodeSPtr  node)

◆ BaseCameraXMLExportSingleParameter()

void sofa::component::visual::BaseCameraXMLExportSingleParameter ( tinyxml2::XMLElement *  root,
core::objectmodel::BaseData data,
const std::string &  comment 
)

◆ BaseCameraXMLImportSingleParameter()

bool sofa::component::visual::BaseCameraXMLImportSingleParameter ( tinyxml2::XMLElement *  root,
core::objectmodel::BaseData data,
BaseCamera c 
)

◆ getModuleName()

const char * sofa::component::visual::getModuleName ( )

◆ getModuleVersion()

const char * sofa::component::visual::getModuleVersion ( )

◆ glhUnProjectf()

template<class Real >
bool sofa::component::visual::glhUnProjectf ( Real  winx,
Real  winy,
Real  winz,
Real *  modelview,
Real *  projection,
const core::visual::VisualParams::Viewport viewport,
Real *  objectCoordinate 
)

◆ init()

SOFA_COMPONENT_VISUAL_API void sofa::component::visual::init ( )

◆ initExternalModule()

void sofa::component::visual::initExternalModule ( )

◆ registerCamera()

void sofa::component::visual::registerCamera ( sofa::core::ObjectFactory factory)

◆ registerInteractiveCamera()

void sofa::component::visual::registerInteractiveCamera ( sofa::core::ObjectFactory factory)

◆ registerLineAxis()

void sofa::component::visual::registerLineAxis ( sofa::core::ObjectFactory factory)

◆ registerObjects()

void sofa::component::visual::registerObjects ( sofa::core::ObjectFactory factory)

◆ registerRecordedCamera()

void sofa::component::visual::registerRecordedCamera ( sofa::core::ObjectFactory factory)

◆ registerTrailRenderer()

void sofa::component::visual::registerTrailRenderer ( sofa::core::ObjectFactory factory)

◆ registerVisual3DText()

void sofa::component::visual::registerVisual3DText ( sofa::core::ObjectFactory factory)

◆ registerVisualGrid()

void sofa::component::visual::registerVisualGrid ( sofa::core::ObjectFactory factory)

◆ registerVisualModelImpl()

void sofa::component::visual::registerVisualModelImpl ( sofa::core::ObjectFactory factory)

◆ registerVisualStyle()

void sofa::component::visual::registerVisualStyle ( sofa::core::ObjectFactory factory)

◆ registerVisualTransform()

void sofa::component::visual::registerVisualTransform ( sofa::core::ObjectFactory factory)