Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

class Enlighten::PipelineScene

The scene to be precomputed.

Member functions may assert or throw a PipelineError exception to indicate a violation of the API contract.

Functions

NameDescription
AddCubemap(const PipelineCubemap &)

Add a cubemap to the scene.

AddGeom(const PipelineGeom &)

Add the geom to the scene.

AddInstance(const PipelineRadiosityInstance &)

Add a radiosity instance to the scene.

AddInstance(const PipelineExcludedInstance &)

Add an excluded instance to the scene.

AddInstanceParameters(const PipelineInstanceParameters &)

Add a named set of instance parameters to the scene.

AddProbeRegion(const PipelinePointSetProbeRegion &)

Add a region defined by a set of points to the specified probe octree.

AddProbeRegion(const PipelineBoxSetProbeRegion &)

Add a region defined by a set of boxes to the specified probe octree.

AddProbeRegion(const PipelineVolumeProbeRegion &)

Add a probe region defined by a volume to the specified zone.

AddProbeVolume(const PipelineProbeVolume &)

Adds a probe volume to the scene.

AddRadiosityDependencies(Geo::GeoFileString, const Dependencies &)

Limit the radiosity dependencies of the specified zone to the specified set of zone dependencies.

AddRadiosityDependencies(PipelineRadiosityGroupType, Geo::GeoFileString, const Dependencies &, const Dependencies &)

Adds a dependency set.

CreateAlbedoBuffer(InputWorkspace *)

Create a runtime object.

CreateDynamicMaterialWorkspace(ClusterAlbedoWorkspaceMaterialData *)

Create a runtime object.

CreateEmissiveBuffer(InputWorkspace *)

Create a runtime object.

DumpDebugScene(const Geo::GeoFileString &)

Dump the entire scene to a single text file for debug and test purposes.

GeomExists(const Geo::GeoFileString &)

Returns true if there is a geometry object associated with the specified name. O(1) complexity.

GetInstanceNames(const Geo::GeoFileString &)

Return the names of the instances within the specified group.

LoadClusterAlbedoWorkspaceMaterialData(const Geo::GeoFileString &)

Load a precompute object from file.

LoadGeneratedSystems(const Geo::GeoFileString &)

Load a precompute object from file.

LoadInputProbeSet(const PrecompOctreeCode)

Load a precompute object from file.

LoadInputProbeSet(const Geo::GeoFileString &)

Load a precompute object from file.

LoadInputWorkspace(const Geo::GeoFileString &)

Load a precompute object from file.

LoadOctreeProbeSetCore(const PrecompOctreeCode)

Load a precompute object from file.

LoadOutputProbeOctree(const Geo::GeoFileString &)

Load a precompute object from file.

LoadPackedGeometry(const Geo::GeoFileString &, const Geo::GeoFileString &)

Load a precompute object from file.

LoadPackedSystem(const Geo::GeoFileString &)

Load a precompute object from file.

LoadPrecomputedVisibilityData(const Geo::GeoFileString &)

Load a precompute object from file.

LoadProbeAtlasMaxima()

Load a precompute object from file.

LoadRadCubeMapCore(const Geo::GeoFileString &)

Load a precompute object from file.

LoadRadiosityNormalTexture(const Geo::GeoFileString &, Geo::s32)

Load a precompute object from file.

LoadRadProbeSetCore(const Geo::GeoFileString &)

Load a precompute object from file.

LoadRadSystemCore(const Geo::GeoFileString &, Geo::s32)

Load a precompute object from file.

LoadSystemDuster(const Geo::GeoFileString &)

Load a precompute object from file.

PipelineScene(PipelinePaths, const PipelineGlobalParameters &)

To use this class, construct an instance of the PrecomputePipeline class.

WriteScene(Geo::IGeoProgressProxy &)

Write the Enlighten scene to disk.

Enums

NameDescription
State

The set of states that an instance may transition between.

Typedefs

NameDescription
Geo::GeoArray< Geo::GeoFileString > Dependencies

Array of dependencies.

Geo::GeoArray< Geo::GeoFileString > InstanceNames

An array of instance names.

Variables

NameDescription
State m_State

The current state of this instance.


Anchor
a615ecd905122d8a6601a2e474a835001
a615ecd905122d8a6601a2e474a835001

void Enlighten::PipelineScene::AddCubemap

...

public: void AddCubemap
(
    const PipelineCubemap & cubemap
)

...

Add a cubemap to the scene.


Anchor
a803cad71bea7fa88a459d7fdc003b33f
a803cad71bea7fa88a459d7fdc003b33f

void Enlighten::PipelineScene::AddGeom

...

public: void AddGeom
(
    const PipelineGeom & geom
)

...

Add the geom to the scene.


Anchor
acdeb1e9721a7672b2ffefab900264b83
acdeb1e9721a7672b2ffefab900264b83

void Enlighten::PipelineScene::AddInstance

...

public: void AddInstance
(
    const PipelineRadiosityInstance & instance
)

...

Add a radiosity instance to the scene.


Anchor
aa01a49730f91b696116c00d5fa30fd90
aa01a49730f91b696116c00d5fa30fd90

void Enlighten::PipelineScene::AddInstance

...

public: void AddInstance
(
    const PipelineExcludedInstance & instance
)

...

Add an excluded instance to the scene.


Anchor
acb664c88d5f4c12cb2f2a96ac629009e
acb664c88d5f4c12cb2f2a96ac629009e

void Enlighten::PipelineScene::AddInstanceParameters

...

public: void AddInstanceParameters
(
    const PipelineInstanceParameters & parameters
)

...

Add a named set of instance parameters to the scene.


Anchor
a5eb950ea901a4662febda3be4ad74bba
a5eb950ea901a4662febda3be4ad74bba

void Enlighten::PipelineScene::AddProbeRegion

...

public: void AddProbeRegion
(
    const PipelinePointSetProbeRegion & region
)

...

Add a region defined by a set of points to the specified probe octree.


Anchor
a432490ebb18d585f7ca7ef4fe2263254
a432490ebb18d585f7ca7ef4fe2263254

void Enlighten::PipelineScene::AddProbeRegion

...

public: void AddProbeRegion
(
    const PipelineBoxSetProbeRegion & region
)

...

Add a region defined by a set of boxes to the specified probe octree.


Anchor
a495a094ea75710826e18114b658a2c04
a495a094ea75710826e18114b658a2c04

void Enlighten::PipelineScene::AddProbeRegion

...

public: void AddProbeRegion
(
    const PipelineVolumeProbeRegion & region
)

...

Add a probe region defined by a volume to the specified zone.


Anchor
af74101801ce259418d52aa85dd6bfaae
af74101801ce259418d52aa85dd6bfaae

void Enlighten::PipelineScene::AddProbeVolume

...

public: void AddProbeVolume
(
    const PipelineProbeVolume & probeVolume
)

...

Adds a probe volume to the scene.


Anchor
ad9bf74b35431c0b21b16c39bf7c6371e
ad9bf74b35431c0b21b16c39bf7c6371e

void Enlighten::PipelineScene::AddRadiosityDependencies

...

public: void AddRadiosityDependencies
(
    Geo::GeoFileString zone,
    const Dependencies & dependencies
)

...

Limit the radiosity dependencies of the specified zone to the specified set of zone dependencies.


Anchor
a3690b9dbf4f9fc87f46c4b663fa5d370
a3690b9dbf4f9fc87f46c4b663fa5d370

void Enlighten::PipelineScene::AddRadiosityDependencies

...

public: void AddRadiosityDependencies
(
    PipelineRadiosityGroupType type,
    Geo::GeoFileString groupName,
    const Dependencies & dependencies,
    const Dependencies & explicitDependencies
)

...

Adds a dependency set.


Anchor
a59a5948fa336ff95b161f5cf2215dd65
a59a5948fa336ff95b161f5cf2215dd65

static AlbedoBufferPtr Enlighten::PipelineScene::CreateAlbedoBuffer

...

public: AlbedoBufferPtr CreateAlbedoBuffer
(
    InputWorkspace * inputWorkspace
)

...

Create a runtime object.

Return a unique pointer which owns the object.


Anchor
a58d08fa22cebbb7b624a73ce226c25ee
a58d08fa22cebbb7b624a73ce226c25ee

static DynamicMaterialWorkspacePtr Enlighten::PipelineScene::CreateDynamicMaterialWorkspace

...

public: DynamicMaterialWorkspacePtr CreateDynamicMaterialWorkspace
(
    ClusterAlbedoWorkspaceMaterialData * cawMaterialData
)

...

Create a runtime object.

Return a unique pointer which owns the object.


Anchor
a3267e6a5d090cb67b3b318f0e9c56052
a3267e6a5d090cb67b3b318f0e9c56052

static EmissiveBufferPtr Enlighten::PipelineScene::CreateEmissiveBuffer

...

public: EmissiveBufferPtr CreateEmissiveBuffer
(
    InputWorkspace * inputWorkspace
)

...

Create a runtime object.

Return a unique pointer which owns the object.


Anchor
ae28906f8515c1d09cbcf29dd5bc53271
ae28906f8515c1d09cbcf29dd5bc53271

void Enlighten::PipelineScene::DumpDebugScene

...

public: void DumpDebugScene
(
    const Geo::GeoFileString & filename
) const

...

Dump the entire scene to a single text file for debug and test purposes.

Note: For use only in Enlighten internal testing, may be removed in a future release!


Anchor
a2de6f0d0f763bced6cbd1814f339c7a9
a2de6f0d0f763bced6cbd1814f339c7a9

bool Enlighten::PipelineScene::GeomExists

...

public: bool GeomExists
(
    const Geo::GeoFileString & name
) const

...

Returns true if there is a geometry object associated with the specified name. O(1) complexity.


Anchor
a9c5ed420f54b785e08e9dee29421b959
a9c5ed420f54b785e08e9dee29421b959

const InstanceNames& Enlighten::PipelineScene::GetInstanceNames

...

public: const InstanceNames & GetInstanceNames
(
    const Geo::GeoFileString & group
) const

...

Return the names of the instances within the specified group.

The instances are listed in the order that they were added to the scene. Use IPrecompPackedInstance::GetInstanceId to index this array.


Anchor
afb3fe24a408fd328c37cc9182dfba3e8
afb3fe24a408fd328c37cc9182dfba3e8

CAWMaterialDataPtr Enlighten::PipelineScene::LoadClusterAlbedoWorkspaceMaterialData

...

public: CAWMaterialDataPtr LoadClusterAlbedoWorkspaceMaterialData
(
    const Geo::GeoFileString & systemName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
abb754ca50490ce7a4dc9d7f924e0a3b7
abb754ca50490ce7a4dc9d7f924e0a3b7

GeneratedSystemsPtr Enlighten::PipelineScene::LoadGeneratedSystems

...

public: GeneratedSystemsPtr LoadGeneratedSystems
(
    const Geo::GeoFileString & zoneName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
a96b728c02bc3f63d25ae0acee55d932a
a96b728c02bc3f63d25ae0acee55d932a

InputProbeSetPtr Enlighten::PipelineScene::LoadInputProbeSet

...

public: InputProbeSetPtr LoadInputProbeSet
(
    const PrecompOctreeCode octreeCode
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
adad768db1492c0dfe6cad0b119555257
adad768db1492c0dfe6cad0b119555257

InputProbeSetPtr Enlighten::PipelineScene::LoadInputProbeSet

...

public: InputProbeSetPtr LoadInputProbeSet
(
    const Geo::GeoFileString & octreeName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
ae9c00e7066758431aa15ea7ac86b62f6
ae9c00e7066758431aa15ea7ac86b62f6

InputWorkspacePtr Enlighten::PipelineScene::LoadInputWorkspace

...

public: InputWorkspacePtr LoadInputWorkspace
(
    const Geo::GeoFileString & systemName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
ae2b7584a4ed552e1951f588fd81f8c2b
ae2b7584a4ed552e1951f588fd81f8c2b

RadProbeSetCorePtr Enlighten::PipelineScene::LoadOctreeProbeSetCore

...

public: RadProbeSetCorePtr LoadOctreeProbeSetCore
(
    const PrecompOctreeCode octreeCode
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
a12178ac8b6b84ff9592a91d56e077af2
a12178ac8b6b84ff9592a91d56e077af2

OutputProbeOctreePtr Enlighten::PipelineScene::LoadOutputProbeOctree

...

public: OutputProbeOctreePtr LoadOutputProbeOctree
(
    const Geo::GeoFileString & octreeName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
a08e3453d27859a94d6953c9247c88a55
a08e3453d27859a94d6953c9247c88a55

PackedGeometryPtr Enlighten::PipelineScene::LoadPackedGeometry

...

public: PackedGeometryPtr LoadPackedGeometry
(
    const Geo::GeoFileString & geomName,
    const Geo::GeoFileString & paramSetName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
a88faf1a2cee81432699e0bfa9c20d2e2
a88faf1a2cee81432699e0bfa9c20d2e2

PackedSystemPtr Enlighten::PipelineScene::LoadPackedSystem

...

public: PackedSystemPtr LoadPackedSystem
(
    const Geo::GeoFileString & systemName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
a0778bff917ef584b5495f98aa35ab67d
a0778bff917ef584b5495f98aa35ab67d

PrecompVisDataPtr Enlighten::PipelineScene::LoadPrecomputedVisibilityData

...

public: PrecompVisDataPtr LoadPrecomputedVisibilityData
(
    const Geo::GeoFileString & systemName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
a5dfec84a2aad65acf7bc9f5cb119b0fe
a5dfec84a2aad65acf7bc9f5cb119b0fe

ProbeAtlasMaximaPtr Enlighten::PipelineScene::LoadProbeAtlasMaxima

...

public: ProbeAtlasMaximaPtr LoadProbeAtlasMaxima() const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
a07726707945031bc95fa382836c24fc4
a07726707945031bc95fa382836c24fc4

RadCubeMapCorePtr Enlighten::PipelineScene::LoadRadCubeMapCore

...

public: RadCubeMapCorePtr LoadRadCubeMapCore
(
    const Geo::GeoFileString & cubeMapName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
a1eb599b4983c12dffa19e538155ef0f2
a1eb599b4983c12dffa19e538155ef0f2

RGBXTexturePtr Enlighten::PipelineScene::LoadRadiosityNormalTexture

...

public: RGBXTexturePtr LoadRadiosityNormalTexture
(
    const Geo::GeoFileString & systemName,
    Geo::s32 lodIndex
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
a46259e4731b7a73c538c25b0028e9b6c
a46259e4731b7a73c538c25b0028e9b6c

RadProbeSetCorePtr Enlighten::PipelineScene::LoadRadProbeSetCore

...

public: RadProbeSetCorePtr LoadRadProbeSetCore
(
    const Geo::GeoFileString & probeSetName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
af340d9d72fe26cf70463ad293d6847bc
af340d9d72fe26cf70463ad293d6847bc

RadSystemCorePtr Enlighten::PipelineScene::LoadRadSystemCore

...

public: RadSystemCorePtr LoadRadSystemCore
(
    const Geo::GeoFileString & systemName,
    Geo::s32 lodIndex
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
adbf29f2cb333cb325cab0be93bb580da
adbf29f2cb333cb325cab0be93bb580da

SystemDusterPtr Enlighten::PipelineScene::LoadSystemDuster

...

public: SystemDusterPtr LoadSystemDuster
(
    const Geo::GeoFileString & systemName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
a48b3387385631221e2c91ecdcad1f7b8
a48b3387385631221e2c91ecdcad1f7b8

Enlighten::PipelineScene::PipelineScene

...

protected: PipelineScene
(
    PipelinePaths paths,
    const PipelineGlobalParameters & global
)

...

To use this class, construct an instance of the PrecomputePipeline class.

Do not directly construct an instance of PipelineScene.


Anchor
aef07d6d8017272a4c878d6b9974ec9d1
aef07d6d8017272a4c878d6b9974ec9d1

void Enlighten::PipelineScene::WriteScene

...

public: void WriteScene
(
    Geo::IGeoProgressProxy & progressProxy
) const

...

Write the Enlighten scene to disk.


Anchor
a046edc570033ec7bd350c971a814356d
a046edc570033ec7bd350c971a814356d

State

...

protected: enum State{}

...

The set of states that an instance may transition between.