AGX Dynamics  2.37.2.0
agxRender::RenderSingleton::Line Class Reference

Defines a Line to be used in DebugRendering. More...

#include <RenderSingleton.h>

Public Member Functions

 Line ()
 
 Line (const agx::Vec3 &start, const agx::Vec3 &end, agx::Real size=0.02f, const agx::Vec4f &color=agx::Vec4f(1, 1, 1, 1))
 
agx::Vec4f & color ()
 
agx::Vec3 & end ()
 
agx::Real & size ()
 
agx::Vec3 & start ()
 

Detailed Description

Defines a Line to be used in DebugRendering.

Definition at line 101 of file RenderSingleton.h.

Constructor & Destructor Documentation

◆ Line() [1/2]

agxRender::RenderSingleton::Line::Line ( )
inline

Definition at line 104 of file RenderSingleton.h.

◆ Line() [2/2]

agxRender::RenderSingleton::Line::Line ( const agx::Vec3 &  start,
const agx::Vec3 &  end,
agx::Real  size = 0.02f,
const agx::Vec4f &  color = agx::Vec4f( 1, 1, 1, 1 ) 
)
inline

Definition at line 105 of file RenderSingleton.h.

Member Function Documentation

◆ color()

agx::Vec4f& agxRender::RenderSingleton::Line::color ( )
inline

Definition at line 117 of file RenderSingleton.h.

References m_size.

◆ end()

agx::Vec3& agxRender::RenderSingleton::Line::end ( )
inline

Definition at line 111 of file RenderSingleton.h.

◆ size()

agx::Real& agxRender::RenderSingleton::Line::size ( )
inline

Definition at line 114 of file RenderSingleton.h.

References m_size.

◆ start()

agx::Vec3& agxRender::RenderSingleton::Line::start ( )
inline

Definition at line 108 of file RenderSingleton.h.


The documentation for this class was generated from the following file: