AGXDynamics  2.31.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
agxGL Namespace Reference

This namespace contains OpenGL specific details for connecting OpenCL/OpenGL. More...

Classes

class  Buffer
 
class  Camera
 
class  CapabilityState
 
class  DepthMaskState
 
class  Device
 
class  FragmentShader
 
class  GeometryShader
 
class  Kernel
 
class  Lights
 Container class for lights that is used for synchronizing light data with shaders, such as particle sprite shaders. More...
 
class  LineWidthState
 
class  PointSizeState
 
class  PolygonModeState
 
struct  RenderBoxIndices
 
struct  RenderBoxNormals
 
struct  RenderBoxOutlines
 
struct  RenderBoxVertices
 
class  Shader
 
class  State
 
class  SyncTag
 
class  Task
 
class  TexEnvState
 
class  VertexShader
 

Typedefs

typedef agx::observer_ptr
< const Buffer > 
BufferConstObserver
 
typedef agx::ref_ptr< const
Buffer > 
BufferConstRef
 
typedef agx::observer_ptr< Buffer > BufferObserver
 
typedef agx::ref_ptr< Buffer > BufferRef
 
typedef agx::observer_ptr
< const Camera > 
CameraConstObserver
 
typedef agx::ref_ptr< const
Camera > 
CameraConstRef
 
typedef agx::observer_ptr< Camera > CameraObserver
 
typedef agx::ref_ptr< Camera > CameraRef
 
typedef agx::observer_ptr
< const Device > 
DeviceConstObserver
 
typedef agx::ref_ptr< const
Device > 
DeviceConstRef
 
typedef agx::observer_ptr< Device > DeviceObserver
 
typedef agx::ref_ptr< Device > DeviceRef
 
typedef agx::observer_ptr
< const FragmentShader > 
FragmentShaderConstObserver
 
typedef agx::ref_ptr< const
FragmentShader > 
FragmentShaderConstRef
 
typedef agx::observer_ptr
< FragmentShader > 
FragmentShaderObserver
 
typedef agx::ref_ptr
< FragmentShader > 
FragmentShaderRef
 
typedef agx::observer_ptr
< const GeometryShader > 
GeometryShaderConstObserver
 
typedef agx::ref_ptr< const
GeometryShader > 
GeometryShaderConstRef
 
typedef agx::observer_ptr
< GeometryShader > 
GeometryShaderObserver
 
typedef agx::ref_ptr
< GeometryShader > 
GeometryShaderRef
 
typedef agx::observer_ptr
< const Kernel > 
KernelConstObserver
 
typedef agx::ref_ptr< const
Kernel > 
KernelConstRef
 
typedef agx::observer_ptr< Kernel > KernelObserver
 
typedef agx::ref_ptr< Kernel > KernelRef
 
typedef agx::observer_ptr
< const Lights > 
LightsConstObserver
 
typedef agx::ref_ptr< const
Lights > 
LightsConstRef
 
typedef agx::observer_ptr< Lights > LightsObserver
 
typedef agx::ref_ptr< Lights > LightsRef
 
typedef agx::observer_ptr
< const State > 
StateConstObserver
 
typedef agx::ref_ptr< const State > StateConstRef
 
typedef agx::observer_ptr< State > StateObserver
 
typedef agx::ref_ptr< State > StateRef
 
typedef agx::observer_ptr
< const VertexShader > 
VertexShaderConstObserver
 
typedef agx::ref_ptr< const
VertexShader > 
VertexShaderConstRef
 
typedef agx::observer_ptr
< VertexShader > 
VertexShaderObserver
 
typedef agx::ref_ptr
< VertexShader > 
VertexShaderRef
 

Functions

agx::UInt AGXPHYSICS_EXPORT generateBoxLines (agx::Vec3f min, agx::Vec3f max, agx::Line32 *lines, agx::UInt lineIndex)
 
agx::UInt AGXPHYSICS_EXPORT generateBoxLines (const agx::Vec3f &min, const agx::Vec3f &max, const agx::AffineMatrix4x4f &transform, agx::Line32 *lines, agx::UInt lineIndex)
 
ContextHandle AGXCORE_EXPORT getCurrentContext ()
 
bool AGXCORE_EXPORT hasContext ()
 
void AGXCORE_EXPORT init ()
 
std::ostream & operator<< (std::ostream &output, const RenderBoxVertices &)
 
std::ostream & operator<< (std::ostream &output, const RenderBoxIndices &)
 
std::ostream & operator<< (std::ostream &output, const RenderBoxNormals &)
 
std::ostream & operator<< (std::ostream &output, const RenderBoxOutlines &)
 
void AGXPHYSICS_EXPORT renderBox (const agx::AffineMatrix4x4 &transform, const agx::Vec3 &halfLengths, const agx::Vec4 &color=agx::Vec4(1))
 
void AGXPHYSICS_EXPORT renderBox (const agx::Vec3 &halfLengths, const agx::Vec4 &color=agx::Vec4(1))
 
void AGXPHYSICS_EXPORT renderBox (const agx::Vec3 &min, const agx::Vec3 &max, const agx::Vec4 &color=agx::Vec4(1))
 
void AGXPHYSICS_EXPORT renderCapsule (const agx::AffineMatrix4x4 &transform, agx::Real radius, agx::Real height, const agx::Vec4 &color=agx::Vec4(1))
 
void AGXPHYSICS_EXPORT renderCapsule (agx::Real radius, agx::Real height, const agx::Vec4 &color=agx::Vec4(1))
 
void AGXPHYSICS_EXPORT renderCylinder (const agx::AffineMatrix4x4 &transform, agx::Real radius, agx::Real height, const agx::Vec4 &color=agx::Vec4(1))
 
void AGXPHYSICS_EXPORT renderCylinder (agx::Real radius, agx::Real height, const agx::Vec4 &color=agx::Vec4(1))
 
void AGXPHYSICS_EXPORT renderLine (const agx::AffineMatrix4x4 &transform, const agx::Vec3 &start, const agx::Vec3 &end, const agx::Vec4 &color=agx::Vec4(1))
 
void AGXPHYSICS_EXPORT renderLine (const agx::Vec3 &start, const agx::Vec3 &end, const agx::Vec4 &color=agx::Vec4(1))
 
void AGXPHYSICS_EXPORT renderPlane (const agx::AffineMatrix4x4 &trans, const agx::Vec3 &normal, agx::Real distance, const agx::Vec4 &color)
 
void AGXPHYSICS_EXPORT renderSphere (const agx::AffineMatrix4x4 &transform, agx::Real radius, const agx::Vec4 &color=agx::Vec4(1))
 
void AGXPHYSICS_EXPORT renderSphere (agx::Real radius, const agx::Vec4 &color=agx::Vec4(1))
 
void AGXCORE_EXPORT setCurrentContext (ContextHandle context)
 

Variables

AGXCORE_EXPORT agx::Event initEvent
 

Detailed Description

This namespace contains OpenGL specific details for connecting OpenCL/OpenGL.

Typedef Documentation

Definition at line 118 of file OpenGL.h.

Definition at line 118 of file OpenGL.h.

Definition at line 118 of file OpenGL.h.

Definition at line 118 of file OpenGL.h.

Definition at line 185 of file Camera.h.

Definition at line 185 of file Camera.h.

Definition at line 185 of file Camera.h.

Definition at line 185 of file Camera.h.

Definition at line 117 of file OpenGL.h.

Definition at line 117 of file OpenGL.h.

Definition at line 117 of file OpenGL.h.

Definition at line 117 of file OpenGL.h.

Definition at line 121 of file OpenGL.h.

Definition at line 121 of file OpenGL.h.

Definition at line 121 of file OpenGL.h.

Definition at line 119 of file OpenGL.h.

Definition at line 119 of file OpenGL.h.

Definition at line 119 of file OpenGL.h.

Definition at line 123 of file OpenGL.h.

Definition at line 123 of file OpenGL.h.

Definition at line 123 of file OpenGL.h.

Definition at line 123 of file OpenGL.h.

Definition at line 55 of file Lights.h.

Definition at line 55 of file Lights.h.

Definition at line 55 of file Lights.h.

Definition at line 55 of file Lights.h.

Definition at line 122 of file OpenGL.h.

Definition at line 122 of file OpenGL.h.

Definition at line 122 of file OpenGL.h.

Definition at line 122 of file OpenGL.h.

Definition at line 120 of file OpenGL.h.

Definition at line 120 of file OpenGL.h.

Definition at line 120 of file OpenGL.h.

Definition at line 120 of file OpenGL.h.

Function Documentation

agx::UInt AGXPHYSICS_EXPORT agxGL::generateBoxLines ( agx::Vec3f  min,
agx::Vec3f  max,
agx::Line32 *  lines,
agx::UInt  lineIndex 
)
agx::UInt AGXPHYSICS_EXPORT agxGL::generateBoxLines ( const agx::Vec3f &  min,
const agx::Vec3f &  max,
const agx::AffineMatrix4x4f &  transform,
agx::Line32 *  lines,
agx::UInt  lineIndex 
)
ContextHandle AGXCORE_EXPORT agxGL::getCurrentContext ( )
bool AGXCORE_EXPORT agxGL::hasContext ( )
void AGXCORE_EXPORT agxGL::init ( )
std::ostream& agxGL::operator<< ( std::ostream &  output,
const RenderBoxVertices &   
)

Definition at line 53 of file RenderBox.h.

std::ostream& agxGL::operator<< ( std::ostream &  output,
const RenderBoxIndices &   
)

Definition at line 59 of file RenderBox.h.

std::ostream& agxGL::operator<< ( std::ostream &  output,
const RenderBoxNormals &   
)

Definition at line 65 of file RenderBox.h.

std::ostream& agxGL::operator<< ( std::ostream &  output,
const RenderBoxOutlines &   
)

Definition at line 71 of file RenderBox.h.

void AGXPHYSICS_EXPORT agxGL::renderBox ( const agx::AffineMatrix4x4 &  transform,
const agx::Vec3 &  halfLengths,
const agx::Vec4 &  color = agx::Vec4(1) 
)
void AGXPHYSICS_EXPORT agxGL::renderBox ( const agx::Vec3 &  halfLengths,
const agx::Vec4 &  color = agx::Vec4(1) 
)
void AGXPHYSICS_EXPORT agxGL::renderBox ( const agx::Vec3 &  min,
const agx::Vec3 &  max,
const agx::Vec4 &  color = agx::Vec4(1) 
)
void AGXPHYSICS_EXPORT agxGL::renderCapsule ( const agx::AffineMatrix4x4 &  transform,
agx::Real  radius,
agx::Real  height,
const agx::Vec4 &  color = agx::Vec4(1) 
)
void AGXPHYSICS_EXPORT agxGL::renderCapsule ( agx::Real  radius,
agx::Real  height,
const agx::Vec4 &  color = agx::Vec4(1) 
)
void AGXPHYSICS_EXPORT agxGL::renderCylinder ( const agx::AffineMatrix4x4 &  transform,
agx::Real  radius,
agx::Real  height,
const agx::Vec4 &  color = agx::Vec4(1) 
)
void AGXPHYSICS_EXPORT agxGL::renderCylinder ( agx::Real  radius,
agx::Real  height,
const agx::Vec4 &  color = agx::Vec4(1) 
)
void AGXPHYSICS_EXPORT agxGL::renderLine ( const agx::AffineMatrix4x4 &  transform,
const agx::Vec3 &  start,
const agx::Vec3 &  end,
const agx::Vec4 &  color = agx::Vec4(1) 
)
void AGXPHYSICS_EXPORT agxGL::renderLine ( const agx::Vec3 &  start,
const agx::Vec3 &  end,
const agx::Vec4 &  color = agx::Vec4(1) 
)
void AGXPHYSICS_EXPORT agxGL::renderPlane ( const agx::AffineMatrix4x4 &  trans,
const agx::Vec3 &  normal,
agx::Real  distance,
const agx::Vec4 &  color 
)
void AGXPHYSICS_EXPORT agxGL::renderSphere ( const agx::AffineMatrix4x4 &  transform,
agx::Real  radius,
const agx::Vec4 &  color = agx::Vec4(1) 
)
void AGXPHYSICS_EXPORT agxGL::renderSphere ( agx::Real  radius,
const agx::Vec4 &  color = agx::Vec4(1) 
)
void AGXCORE_EXPORT agxGL::setCurrentContext ( ContextHandle  context)

Variable Documentation

AGXCORE_EXPORT agx::Event agxGL::initEvent