Struct MessageSpatial2D::Data
Defined in File MessageSpatial2DHost.h
Nested Relationships
This struct is a nested type of Class MessageSpatial2D.
Inheritance Relationships
Base Type
public flamegpu::MessageBruteForce::Data
(Struct MessageBruteForce::Data)
Derived Type
public flamegpu::MessageSpatial3D::Data
(Struct MessageSpatial3D::Data)
Struct Documentation
-
struct Data : public flamegpu::MessageBruteForce::Data
Internal data representation of Spatial2D messages within model description hierarchy
See also
Subclassed by flamegpu::MessageSpatial3D::Data
Public Functions
-
virtual ~Data() = default
-
virtual std::unique_ptr<MessageSpecialisationHandler> getSpecialisationHander(detail::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.
-
virtual flamegpu::MessageSortingType getSortingType() const override
Return the sorting type for this message type
Public Members
-
float radius
-
float minX
-
float minY
-
float maxX
-
float maxY
Protected Functions
Copy constructor This is unsafe, should only be used internally, use clone() instead
-
Normal constructor, only to be called by ModelDescription
Friends
- friend class ModelDescription
- friend struct ModelData
-
virtual ~Data() = default