Ion: gfxutils/shapeutils.cc File Reference

#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...