载入中...
搜索中...
未找到
eve::scene_editing 命名空间参考

类

struct  CreateSceneObjectRequest
 Request used to create a scene object in either backend. 更多...
 
class  ISceneComponentInspector
 Read-only live component/link inspection capability for scene inspectors. 更多...
 
class  ISceneComponentPayloadProvider
 Module-owned adapter for one scene component payload type. 更多...
 
class  ISceneComponentPayloadTarget
 Scene capability that discovers and routes module-owned component payload editors. 更多...
 
class  ISceneHierarchyEditTarget
 Stable hierarchy capability implemented by document and runtime targets. 更多...
 
class  ITransformEditTarget
 Capability implemented by document and live scene targets. 更多...
 
class  RuntimeWorldTarget
 Live game-world backend exposing the same standard scene capabilities. 更多...
 
class  SceneAuthoringDocumentTarget
 Declarative authoring composition: hierarchy plus source and presentation payloads. Owns authored values; meshes, imported hosts and cameras are rebuildable projections. @thread Owner thread only, no callbacks. No native pointers are persisted. 更多...
 
struct  SceneComponentLinkSnapshot
 Safe metadata for one external component link on a live scene object. 更多...
 
struct  SceneComponentPayloadRef
 Stable, pointer-free reference to one editable component instance. 更多...
 
class  SceneComponentPayloadRegistry
 Owning registry and scene-facing router for component payload providers. 更多...
 
class  SceneComponentPropertyBindings
 Reuses existing property/operation targets as scene component payloads. 更多...
 
class  SceneDocumentTarget
 Authoring scene-document backend exposing the standard scene capabilities. 更多...
 
class  SceneHierarchyToolLogic
 Backend-neutral hierarchy editing logic for outliner-style tools. 更多...
 
class  SceneHostEditorTarget
 Optional live adapter mirroring editor operations into one SceneHost. 更多...
 
struct  SceneObjectSnapshot
 Immutable scene object snapshot returned across target boundaries. 更多...
 
class  ScenePlacementToolLogic
 Backend-neutral placement logic suitable for a Tool, script or command handler. 更多...
 
class  ScenePropertyProvider
 Property adapter exposing scene TRS to generic inspector presenters. 更多...
 
struct  SceneRelation
 Owning relation between stable scene objects, measured against admitted contact proxies or native camera raster evidence. 更多...
 
class  SceneTargetBase
 Shared in-memory scene target implementation for document/runtime adapters. 更多...
 
class  SceneTransformToolLogic
 Backend-neutral transform logic suitable for a Tool, script or command handler. 更多...
 
struct  SceneTransformValue
 Serializable transform exchanged across the scene editing boundary. 更多...
 

类型定义

using AuthoringBounds = std::array< double, 6 >
 Immutable asset-local bounds, ordered minimum XYZ then maximum XYZ.
 
using EditorStatus = editing::Status
 
using EditorValue = editing::Value
 
using EditorDiagnostic = editing::Diagnostic
 

枚举

enum class  SceneComponentChange { Changed , Unchanged }
 Whether a registry or binding removal changed authoritative state. 更多...
 
enum class  SceneRelationKind {
  SupportedOn , Nonpenetrating , VisibleFraction , Occludes ,
  ProjectedOverlap
}
 Supported authoring relations; these do not create transform parenting or runtime joints. 更多...
 

函数

Result< EditorValue > inspectAuthoringObject (const ISceneHierarchyEditTarget &target, const ObjectId &object, const AuthoringBounds &bounds)
 Inspect world geometry derived from the canonical hierarchy and asset bounds.
 
Result< void > registerAuthoringCommands (editing::IEditingCommandRegistry &registry)
 Register ground, surface-edge alignment and screen-anchor placement planners.
 
Result< void > registerAuthoringDocumentCommands (editing::IEditingCommandRegistry &registry)
 Register authored source creation and camera/lighting payload commands.
 
Result< SelectionSnapshot > makeSceneComponentSelection (std::string channel, const std::vector< SceneComponentPayloadRef > &components, std::uint64_t sequence=0)
 Build a property selection for one or more homogeneous component references.
 
editing::Result< void > registerEditingCommands (editing::IEditingCommandRegistry &registry)
 Register Scene-owned commands with a generic editing host.
 
editing::Result< std::string > sceneGeometryRevision (const editing::Value &snapshot, const editing::ObjectId &object)
 Derive a stable geometry recipe revision from the authoritative document source. @thread Owner thread, no callbacks; snapshot borrowed only during call. @cost Source recipe serialization per explicit inspection; excludes transforms/materials.
 
editing::Result< editing::Value::Array > sceneVisibilityTargets (const std::vector< SceneRelation > &relations, const editing::Value &snapshot)
 Build bounded raster targets and reject regions whose source geometry changed. @thread Owner thread; pure value planning without projection or scene mutation. @cost Linear in visual relations plus recipe serialization per explicit preview preparation.
 
editing::Result< std::vector< SceneRelation > > parseSceneRelations (const editing::Value &value, const ISceneHierarchyEditTarget &hierarchy)
 Strictly decode physical and visual relations and validate all referenced objects.
 

类型定义说明

◆ AuthoringBounds

using eve::scene_editing::AuthoringBounds = typedef std::array<double, 6>

Immutable asset-local bounds, ordered minimum XYZ then maximum XYZ.

在文件 SceneAuthoring.h 第 14 行定义.

◆ EditorDiagnostic

◆ EditorStatus

在文件 SceneEditingTypes.h 第 42 行定义.

◆ EditorValue

在文件 SceneEditingTypes.h 第 43 行定义.

枚举类型说明

◆ SceneComponentChange

Whether a registry or binding removal changed authoritative state.

枚举值
Changed 
Unchanged 

在文件 SceneComponentPayload.h 第 16 行定义.

◆ SceneRelationKind

Supported authoring relations; these do not create transform parenting or runtime joints.

枚举值
SupportedOn 
Nonpenetrating 
VisibleFraction 
Occludes 
ProjectedOverlap 

在文件 SceneRelations.h 第 10 行定义.

函数说明

◆ inspectAuthoringObject()

EVENGINE_API_BACKENDS Result< EditorValue > eve::scene_editing::inspectAuthoringObject ( const ISceneHierarchyEditTarget &  target,
const ObjectId &  object,
const AuthoringBounds &  bounds 
)

Inspect world geometry derived from the canonical hierarchy and asset bounds.

参数
targetBorrowed hierarchy, retained only for this synchronous call.
objectStable host-local object identity.
boundsImmutable asset-local AABB; finite, ordered coordinates are required.
返回
Owning world matrix, corners, AABB and bottom-center anchor, or a diagnostic. @thread Owner thread only. No mutation, callbacks or retained references. @cost Eight corner transforms plus ancestor traversal per object; use per edit/query.

在文件 SceneAuthoring.cpp 第 197 行定义.

引用了 bounds, center, column, eve::Result< T >::failure(), g, geometry, matrix, point, result , 以及 target.

◆ makeSceneComponentSelection()

EVENGINE_API_BACKENDS Result< SelectionSnapshot > eve::scene_editing::makeSceneComponentSelection ( std::string  channel,
const std::vector< SceneComponentPayloadRef > &  components,
std::uint64_t  sequence 
)

Build a property selection for one or more homogeneous component references.

在文件 SceneComponentPayload.cpp 第 251 行定义.

引用了 eve::editing::SelectionSnapshot::channel, eve::UuidIdAdapter< Tag >::empty(), makeSceneComponentSelection(), result, sequence , 以及 type.

被这些函数引用 makeSceneComponentSelection().

◆ parseSceneRelations()

EVENGINE_API_BACKENDS editing::Result< std::vector< SceneRelation > > eve::scene_editing::parseSceneRelations ( const editing::Value &  value,
const ISceneHierarchyEditTarget &  hierarchy 
)

Strictly decode physical and visual relations and validate all referenced objects.

参数
valueArray of relation objects; unknown types and fields are rejected.
hierarchyBorrowed only for this owner-thread call.
返回
Independent owning relations or a diagnostic, without changing the target. @cost Linear in relation count plus object lookup per restore or edit.

在文件 SceneRelations.cpp 第 9 行定义.

引用了 found, eve::SceneLocalRegion::fromValue(), eve::editing::Value::getIf(), id, eve::scene_editing::SceneRelation::id, ids, key, message, Nonpenetrating, object, Occludes, priority, ProjectedOverlap, reference, region, relation, resolved, result, eve::scene_editing::ISceneHierarchyEditTarget::sceneObject(), subject, SupportedOn, text, eve::editing::toPresentationValue(), type, value, values , 以及 VisibleFraction.

被这些函数引用 eve::scene_editor::SceneEditorSession::beginRelationPlacement(), eve::scene_editor::SceneEditorSession::checkRelationPlacement(), eve::scene_editing::SceneAuthoringDocumentTarget::makeRestore() , 以及 eve::scene_editor::SceneEditorSession::prepareRelationVisibility().

◆ registerAuthoringCommands()

EVENGINE_API_BACKENDS Result< void > eve::scene_editing::registerAuthoringCommands ( editing::IEditingCommandRegistry &  registry)

Register ground, surface-edge alignment and screen-anchor placement planners.

参数
registryBorrowed registry owned by the editing host.
返回
Registration status; planners produce reversible operations without mutation. @thread Owner thread only. Registry must outlive registered planners.

在文件 SceneAuthoring.cpp 第 214 行定义.

引用了 descriptor, eve::editing::EditingCommandDescriptor::id, registry, request , 以及 target.

被这些函数引用 registerEditingCommands().

◆ registerAuthoringDocumentCommands()

◆ registerEditingCommands()

EVENGINE_API_BACKENDS editing::Result< void > eve::scene_editing::registerEditingCommands ( editing::IEditingCommandRegistry &  registry)

◆ sceneGeometryRevision()

EVENGINE_API_BACKENDS editing::Result< std::string > eve::scene_editing::sceneGeometryRevision ( const editing::Value &  snapshot,
const editing::ObjectId &  object 
)

Derive a stable geometry recipe revision from the authoritative document source. @thread Owner thread, no callbacks; snapshot borrowed only during call. @cost Source recipe serialization per explicit inspection; excludes transforms/materials.

返回
Owning recipe identity or missing-source diagnostic; no native upload id persisted.

在文件 SceneRegions.cpp 第 6 行定义.

引用了 eve::editing::editorValueToJson(), geometry, key, root, snapshot, source, sources , 以及 value.

被这些函数引用 eve::scene_editor::SceneEditorSession::geometryRevision() , 以及 sceneVisibilityTargets().

◆ sceneVisibilityTargets()

EVENGINE_API_BACKENDS editing::Result< editing::Value::Array > eve::scene_editing::sceneVisibilityTargets ( const std::vector< SceneRelation > &  relations,
const editing::Value &  snapshot 
)

Build bounded raster targets and reject regions whose source geometry changed. @thread Owner thread; pure value planning without projection or scene mutation. @cost Linear in visual relations plus recipe serialization per explicit preview preparation.

返回
Owning target array; repeated object/region definitions must be identical.

在文件 SceneRegions.cpp 第 19 行定义.

引用了 eve::Result< T >::failure(), Occludes, ProjectedOverlap, relation, revision, sceneGeometryRevision(), second, snapshot, targets, eve::editing::toEditingValue(), value , 以及 VisibleFraction.

被这些函数引用 eve::scene_editor::SceneEditorSession::prepareRelationVisibility().