AGXDynamics  2.31.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
agxFn::Physics::Geometry::Rendering Namespace Reference

Functions

void GenerateGeometryOutlines (const agx::RangeJob &job, const agxData::Array< agx::AffineMatrix4x4 > &transformBuffer, agxData::Array< agx::Physics::Geometry::ShapePtr > &shapeBuffer, const agx::Vec4 &color, const agx::Matrix4x4 &cameraProjectionViewMatrix, agx::Physics::Geometry::LineData &outline)
 Function: Physics.Geometry.Rendering.GenerateGeometryOutlines Implementation: (default) More...
 
void GenerateGeometryTriangles (const agx::RangeJob &job, const agxData::Array< agx::AffineMatrix4x4 > &transformBuffer, agxData::Array< agx::Physics::Geometry::ShapePtr > &shapeBuffer, const agx::Vec4 &color, const agx::Matrix4x4 &cameraProjectionViewMatrix, agx::Physics::Geometry::TriangleData &triangle)
 Function: Physics.Geometry.Rendering.GenerateGeometryTriangles Implementation: (default) More...
 
void GenerateRenderBoxesFromCollisionBoxes (const agx::RangeJob &job, const agxData::Array< agx::AffineMatrix4x4 > &transforms, const agxData::Array< agx::Vec3 > &halfExtentsBuffer, agxData::Array< agxGL::RenderBoxVertices > &vertexBuffer, agxData::Array< agxGL::RenderBoxNormals > &normalBuffer)
 Function: Physics.Geometry.Rendering.GenerateRenderBoxesFromCollisionBoxes Implementation: (default) More...
 
void GenerateRenderBoxOutlines (const agx::RangeJob &job, agxData::Array< agxGL::RenderBoxOutlines > &outlinesBuffer)
 Function: Physics.Geometry.Rendering.GenerateRenderBoxOutlines Implementation: (default) More...
 
void RenderBounds (const agxData::Array< agx::AffineMatrix4x4 > &transformBuffer, const agxData::Array< agx::Bound3 > &geometryBoundBuffer, const agx::Vec4 &geometryColor)
 Function: Physics.Geometry.Rendering.RenderBounds Implementation: (default) More...
 
void RenderGeometries (const agxData::Array< agx::AffineMatrix4x4 > &transformBuffer, agxData::Array< agx::Physics::Geometry::ShapePtr > &shapeBuffer, const agx::Vec4 &fillColor, const agx::Vec4 &outlineColor)
 Function: Physics.Geometry.Rendering.RenderGeometries Implementation: (default) More...
 
void SortTriangles (const agxData::Array< agx::Real > &cameraDistanceBuffer, agxData::Array< agx::UInt32 > &triangleIndicesBuffer)
 Function: Physics.Geometry.Rendering.SortTriangles Implementation: (default) More...
 

Function Documentation

void agxFn::Physics::Geometry::Rendering::GenerateGeometryOutlines ( const agx::RangeJob &  job,
const agxData::Array< agx::AffineMatrix4x4 > &  transformBuffer,
agxData::Array< agx::Physics::Geometry::ShapePtr > &  shapeBuffer,
const agx::Vec4 &  color,
const agx::Matrix4x4 &  cameraProjectionViewMatrix,
agx::Physics::Geometry::LineData &  outline 
)

Function: Physics.Geometry.Rendering.GenerateGeometryOutlines Implementation: (default)

Parameters
jobThe range job specifying what part of the data set to process
transformBuffer
shapeBuffer
color
cameraProjectionViewMatrix
outline
void agxFn::Physics::Geometry::Rendering::GenerateGeometryTriangles ( const agx::RangeJob &  job,
const agxData::Array< agx::AffineMatrix4x4 > &  transformBuffer,
agxData::Array< agx::Physics::Geometry::ShapePtr > &  shapeBuffer,
const agx::Vec4 &  color,
const agx::Matrix4x4 &  cameraProjectionViewMatrix,
agx::Physics::Geometry::TriangleData &  triangle 
)

Function: Physics.Geometry.Rendering.GenerateGeometryTriangles Implementation: (default)

Parameters
jobThe range job specifying what part of the data set to process
transformBuffer
shapeBuffer
color
cameraProjectionViewMatrix
triangle
void agxFn::Physics::Geometry::Rendering::GenerateRenderBoxesFromCollisionBoxes ( const agx::RangeJob &  job,
const agxData::Array< agx::AffineMatrix4x4 > &  transforms,
const agxData::Array< agx::Vec3 > &  halfExtentsBuffer,
agxData::Array< agxGL::RenderBoxVertices > &  vertexBuffer,
agxData::Array< agxGL::RenderBoxNormals > &  normalBuffer 
)

Function: Physics.Geometry.Rendering.GenerateRenderBoxesFromCollisionBoxes Implementation: (default)

Parameters
jobThe range job specifying what part of the data set to process
transforms
halfExtentsBuffer
vertexBuffer
normalBuffer
void agxFn::Physics::Geometry::Rendering::GenerateRenderBoxOutlines ( const agx::RangeJob &  job,
agxData::Array< agxGL::RenderBoxOutlines > &  outlinesBuffer 
)

Function: Physics.Geometry.Rendering.GenerateRenderBoxOutlines Implementation: (default)

Parameters
jobThe range job specifying what part of the data set to process
outlinesBuffer
void agxFn::Physics::Geometry::Rendering::RenderBounds ( const agxData::Array< agx::AffineMatrix4x4 > &  transformBuffer,
const agxData::Array< agx::Bound3 > &  geometryBoundBuffer,
const agx::Vec4 &  geometryColor 
)

Function: Physics.Geometry.Rendering.RenderBounds Implementation: (default)

Parameters
transformBuffer
geometryBoundBuffer
geometryColor
void agxFn::Physics::Geometry::Rendering::RenderGeometries ( const agxData::Array< agx::AffineMatrix4x4 > &  transformBuffer,
agxData::Array< agx::Physics::Geometry::ShapePtr > &  shapeBuffer,
const agx::Vec4 &  fillColor,
const agx::Vec4 &  outlineColor 
)

Function: Physics.Geometry.Rendering.RenderGeometries Implementation: (default)

Parameters
transformBuffer
shapeBuffer
fillColor
outlineColor
void agxFn::Physics::Geometry::Rendering::SortTriangles ( const agxData::Array< agx::Real > &  cameraDistanceBuffer,
agxData::Array< agx::UInt32 > &  triangleIndicesBuffer 
)

Function: Physics.Geometry.Rendering.SortTriangles Implementation: (default)

Parameters
cameraDistanceBuffer
triangleIndicesBuffer