reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

of3dUtils.h
Go to the documentation of this file.
1#pragma once
2
3#define GLM_FORCE_CTOR_INIT
4#include "glm/fwd.hpp"
5
12//
14void ofDrawAxis(float size);
15
34void ofDrawGrid(float stepSize = 1.25f, size_t numberOfSteps = 8, bool labels = false, bool x = true, bool y = true, bool z = true);
35
47void ofDrawGridPlane(float stepSize = 1.25f, size_t numberOfSteps = 8, bool labels = false );
48
65void ofDrawArrow(const glm::vec3& start, const glm::vec3& end, float headSize = 0.05f);
66
72void ofDrawRotationAxes(float radius, float stripWidth = 10, int circleRes = 60);
void ofDrawAxis(float size)
Draws x,y,z axes representing the current reference frame.
Definition of3dUtils.cpp:6
void ofDrawGridPlane(float stepSize=1.25f, size_t numberOfSteps=8, bool labels=false)
Draws the YZ grid plane representing the current reference frame.
Definition of3dUtils.cpp:16
void ofDrawArrow(const glm::vec3 &start, const glm::vec3 &end, float headSize=0.05f)
Draws an arrow with the current color.
Definition of3dUtils.cpp:21
void ofDrawRotationAxes(float radius, float stripWidth=10, int circleRes=60)
This function renders a set of 3 axis-aligned circular bands, centered at the origin.
Definition of3dUtils.cpp:26
void ofDrawGrid(float stepSize=1.25f, size_t numberOfSteps=8, bool labels=false, bool x=true, bool y=true, bool z=true)
Draws grid planes representing the current reference frame.
Definition of3dUtils.cpp:11