3#include "LoftedCrossSectionsComponent.h"
20 std::shared_ptr<ComponentModel::Entity> trajectory;
28 LoftedCrossSectionsComponent::Shape shape = LoftedCrossSectionsComponent::Shape::Shell;
30 static void registerType();
39 return "TrajectoryCrossSectionsComponent";
43Cogs::StringView getName<Cogs::Core::TrajectoryCrossSectionsComponent::Parameterization>()
45 return "Parameterization";
Base class for Component instances.
Provides a weakly referenced view over the contents of a string.
Contains all Cogs related functionality.
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.