2#include "TrajectoryCrossSectionsComponent.h"
6void Cogs::Core::TrajectoryCrossSectionsComponent::registerType()
14 TypeDatabase::createType<TrajectoryCrossSectionsComponent::Parameterization>()
15 .setEnumerators(enumerators);
18 Field(
Name(
"trajectory"), &TrajectoryCrossSectionsComponent::trajectory),
25 Field(
Name(
"parameterization"), &TrajectoryCrossSectionsComponent::parameterization),
26 Field(
Name(
"shape"), &TrajectoryCrossSectionsComponent::shape),
29 TypeDatabase::createType<TrajectoryCrossSectionsComponent>()
Field definition describing a single data member of a data structure.
Contains reflection support.
float startMeasuredDepth
Spine of the tubular shape.
int samples
Number of samples around the circumference.
@ CoordLengthOverCircumference
U maps to [0,1) around circumference, V is coordlength divided by circumference.
@ None
No texture coordinates are generated.
@ UnitSquare
Unit square mapped over shape.
float outerRadius
The outer radius of the tubular shape, used for all shapes.
float stopMeasuredDepth
Measured depth along trajectory where casing stops.
float innerRadius
The inner radius of the tubular shape, only used for Hollow shape.
float radiusScale
Factor by which to scale the inner and outer radius.
Represents an unique name.