#include <PrimitiveAccumulator.h>
Classes | |
struct | Line |
struct | LineColored |
struct | Point |
struct | PointColored |
struct | Quad |
struct | QuadColored |
struct | QuadNormals |
struct | QuadNormalsColored |
struct | Triangle |
struct | TriangleColored |
struct | TriangleNormals |
struct | TriangleNormalsColored |
struct | TriEelement |
struct | TriEelementNormal |
struct | TriEelementNormalColor |
Public Member Functions | |
PrimitiveAccumulator (const bool pCreateSimplified) | |
~PrimitiveAccumulator () | |
void | AddArrow (const Vec3D &p1, const Vec3D &p2, const float tipprop, const int nrpolygons) |
void | AddArrowColored (const Vec3D &p1, const ColorRGB &col1, const Vec3D &p2, const ColorRGB &col2, const float tipprop, const int nrpolygons) |
void | AddLine (const Vec3D &p1, const Vec3D &p2) |
void | AddLineColored (const Vec3D &p1, const ColorRGB &col1, const Vec3D &p2, const ColorRGB &col2) |
void | AddPoint (const Vec3D &pt) |
void | AddPointColored (const Vec3D &pt, const ColorRGB &col) |
void | AddQuad (const Vec3D &p1, const Vec3D &p2, const Vec3D &p3, const Vec3D &p4) |
void | AddQuadColored (const Vec3D &p1, const ColorRGB &col1, const Vec3D &p2, const ColorRGB &col2, const Vec3D &p3, const ColorRGB &col3, const Vec3D &p4, const ColorRGB &col4) |
void | AddTriangle (const Vec3D &p1, const Vec3D &p2, const Vec3D &p3) |
void | AddTriangleColored (const Vec3D &p1, const ColorRGB &col1, const Vec3D &p2, const ColorRGB &col2, const Vec3D &p3, const ColorRGB &col3) |
void | AddTriangleNormalColored (const float nv[], const float p1[], const float p2[], const float p3[], const ColorRGB &col1, const ColorRGB &col2, const ColorRGB &col3) |
void | DumpCharacteristics (std::ostream &pOstream, const std::string &pIndentation, const Matrix< float > &pTransformation) |
const BBox3D & | GetBBox3D () const |
void | Render (const RenderParams &pParams) |
FemViewer::PrimitiveAccumulator::PrimitiveAccumulator | ( | const bool | pCreateSimplified | ) |
FemViewer::PrimitiveAccumulator::~PrimitiveAccumulator | ( | ) |
void FemViewer::PrimitiveAccumulator::AddArrow | ( | const Vec3D & | p1, | |
const Vec3D & | p2, | |||
const float | tipprop, | |||
const int | nrpolygons | |||
) |
void FemViewer::PrimitiveAccumulator::AddArrowColored | ( | const Vec3D & | p1, | |
const ColorRGB & | col1, | |||
const Vec3D & | p2, | |||
const ColorRGB & | col2, | |||
const float | tipprop, | |||
const int | nrpolygons | |||
) |
void FemViewer::PrimitiveAccumulator::AddLineColored | ( | const Vec3D & | p1, | |
const ColorRGB & | col1, | |||
const Vec3D & | p2, | |||
const ColorRGB & | col2 | |||
) |
void FemViewer::PrimitiveAccumulator::AddQuad | ( | const Vec3D & | p1, | |
const Vec3D & | p2, | |||
const Vec3D & | p3, | |||
const Vec3D & | p4 | |||
) |
void FemViewer::PrimitiveAccumulator::AddQuadColored | ( | const Vec3D & | p1, | |
const ColorRGB & | col1, | |||
const Vec3D & | p2, | |||
const ColorRGB & | col2, | |||
const Vec3D & | p3, | |||
const ColorRGB & | col3, | |||
const Vec3D & | p4, | |||
const ColorRGB & | col4 | |||
) |
void FemViewer::PrimitiveAccumulator::AddTriangle | ( | const Vec3D & | p1, | |
const Vec3D & | p2, | |||
const Vec3D & | p3 | |||
) |
void FemViewer::PrimitiveAccumulator::AddTriangleColored | ( | const Vec3D & | p1, | |
const ColorRGB & | col1, | |||
const Vec3D & | p2, | |||
const ColorRGB & | col2, | |||
const Vec3D & | p3, | |||
const ColorRGB & | col3 | |||
) |
void FemViewer::PrimitiveAccumulator::AddTriangleNormalColored | ( | const float | nv[], | |
const float | p1[], | |||
const float | p2[], | |||
const float | p3[], | |||
const ColorRGB & | col1, | |||
const ColorRGB & | col2, | |||
const ColorRGB & | col3 | |||
) |
void FemViewer::PrimitiveAccumulator::DumpCharacteristics | ( | std::ostream & | pOstream, | |
const std::string & | pIndentation, | |||
const Matrix< float > & | pTransformation | |||
) |
const BBox3D & FemViewer::PrimitiveAccumulator::GetBBox3D | ( | ) | const |
void FemViewer::PrimitiveAccumulator::Render | ( | const RenderParams & | pParams | ) |