|
Ion
|
#include "ion/gfxutils/shapeutils.h"#include <algorithm>#include "base/integral_types.h"#include "ion/base/allocationmanager.h"#include "ion/base/datacontainer.h"#include "ion/base/invalid.h"#include "ion/base/logging.h"#include "ion/base/scopedallocation.h"#include "ion/base/zipassetmanager.h"#include "ion/gfx/attributearray.h"#include "ion/gfx/shaderinputregistry.h"#include "ion/gfxutils/buffertoattributebinder.h"#include "ion/math/angle.h"#include "ion/math/matrixutils.h"#include "ion/math/range.h"#include "ion/math/vectorutils.h"#include "third_party/openctm/files/tools/3ds.h"#include "third_party/openctm/files/tools/dae.h"#include "third_party/openctm/files/tools/lwo.h"#include "third_party/openctm/files/tools/mesh.h"#include "third_party/openctm/files/tools/obj.h"#include "third_party/openctm/files/tools/off.h"
Go to the source code of this file.
Namespaces | |
| ion | |
| Copyright 2016 Google Inc. | |
| ion::gfxutils | |
Functions | |
| const gfx::IndexBufferPtr | ion::gfxutils::BuildWireframeIndexBuffer (const gfx::IndexBufferPtr &tri_index_buffer) |
| Public functions. More... | |
| const gfx::ShapePtr | ion::gfxutils::LoadExternalShape (const ExternalShapeSpec &spec, std::istream &in) |
| Loads a Shape with the specified format from the passed stream. More... | |
| const gfx::ShapePtr | ion::gfxutils::BuildRectangleShape (const RectangleSpec &spec) |
| Builds and returns a Shape representing a rectangle in one of the principal Cartesian planes. More... | |
| const gfx::ShapePtr | ion::gfxutils::BuildRegularPolygonShape (const RegularPolygonSpec &spec) |
| Builds and returns a Shape representing a flat regular polygon. More... | |
| const gfx::ShapePtr | ion::gfxutils::BuildBoxShape (const BoxSpec &spec) |
| Builds and returns a Shape representing an axis-aligned box. More... | |
| const gfx::ShapePtr | ion::gfxutils::BuildEllipsoidShape (const EllipsoidSpec &spec) |
| Builds and returns a Shape representing an axis-aligned ellipsoid. More... | |
| const gfx::ShapePtr | ion::gfxutils::BuildCylinderShape (const CylinderSpec &spec) |
| Builds and returns a Shape representing an axis-aligned cylinder. More... | |
| bool add_bottom_cap |
Definition at line 904 of file shapeutils.cc.
| bool add_top_cap |
Definition at line 903 of file shapeutils.cc.
| size_t band_count |
Definition at line 761 of file shapeutils.cc.
| size_t cap_band_count |
Definition at line 907 of file shapeutils.cc.
| size_t cap_vertex_count |
Definition at line 911 of file shapeutils.cc.
| Vector3f normal |
Definition at line 81 of file shapeutils.cc.
| size_t num_caps |
Definition at line 905 of file shapeutils.cc.
| Point3f position |
Definition at line 67 of file shapeutils.cc.
| size_t sector_count |
Definition at line 762 of file shapeutils.cc.
| size_t shaft_band_count |
Definition at line 906 of file shapeutils.cc.
| size_t shaft_vertex_count |
Definition at line 910 of file shapeutils.cc.
| Point2f texture_coords |
Definition at line 74 of file shapeutils.cc.
Referenced by ion::text::BasicBuilder::BuildVertexData(), and ion::text::OutlineBuilder::BuildVertexData().
| size_t vertex_count |
Definition at line 764 of file shapeutils.cc.
| size_t vertices_per_ring |
Definition at line 763 of file shapeutils.cc.