载入中...
搜索中...
未找到
eve::procgen::PointSet类 参考

Script-friendly collection of attributed 3D samples. 更多...

#include <PointSet.h>

Public 成员函数

int getCount () const
 Returns the count.
 
bool empty () const
 Empty.
 
void clear ()
 Clears .
 
void reserve (std::size_t count)
 Reserve point storage without changing point or attribute row counts.
 
int appendPoint (ProcgenPoint point)
 Append a point with an empty attribute row and return its row index.
 
Result< int > appendPointFrom (const PointSet &source, std::size_t sourceIndex)
 Append a point and its attributes from another set.
 
Result< void > clearPointAttributes (std::size_t index)
 Clear all metadata values on an existing point while retaining the set schema.
 
int add (float x, float y, float z)
 
void setPosition (int index, float x, float y, float z)
 Sets the position.
 
float getX (int index) const
 Returns the x.
 
float getY (int index) const
 Returns the y.
 
float getZ (int index) const
 Returns the z.
 
void setNormal (int index, float x, float y, float z)
 Sets the normal.
 
float getNormalX (int index) const
 Returns the normal x.
 
float getNormalY (int index) const
 Returns the normal y.
 
float getNormalZ (int index) const
 Returns the normal z.
 
void setYaw (int index, float yaw)
 Sets the yaw.
 
float getYaw (int index) const
 Returns the yaw.
 
void setRotation (int index, float pitch, float yaw, float roll)
 Set the point's local Euler rotation in degrees.
 
float getPitch (int index) const
 Return the point's local pitch in degrees.
 
float getRoll (int index) const
 Return the point's local roll in degrees.
 
void setScale (int index, float x, float y, float z)
 Sets the scale.
 
float getScaleX (int index) const
 Returns the scale x.
 
float getScaleY (int index) const
 Returns the scale y.
 
float getScaleZ (int index) const
 Returns the scale z.
 
void setBounds (int index, float minX, float minY, float minZ, float maxX, float maxY, float maxZ)
 Set local-space point bounds before scale and rotation are applied.
 
float getBoundsMinX (int index) const
 Return the local-space minimum X bound.
 
float getBoundsMinY (int index) const
 Return the local-space minimum Y bound.
 
float getBoundsMinZ (int index) const
 Return the local-space minimum Z bound.
 
float getBoundsMaxX (int index) const
 Return the local-space maximum X bound.
 
float getBoundsMaxY (int index) const
 Return the local-space maximum Y bound.
 
float getBoundsMaxZ (int index) const
 Return the local-space maximum Z bound.
 
void setColor (int index, float red, float green, float blue, float alpha)
 Set the normalized linear RGBA point color.
 
float getColorR (int index) const
 Return the point's linear red channel.
 
float getColorG (int index) const
 Return the point's linear green channel.
 
float getColorB (int index) const
 Return the point's linear blue channel.
 
float getColorA (int index) const
 Return the point's linear alpha channel.
 
void setSteepness (int index, float steepness)
 Set normalized surface steepness metadata in the inclusive range [0, 1].
 
float getSteepness (int index) const
 Return normalized point steepness metadata.
 
void setDensity (int index, float density)
 Sets the density.
 
float getDensity (int index) const
 Returns the density.
 
void setPointSeed (int index, uint32_t seed)
 Sets the point seed.
 
uint32_t getPointSeed (int index) const
 Returns the point seed.
 
std::uint64_t getPointId (int index) const
 Return the stable point identity, or zero when it has not been assigned.
 
Result< void > trySetPointId (int index, std::uint64_t id)
 Assign a unique non-zero point identity without mutating on failure.
 
Result< void > assignPointIds (std::uint64_t namespaceId)
 Fill zero identities deterministically and reject pre-existing duplicates.
 
Result< void > trySetFloatAttribute (int index, const std::string &name, float value)
 Canonical checked float metadata write.
 
void setFloatAttribute (int index, const std::string &name, float value)
 Compatibility-only unchecked script setter; canonical code uses trySetFloatAttribute.
 
float getFloatAttribute (int index, const std::string &name, float fallback) const
 Returns the float attribute.
 
bool hasFloatAttribute (int index, const std::string &name) const
 True when float attribute.
 
Result< void > trySetIntAttribute (int index, const std::string &name, std::int64_t value)
 Canonical checked signed integer metadata write.
 
void setIntAttribute (int index, const std::string &name, std::int64_t value)
 Compatibility-only unchecked script setter; canonical code uses trySetIntAttribute.
 
std::int64_t getIntAttribute (int index, const std::string &name, std::int64_t fallback) const
 Read signed integer metadata or return the caller-provided default when absent.
 
bool hasIntAttribute (int index, const std::string &name) const
 Test whether signed integer metadata exists.
 
Result< void > trySetBoolAttribute (int index, const std::string &name, bool value)
 Canonical checked Boolean metadata write.
 
void setBoolAttribute (int index, const std::string &name, bool value)
 Compatibility-only unchecked script setter; canonical code uses trySetBoolAttribute.
 
bool getBoolAttribute (int index, const std::string &name, bool fallback) const
 Read boolean metadata or return the caller-provided default when absent.
 
bool hasBoolAttribute (int index, const std::string &name) const
 Test whether boolean metadata exists.
 
Result< void > trySetVectorAttribute (int index, const std::string &name, float x, float y, float z)
 Canonical checked vector metadata write.
 
void setVectorAttribute (int index, const std::string &name, float x, float y, float z)
 Compatibility-only unchecked script setter; canonical code uses trySetVectorAttribute.
 
float getVectorAttributeX (int index, const std::string &name, float fallback) const
 Read the X component of vector metadata or the caller-provided default.
 
float getVectorAttributeY (int index, const std::string &name, float fallback) const
 Read the Y component of vector metadata or the caller-provided default.
 
float getVectorAttributeZ (int index, const std::string &name, float fallback) const
 Read the Z component of vector metadata or the caller-provided default.
 
bool hasVectorAttribute (int index, const std::string &name) const
 Test whether vector metadata exists.
 
Result< void > trySetStringAttribute (int index, const std::string &name, const std::string &value)
 Canonical checked string metadata write.
 
void setStringAttribute (int index, const std::string &name, const std::string &value)
 Compatibility-only unchecked script setter; canonical code uses trySetStringAttribute.
 
std::string getStringAttribute (int index, const std::string &name, const std::string &fallback) const
 Returns the string attribute.
 
bool hasStringAttribute (int index, const std::string &name) const
 True when string attribute.
 
std::string getAttributeType (int index, const std::string &name) const
 Return float, int, bool, vector, string, or empty when the attribute is absent.
 
const std::vector< ProcgenPoint > & points () const
 Borrow immutable point rows; structural ownership remains with this set.
 
ProcgenPoint & mutablePoint (std::size_t index)
 Mutably access one existing point without changing row structure.
 
const AttributeTable & attributes () const noexcept
 Borrow the authoritative schema-bearing attribute table.
 
const AttributeTable & dataAttributes () const noexcept
 Borrow the single-row @Data domain attribute table (graph/set metadata). Row 0 is the authoritative Data domain; empty until the first Data write.
 
AttributeTable & mutableDataAttributes () noexcept
 Mutably access the @Data domain table; callers must keep rowCount 0 or 1.
 
Result< void > tryRenameAttribute (const std::string &from, const std::string &to)
 Rename one metadata column on this set.
 
Result< void > tryDeleteAttribute (const std::string &name)
 Delete one metadata column on this set.
 
Result< void > tryCopyAttribute (const std::string &from, const std::string &to)
 Copy one metadata column onto another name on this set.
 

详细描述

Script-friendly collection of attributed 3D samples.

Operations exposed by Procgen return new PointSet instances instead of mutating their input, so named intermediate values remain inspectable after a hot reload and can safely be reused by more than one pipeline branch.

在文件 PointSet.h 第 59 行定义.

成员函数说明

◆ add()

int eve::procgen::PointSet::add ( float  x,
float  y,
float  z 
)

在文件 PointSet.cpp 第 98 行定义.

引用了 appendPoint(), point, x, eve::procgen::ProcgenPoint::x, y , 以及 z.

被这些函数引用 eve::procgen::road::detail::bakeTrafficControlPoints().

◆ appendPoint()

int eve::procgen::PointSet::appendPoint ( ProcgenPoint  point)

Append a point with an empty attribute row and return its row index.

在文件 PointSet.cpp 第 63 行定义.

引用了 eve::procgen::AttributeTable::appendRow(), EV_ASSERT , 以及 point.

被这些函数引用 add() , 以及 eve::procgen::RuntimeGeneration::deserializeCell().

◆ appendPointFrom()

Result< int > eve::procgen::PointSet::appendPointFrom ( const PointSet &  source,
std::size_t  sourceIndex 
)

◆ assignPointIds()

Result< void > eve::procgen::PointSet::assignPointIds ( std::uint64_t  namespaceId)

Fill zero identities deterministically and reject pre-existing duplicates.

在文件 PointSet.cpp 第 311 行定义.

引用了 eve::Conflict, eve::procgen::derivePointId(), eve::Diagnostic::error(), eve::Result< T >::failure(), eve::InvalidArgument, occupied, point , 以及 eve::Result< T >::success().

被这些函数引用 eve::procgen::RuntimeGeneration::migrateCellPointIds().

◆ attributes()

const AttributeTable & eve::procgen::PointSet::attributes ( ) const
inlinenoexcept

◆ clear()

void eve::procgen::PointSet::clear ( )

Clears .

在文件 PointSet.cpp 第 51 行定义.

引用了 eve::procgen::AttributeTable::clear().

◆ clearPointAttributes()

Result< void > eve::procgen::PointSet::clearPointAttributes ( std::size_t  index)

Clear all metadata values on an existing point while retaining the set schema.

在文件 PointSet.cpp 第 86 行定义.

引用了 eve::procgen::AttributeTable::clearRow(), eve::Diagnostic::error(), eve::Result< T >::failure(), index , 以及 eve::InvalidArgument.

◆ dataAttributes()

const AttributeTable & eve::procgen::PointSet::dataAttributes ( ) const
inlinenoexcept

Borrow the single-row @Data domain attribute table (graph/set metadata). Row 0 is the authoritative Data domain; empty until the first Data write.

在文件 PointSet.h 第 221 行定义.

◆ empty()

◆ getAttributeType()

std::string eve::procgen::PointSet::getAttributeType ( int  index,
const std::string &  name 
) const

Return float, int, bool, vector, string, or empty when the attribute is absent.

在文件 PointSet.cpp 第 454 行定义.

引用了 eve::procgen::AttributeTable::has(), index, name, eve::procgen::procgenAttributeTypeName(), type , 以及 eve::procgen::AttributeTable::typeOf().

◆ getBoolAttribute()

bool eve::procgen::PointSet::getBoolAttribute ( int  index,
const std::string &  name,
bool  fallback 
) const

Read boolean metadata or return the caller-provided default when absent.

在文件 PointSet.cpp 第 383 行定义.

引用了 eve::procgen::AttributeTable::getBool(), index, name , 以及 value.

被这些函数引用 eve::procgen::selectPointFloatAttribute().

◆ getBoundsMaxX()

float eve::procgen::PointSet::getBoundsMaxX ( int  index) const

Return the local-space maximum X bound.

在文件 PointSet.cpp 第 226 行定义.

引用了 index , 以及 point.

◆ getBoundsMaxY()

float eve::procgen::PointSet::getBoundsMaxY ( int  index) const

Return the local-space maximum Y bound.

在文件 PointSet.cpp 第 230 行定义.

引用了 index , 以及 point.

◆ getBoundsMaxZ()

float eve::procgen::PointSet::getBoundsMaxZ ( int  index) const

Return the local-space maximum Z bound.

在文件 PointSet.cpp 第 234 行定义.

引用了 index , 以及 point.

◆ getBoundsMinX()

float eve::procgen::PointSet::getBoundsMinX ( int  index) const

Return the local-space minimum X bound.

在文件 PointSet.cpp 第 214 行定义.

引用了 index , 以及 point.

◆ getBoundsMinY()

float eve::procgen::PointSet::getBoundsMinY ( int  index) const

Return the local-space minimum Y bound.

在文件 PointSet.cpp 第 218 行定义.

引用了 index , 以及 point.

◆ getBoundsMinZ()

float eve::procgen::PointSet::getBoundsMinZ ( int  index) const

Return the local-space minimum Z bound.

在文件 PointSet.cpp 第 222 行定义.

引用了 index , 以及 point.

◆ getColorA()

float eve::procgen::PointSet::getColorA ( int  index) const

Return the point's linear alpha channel.

在文件 PointSet.cpp 第 260 行定义.

引用了 index , 以及 point.

◆ getColorB()

float eve::procgen::PointSet::getColorB ( int  index) const

Return the point's linear blue channel.

在文件 PointSet.cpp 第 256 行定义.

引用了 index , 以及 point.

◆ getColorG()

float eve::procgen::PointSet::getColorG ( int  index) const

Return the point's linear green channel.

在文件 PointSet.cpp 第 252 行定义.

引用了 index , 以及 point.

◆ getColorR()

float eve::procgen::PointSet::getColorR ( int  index) const

Return the point's linear red channel.

在文件 PointSet.cpp 第 248 行定义.

引用了 index , 以及 point.

◆ getCount()

◆ getDensity()

float eve::procgen::PointSet::getDensity ( int  index) const

Returns the density.

在文件 PointSet.cpp 第 278 行定义.

引用了 index , 以及 p.

◆ getFloatAttribute()

float eve::procgen::PointSet::getFloatAttribute ( int  index,
const std::string &  name,
float  fallback 
) const

Returns the float attribute.

在文件 PointSet.cpp 第 343 行定义.

引用了 eve::procgen::AttributeTable::getFloat(), index, name , 以及 value.

◆ getIntAttribute()

std::int64_t eve::procgen::PointSet::getIntAttribute ( int  index,
const std::string &  name,
std::int64_t  fallback 
) const

Read signed integer metadata or return the caller-provided default when absent.

在文件 PointSet.cpp 第 363 行定义.

引用了 eve::procgen::AttributeTable::getInt(), index, name , 以及 value.

◆ getNormalX()

float eve::procgen::PointSet::getNormalX ( int  index) const

Returns the normal x.

在文件 PointSet.cpp 第 143 行定义.

引用了 index , 以及 p.

◆ getNormalY()

float eve::procgen::PointSet::getNormalY ( int  index) const

Returns the normal y.

在文件 PointSet.cpp 第 147 行定义.

引用了 index , 以及 p.

◆ getNormalZ()

float eve::procgen::PointSet::getNormalZ ( int  index) const

Returns the normal z.

在文件 PointSet.cpp 第 151 行定义.

引用了 index , 以及 p.

◆ getPitch()

float eve::procgen::PointSet::getPitch ( int  index) const

Return the point's local pitch in degrees.

在文件 PointSet.cpp 第 172 行定义.

引用了 index , 以及 point.

◆ getPointId()

std::uint64_t eve::procgen::PointSet::getPointId ( int  index) const

Return the stable point identity, or zero when it has not been assigned.

在文件 PointSet.cpp 第 290 行定义.

引用了 index , 以及 point.

被这些函数引用 eve::procgen::transferPointAttribute().

◆ getPointSeed()

uint32_t eve::procgen::PointSet::getPointSeed ( int  index) const

Returns the point seed.

在文件 PointSet.cpp 第 285 行定义.

引用了 index, p , 以及 u.

◆ getRoll()

float eve::procgen::PointSet::getRoll ( int  index) const

Return the point's local roll in degrees.

在文件 PointSet.cpp 第 177 行定义.

引用了 index , 以及 point.

◆ getScaleX()

float eve::procgen::PointSet::getScaleX ( int  index) const

Returns the scale x.

在文件 PointSet.cpp 第 190 行定义.

引用了 index , 以及 p.

◆ getScaleY()

float eve::procgen::PointSet::getScaleY ( int  index) const

Returns the scale y.

在文件 PointSet.cpp 第 194 行定义.

引用了 index , 以及 p.

◆ getScaleZ()

float eve::procgen::PointSet::getScaleZ ( int  index) const

Returns the scale z.

在文件 PointSet.cpp 第 198 行定义.

引用了 index , 以及 p.

◆ getSteepness()

float eve::procgen::PointSet::getSteepness ( int  index) const

Return normalized point steepness metadata.

在文件 PointSet.cpp 第 269 行定义.

引用了 index , 以及 point.

◆ getStringAttribute()

std::string eve::procgen::PointSet::getStringAttribute ( int  index,
const std::string &  name,
const std::string &  fallback 
) const

Returns the string attribute.

在文件 PointSet.cpp 第 433 行定义.

引用了 eve::procgen::AttributeTable::getString(), index, name , 以及 value.

◆ getVectorAttributeX()

float eve::procgen::PointSet::getVectorAttributeX ( int  index,
const std::string &  name,
float  fallback 
) const

Read the X component of vector metadata or the caller-provided default.

在文件 PointSet.cpp 第 403 行定义.

引用了 eve::procgen::AttributeTable::getVector(), index, name , 以及 value.

◆ getVectorAttributeY()

float eve::procgen::PointSet::getVectorAttributeY ( int  index,
const std::string &  name,
float  fallback 
) const

Read the Y component of vector metadata or the caller-provided default.

在文件 PointSet.cpp 第 408 行定义.

引用了 eve::procgen::AttributeTable::getVector(), index, name , 以及 value.

◆ getVectorAttributeZ()

float eve::procgen::PointSet::getVectorAttributeZ ( int  index,
const std::string &  name,
float  fallback 
) const

Read the Z component of vector metadata or the caller-provided default.

在文件 PointSet.cpp 第 413 行定义.

引用了 eve::procgen::AttributeTable::getVector(), index, name , 以及 value.

◆ getX()

float eve::procgen::PointSet::getX ( int  index) const

Returns the x.

在文件 PointSet.cpp 第 122 行定义.

引用了 index , 以及 p.

◆ getY()

float eve::procgen::PointSet::getY ( int  index) const

Returns the y.

在文件 PointSet.cpp 第 126 行定义.

引用了 index , 以及 p.

◆ getYaw()

float eve::procgen::PointSet::getYaw ( int  index) const

Returns the yaw.

在文件 PointSet.cpp 第 159 行定义.

引用了 index , 以及 p.

◆ getZ()

float eve::procgen::PointSet::getZ ( int  index) const

Returns the z.

在文件 PointSet.cpp 第 130 行定义.

引用了 index , 以及 p.

◆ hasBoolAttribute()

bool eve::procgen::PointSet::hasBoolAttribute ( int  index,
const std::string &  name 
) const

Test whether boolean metadata exists.

在文件 PointSet.cpp 第 388 行定义.

引用了 eve::procgen::AttributeTable::getBool(), index , 以及 name.

◆ hasFloatAttribute()

bool eve::procgen::PointSet::hasFloatAttribute ( int  index,
const std::string &  name 
) const

True when float attribute.

在文件 PointSet.cpp 第 348 行定义.

引用了 eve::procgen::AttributeTable::getFloat(), index , 以及 name.

◆ hasIntAttribute()

bool eve::procgen::PointSet::hasIntAttribute ( int  index,
const std::string &  name 
) const

Test whether signed integer metadata exists.

在文件 PointSet.cpp 第 368 行定义.

引用了 eve::procgen::AttributeTable::getInt(), index , 以及 name.

◆ hasStringAttribute()

bool eve::procgen::PointSet::hasStringAttribute ( int  index,
const std::string &  name 
) const

True when string attribute.

在文件 PointSet.cpp 第 438 行定义.

引用了 eve::procgen::AttributeTable::getString(), index , 以及 name.

◆ hasVectorAttribute()

bool eve::procgen::PointSet::hasVectorAttribute ( int  index,
const std::string &  name 
) const

Test whether vector metadata exists.

在文件 PointSet.cpp 第 418 行定义.

引用了 eve::procgen::AttributeTable::getVector(), index , 以及 name.

◆ mutableDataAttributes()

AttributeTable & eve::procgen::PointSet::mutableDataAttributes ( )
inlinenoexcept

Mutably access the @Data domain table; callers must keep rowCount 0 or 1.

在文件 PointSet.h 第 223 行定义.

◆ mutablePoint()

ProcgenPoint & eve::procgen::PointSet::mutablePoint ( std::size_t  index)

Mutably access one existing point without changing row structure.

在文件 PointSet.cpp 第 93 行定义.

引用了 EV_PARAM_CHECK , 以及 index.

被这些函数引用 eve::procgen::SpatialData::project(), eve::procgen::projectPointsToHeightmap(), eve::procgen::remapPointDensity() , 以及 eve::procgen::transformPointSet3D().

◆ points()

◆ reserve()

◆ setBoolAttribute()

void eve::procgen::PointSet::setBoolAttribute ( int  index,
const std::string &  name,
bool  value 
)

Compatibility-only unchecked script setter; canonical code uses trySetBoolAttribute.

在文件 PointSet.cpp 第 379 行定义.

引用了 eve::Result< void >::ignore(), index, name, trySetBoolAttribute() , 以及 value.

◆ setBounds()

void eve::procgen::PointSet::setBounds ( int  index,
float  minX,
float  minY,
float  minZ,
float  maxX,
float  maxY,
float  maxZ 
)

Set local-space point bounds before scale and rotation are applied.

在文件 PointSet.cpp 第 203 行定义.

引用了 index , 以及 point.

◆ setColor()

void eve::procgen::PointSet::setColor ( int  index,
float  red,
float  green,
float  blue,
float  alpha 
)

Set the normalized linear RGBA point color.

在文件 PointSet.cpp 第 239 行定义.

引用了 index , 以及 point.

◆ setDensity()

void eve::procgen::PointSet::setDensity ( int  index,
float  density 
)

Sets the density.

在文件 PointSet.cpp 第 274 行定义.

引用了 density, index , 以及 point.

◆ setFloatAttribute()

void eve::procgen::PointSet::setFloatAttribute ( int  index,
const std::string &  name,
float  value 
)

Compatibility-only unchecked script setter; canonical code uses trySetFloatAttribute.

在文件 PointSet.cpp 第 339 行定义.

引用了 eve::Result< void >::ignore(), index, name, trySetFloatAttribute() , 以及 value.

◆ setIntAttribute()

void eve::procgen::PointSet::setIntAttribute ( int  index,
const std::string &  name,
std::int64_t  value 
)

Compatibility-only unchecked script setter; canonical code uses trySetIntAttribute.

在文件 PointSet.cpp 第 359 行定义.

引用了 eve::Result< void >::ignore(), index, name, trySetIntAttribute() , 以及 value.

◆ setNormal()

void eve::procgen::PointSet::setNormal ( int  index,
float  x,
float  y,
float  z 
)

Sets the normal.

在文件 PointSet.cpp 第 135 行定义.

引用了 index, point, x, y , 以及 z.

被这些函数引用 eve::procgen::road::detail::bakeTrafficControlPoints().

◆ setPointSeed()

void eve::procgen::PointSet::setPointSeed ( int  index,
uint32_t  seed 
)

Sets the point seed.

在文件 PointSet.cpp 第 282 行定义.

引用了 index, p , 以及 seed.

被这些函数引用 eve::procgen::road::detail::bakeTrafficControlPoints().

◆ setPosition()

void eve::procgen::PointSet::setPosition ( int  index,
float  x,
float  y,
float  z 
)

Sets the position.

在文件 PointSet.cpp 第 114 行定义.

引用了 index, point, x, y , 以及 z.

◆ setRotation()

void eve::procgen::PointSet::setRotation ( int  index,
float  pitch,
float  yaw,
float  roll 
)

Set the point's local Euler rotation in degrees.

在文件 PointSet.cpp 第 164 行定义.

引用了 index, pitch, point, roll , 以及 yaw.

◆ setScale()

void eve::procgen::PointSet::setScale ( int  index,
float  x,
float  y,
float  z 
)

Sets the scale.

在文件 PointSet.cpp 第 182 行定义.

引用了 index, point, x, y , 以及 z.

◆ setSteepness()

void eve::procgen::PointSet::setSteepness ( int  index,
float  steepness 
)

Set normalized surface steepness metadata in the inclusive range [0, 1].

在文件 PointSet.cpp 第 265 行定义.

引用了 index , 以及 point.

◆ setStringAttribute()

void eve::procgen::PointSet::setStringAttribute ( int  index,
const std::string &  name,
const std::string &  value 
)

Compatibility-only unchecked script setter; canonical code uses trySetStringAttribute.

在文件 PointSet.cpp 第 429 行定义.

引用了 eve::Result< void >::ignore(), index, name, trySetStringAttribute() , 以及 value.

◆ setVectorAttribute()

void eve::procgen::PointSet::setVectorAttribute ( int  index,
const std::string &  name,
float  x,
float  y,
float  z 
)

Compatibility-only unchecked script setter; canonical code uses trySetVectorAttribute.

在文件 PointSet.cpp 第 399 行定义.

引用了 eve::Result< void >::ignore(), index, name, trySetVectorAttribute(), x, y , 以及 z.

◆ setYaw()

void eve::procgen::PointSet::setYaw ( int  index,
float  yaw 
)

Sets the yaw.

在文件 PointSet.cpp 第 156 行定义.

引用了 index, p , 以及 yaw.

被这些函数引用 eve::procgen::road::detail::bakeTrafficControlPoints().

◆ tryCopyAttribute()

Result< void > eve::procgen::PointSet::tryCopyAttribute ( const std::string &  from,
const std::string &  to 
)

Copy one metadata column onto another name on this set.

返回
AttributeTable copy diagnostics without mutating on failure.

在文件 PointSet.cpp 第 450 行定义.

引用了 eve::procgen::AttributeTable::copyColumn(), from , 以及 to.

被这些函数引用 eve::procgen::copyPointAttribute().

◆ tryDeleteAttribute()

Result< void > eve::procgen::PointSet::tryDeleteAttribute ( const std::string &  name)

Delete one metadata column on this set.

返回
AttributeTable remove diagnostics without mutating on failure.

在文件 PointSet.cpp 第 446 行定义.

引用了 name , 以及 eve::procgen::AttributeTable::removeColumn().

被这些函数引用 eve::procgen::deletePointAttribute().

◆ tryRenameAttribute()

Result< void > eve::procgen::PointSet::tryRenameAttribute ( const std::string &  from,
const std::string &  to 
)

Rename one metadata column on this set.

返回
AttributeTable rename diagnostics without mutating on failure.

在文件 PointSet.cpp 第 442 行定义.

引用了 from, eve::procgen::AttributeTable::renameColumn() , 以及 to.

被这些函数引用 eve::procgen::renamePointAttribute().

◆ trySetBoolAttribute()

Result< void > eve::procgen::PointSet::trySetBoolAttribute ( int  index,
const std::string &  name,
bool  value 
)

◆ trySetFloatAttribute()

Result< void > eve::procgen::PointSet::trySetFloatAttribute ( int  index,
const std::string &  name,
float  value 
)

◆ trySetIntAttribute()

Result< void > eve::procgen::PointSet::trySetIntAttribute ( int  index,
const std::string &  name,
std::int64_t  value 
)

◆ trySetPointId()

Result< void > eve::procgen::PointSet::trySetPointId ( int  index,
std::uint64_t  id 
)

Assign a unique non-zero point identity without mutating on failure.

在文件 PointSet.cpp 第 295 行定义.

引用了 eve::Conflict, eve::Diagnostic::error(), eve::Result< T >::failure(), id, index, eve::InvalidArgument, point , 以及 eve::Result< T >::success().

被这些函数引用 eve::procgen::road::detail::bakeTrafficControlPoints().

◆ trySetStringAttribute()

Result< void > eve::procgen::PointSet::trySetStringAttribute ( int  index,
const std::string &  name,
const std::string &  value 
)

◆ trySetVectorAttribute()

Result< void > eve::procgen::PointSet::trySetVectorAttribute ( int  index,
const std::string &  name,
float  x,
float  y,
float  z 
)

该类的文档由以下文件生成: