载入中...
搜索中...
未找到
ArchSpaceTypes.h 文件参考
#include "common/Result.h"
#include <cmath>
#include <cstdint>
#include <string>
#include <vector>

浏览源代码.

类

struct  eve::archspace::Vec2
 Metres on the level XZ plane. 更多...
 
struct  eve::archspace::Vec3
 Metres in world/level space. 更多...
 
struct  eve::archspace::Node
 One authored architectural node. Only fields for the active kind are meaningful. 更多...
 
struct  eve::archspace::MeshBake
 Renderer-neutral triangle mesh rebuilt from the document. 更多...
 
struct  eve::archspace::MeshArrays
 Interleaved GPU-upload arrays derived from MeshBake. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::archspace
 

枚举

enum class  eve::archspace::NodeKind : std::uint8_t {
  eve::archspace::Site = 0 , eve::archspace::Building , eve::archspace::Level , eve::archspace::Wall ,
  eve::archspace::Slab , eve::archspace::Zone , eve::archspace::Item , eve::archspace::Opening
}
 Stable node kind discriminator for the architectural document. 更多...
 
enum class  eve::archspace::OpeningKind : std::uint8_t { eve::archspace::Door = 0 , eve::archspace::Window }
 Opening semantic used by doors and windows hosted on walls. 更多...
 

函数

MeshArrays eve::archspace::toMeshArrays (const MeshBake &bake)
 Convert a MeshBake into flat arrays with per-triangle normals.
 
const char * eve::archspace::nodeKindName (NodeKind kind) noexcept
 Stable wire name for a node kind. @ownership Non-owning pointer to a static string literal; do not free. @lifetime Valid for the process lifetime.
 
eve::Result< NodeKind > eve::archspace::parseNodeKind (const std::string &text) noexcept
 Parse a node kind wire name.
 
const char * eve::archspace::openingKindName (OpeningKind kind) noexcept
 Stable wire name for an opening kind. @ownership Non-owning pointer to a static string literal; do not free. @lifetime Valid for the process lifetime.
 
eve::Result< OpeningKind > eve::archspace::parseOpeningKind (const std::string &text) noexcept
 Parse an opening kind wire name.