Struct MessageSpatial3D::Data

Nested Relationships

This struct is a nested type of Class MessageSpatial3D.

Inheritance Relationships

Base Type

Struct Documentation

struct flamegpu::MessageSpatial3D::Data : public flamegpu::MessageSpatial2D::Data

Internal data representation of Spatial3D messages within model description hierarchy

See

Description

Public Functions

virtual ~Data() = default
virtual std::unique_ptr<MessageSpecialisationHandler> getSpecialisationHander(CUDAMessage &owner) const override
virtual std::type_index getType() const override

Used internally to validate that the corresponding Message type is attached via the agent function shim.

Returns

The std::type_index of the Message type which must be used.

Public Members

float minZ
float maxZ

Protected Functions

virtual Data *clone(const std::shared_ptr<const ModelData> &newParent) override
Data(const std::shared_ptr<const ModelData>&, const Data &other)

Copy constructor This is unsafe, should only be used internally, use clone() instead

Data(const std::shared_ptr<const ModelData>&, const std::string &message_name)

Normal constructor, only to be called by ModelDescription

Friends

friend class ModelDescription
friend struct ModelData