This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
of3dGraphics.h
Go to the documentation of this file.
125OF_DEPRECATED_MSG("Use ofDrawSphere instead.", void ofSphere(float x, float y, float z, float radius) );
126OF_DEPRECATED_MSG("Use ofDrawSphere instead.", void ofSphere(const glm::vec3& position, float radius) );
327OF_DEPRECATED_MSG("Use ofDrawCone instead.", void ofCone(float x, float y, float z, float radius, float height) );
328OF_DEPRECATED_MSG("Use ofDrawCone instead.", void ofCone(float x, float y, float radius, float height) );
329OF_DEPRECATED_MSG("Use ofDrawCone instead.", void ofCone(const glm::vec3& position, float radius, float height) );
438OF_DEPRECATED_MSG("Use ofDrawBox instead.", void ofBox( float x, float y, float z, float width, float height, float depth) );
440OF_DEPRECATED_MSG("Use ofDrawBox instead.", void ofBox(const glm::vec3& position, float width, float height, float depth) );
443OF_DEPRECATED_MSG("Use ofDrawBox instead.", void ofBox( float width, float height, float depth ) );
Definition of3dGraphics.h:445
void drawCylinder(float x, float y, float radius, float height) const
Draw a cylinder using x, y, radius, and height.
Definition of3dGraphics.cpp:241
void drawPlane(float x, float y, float width, float height) const
Draw a plane using x, y, width, and height.
Definition of3dGraphics.cpp:112
void drawGridPlane(float stepSize, size_t numberOfSteps, bool labels) const
Draw a coordinate system plane using the y and z axes.
Definition of3dGraphics.cpp:427
glm::vec3 getCylinderResolution() const
Get the current cylinder resolution as a 3D vector.
Definition of3dGraphics.cpp:236
void setConeResolution(int radiusSegments, int heightSegments, int capSegments=2)
Set the resolution to use when drawing cones.
Definition of3dGraphics.cpp:273
void setBoxResolution(int res)
Set the resolution to use when drawing boxes.
Definition of3dGraphics.cpp:317
void setSphereResolution(int res)
Set the resolution to use when drawing spheres.
Definition of3dGraphics.cpp:143
void drawRotationAxes(float radius, float stripWidth, int circleRes) const
Draw the coordinate system's rotation axes.
Definition of3dGraphics.cpp:499
glm::vec3 getBoxResolution() const
Get the current box resolution as a 3D vector.
Definition of3dGraphics.cpp:329
void drawArrow(const glm::vec3 &start, const glm::vec3 &end, float headSize) const
Draw an arrow between two 3D points.
Definition of3dGraphics.cpp:482
void drawSphere(float x, float y, float radius) const
Draw a sphere.
Definition of3dGraphics.cpp:165
void drawIcoSphere(float x, float y, float z, float radius) const
Draw an icosphere.
Definition of3dGraphics.cpp:198
glm::vec3 getConeResolution() const
Get the cone resolution.
Definition of3dGraphics.cpp:280
void drawAxis(float size) const
Draw the coordinate system's axes.
Definition of3dGraphics.cpp:374
int getIcoSphereResolution() const
Get the current icosphere resolution.
Definition of3dGraphics.cpp:193
void drawGrid(float stepSize, size_t numberOfSteps, bool labels, bool x, bool y, bool z) const
Draw the coordinate system's axes as a grid.
Definition of3dGraphics.cpp:383
void setIcoSphereResolution(int res)
Set the resolution to use when drawing icospheres.
Definition of3dGraphics.cpp:186
void setPlaneResolution(int columns, int rows)
Set the plane resolution using column and rows.
Definition of3dGraphics.cpp:101
void drawBox(float x, float y, float z, float width, float height, float depth) const
Draw a cube.
Definition of3dGraphics.cpp:334
void setCylinderResolution(int radiusSegments, int heightSegments, int capSegments=2)
Set the resolution to use when drawing cylinders.
Definition of3dGraphics.cpp:229
int getSphereResolution() const
Get the current sphere resolution.
Definition of3dGraphics.cpp:150
glm::vec2 getPlaneResolution() const
Get the current plane resolution as a 2D vector.
Definition of3dGraphics.cpp:107
void drawCone(float x, float y, float z, float radius, float height) const
Draw a cone.
Definition of3dGraphics.cpp:285
The ofBoxPrimitive allows you to create cubes and cuboids.
Definition of3dPrimitives.h:511
The ofConePrimitive allows you to create a 3D cone. Like all primitives it allows you to set the size...
Definition of3dPrimitives.h:408
The ofCylinderPrimitive allows you to create an cylinder mesh.
Definition of3dPrimitives.h:316
The ofIcoSpherePrimitive allows you to create an icosphere. An icosphere is a sphere not based on UV ...
Definition of3dPrimitives.h:256
The ofPlanePrimitive allows you to create an UV plane. Can be used for example as simple canvas for p...
Definition of3dPrimitives.h:120
The ofSpherePrimitive allows you to create a UV sphere. A UV spherewhich is a sphere based on UV slic...
Definition of3dPrimitives.h:204
void ofBox(float x, float y, float z, float width, float height, float depth)
Definition of3dGraphics.cpp:782
void ofCone(float x, float y, float z, float radius, float height)
Definition of3dGraphics.cpp:759
void ofDrawSphere(float x, float y, float radius)
Draw a sphere with the current renderer.
Definition of3dGraphics.cpp:579
void ofSetPlaneResolution(int columns, int rows)
Set the resolution to use when drawing planes.
Definition of3dGraphics.cpp:537
void ofDrawCone(float x, float y, float z, float radius, float height)
Draw a cone with the current renderer.
Definition of3dGraphics.cpp:673
glm::vec3 ofGetConeResolution()
Get the current cone resolution.
Definition of3dGraphics.cpp:668
void ofDrawCylinder(float x, float y, float radius, float height)
Draw a cylinder with the current renderer.
Definition of3dGraphics.cpp:643
glm::vec2 ofGetPlaneResolution()
Get the current renderer's plane resolution as a vector.
Definition of3dGraphics.cpp:542
int ofGetIcoSphereResolution()
Get the icosphere resolution used by the current renderer.
Definition of3dGraphics.cpp:606
glm::vec3 ofGetCylinderResolution()
Get the current renderer's cylinder resolution as a 3D vector.
Definition of3dGraphics.cpp:638
void ofSetConeResolution(int radiusSegments, int heightSegments, int capSegments=2)
Set the cone resolution for the current renderer.
Definition of3dGraphics.cpp:663
void ofSetBoxResolution(int res)
Set the resolution the current renderer uses when drawing boxes.
Definition of3dGraphics.cpp:693
void ofSetSphereResolution(int res)
Set the sphere resolution for the current renderer.
Definition of3dGraphics.cpp:569
void ofDrawIcoSphere(float x, float y, float z, float radius)
Draw an icosphere with the current renderer.
Definition of3dGraphics.cpp:611
void ofDrawBox(float x, float y, float z, float width, float height, float depth)
Draw a cube with the current renderer.
Definition of3dGraphics.cpp:708
int ofGetSphereResolution()
Get the sphere resolution used by the current renderer.
Definition of3dGraphics.cpp:574
void ofDrawPlane(float x, float y, float width, float height)
Draw a plane with the current renderer.
Definition of3dGraphics.cpp:547
glm::vec3 ofGetBoxResolution()
Get the current renderer's box resolution as a 3D vector.
Definition of3dGraphics.cpp:703
void ofSetIcoSphereResolution(int res)
Set the icosphere resolution for the current renderer.
Definition of3dGraphics.cpp:601
void ofSetCylinderResolution(int radiusSegments, int heightSegments, int capSegments=2)
Set the cylinder resolution for the current renderer.
Definition of3dGraphics.cpp:633