#include "vrml_output.h"
#include "axes.h"
#include "stuff/macros.h"
#include <qglviewer/vec.h>
#include <qglviewer/quaternion.h>
#include <list>
#include <cmath>
#include <stack>
#include <stdexcept>
#include <limits>
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, const vrml_point_t &p) |
void | vrmlColor3f (float r, float g, float b) |
void | vrmlColor4f (float r, float g, float b, float alpha) |
void | vrmlHeadRotation (qglviewer::Quaternion &quat) |
void | vrmlHeadTranslation (qglviewer::Vec &p) |
void | vrmlLoadIdentity () |
void | vrmlMultMatrix (const vrml::Matrix4x4 &m) |
void | vrmlPopMatrix () |
void | vrmlPushMatrix () |
void | vrmlRotatef (float phi, float x, float y, float z) |
void | vrmlScalef (float sx, float sy, float sz) |
void | vrmlTranslatef (float dx, float dy, float dz) |
void | writeAxes (std::ostream &os, double len) |
void | writeBox (std::ostream &os, double l, double w, double h) |
void | writeCone (std::ostream &os, double radius, double height) |
void | writeCurrentFoot (std::ostream &os) |
void | writeCurrentHead (std::ostream &os, bool allColor) |
void | writeCylinder (std::ostream &os, double radius, double height) |
void | writeEllipsoid (std::ostream &os, double r1, double r2, double r3) |
void | writeEnd (std::ostream &os) |
void | writePlane (std::ostream &os, double l, double w) |
void | writePoseBox (std::ostream &os) |
void | writePyramid (std::ostream &os, double length, double height) |
void | writeScaleFoot (std::ostream &os) |
void | writeScaleHead (std::ostream &os, double sx, double sy, double sz) |
void | writeSlice (std::ostream &os, double radius, double height, double fov, int slices_per_circle) |
void | writeSphere (std::ostream &os, double radius) |
void | writeStart (std::ostream &os) |
void | writeVrmlFileHeader (std::ostream &os) |
Variables | |
vrml_color_t | g_vrml_color = { {0, 0, 0, 1} } |
the current vrml color | |
vrml::Matrix4x4 | g_vrml_modelview = vrml::Matrix4x4::identity() |
the current transformation matrix | |
static stack< vrml::Matrix4x4 > | s_matrix_stack |
stack<vrml::Matrix4x4> s_matrix_stack [static] |
Definition at line 37 of file vrml_output.cpp.