Skip to content

Commit b40dd1b

Browse files
committed
Formatting and typo fix
1 parent 6c0a36b commit b40dd1b

60 files changed

Lines changed: 381 additions & 254 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Cesium3DTiles/generated/include/Cesium3DTiles/BufferSpec.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ struct CESIUM3DTILES_API BufferSpec : public CesiumUtility::ExtensibleObject {
6161

6262
protected:
6363
/**
64-
* @brief This class is not meant to be instantiated directly. Use @ref Buffer instead.
64+
* @brief This class is not meant to be instantiated directly. Use @ref Buffer
65+
* instead.
6566
*/
6667
BufferSpec() = default;
6768
friend struct Buffer;

Cesium3DTiles/generated/include/Cesium3DTiles/TilesetSpec.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ struct CESIUM3DTILES_API TilesetSpec : public CesiumUtility::ExtensibleObject {
137137

138138
protected:
139139
/**
140-
* @brief This class is not meant to be instantiated directly. Use @ref Tileset instead.
140+
* @brief This class is not meant to be instantiated directly. Use @ref
141+
* Tileset instead.
141142
*/
142143
TilesetSpec() = default;
143144
friend struct Tileset;

Cesium3DTiles/include/Cesium3DTiles/MetadataQuery.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Cesium3DTiles {
1313
* @brief Holds the details of a found property in a @ref MetadataEntity.
1414
*
1515
* Because this structure holds _references_ to the original @ref Schema and
16-
* @ref MetadataEntity instances, it will be invalided if either are
16+
* @ref MetadataEntity instances, it will be invalidated if either are
1717
* destroyed or modified. Continuing to access this result in that scenario will
1818
* result in undefined behavior.
1919
*/

Cesium3DTilesContent/include/Cesium3DTilesContent/GltfConverters.h

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ class CESIUM3DTILESCONTENT_API GltfConverters {
165165
* returned
166166
*
167167
* @param filePath The file path that contains the file extension.
168-
* @return The @ref ConverterFunction that is registered with the file extension.
168+
* @return The @ref ConverterFunction that is registered with the file
169+
* extension.
169170
*/
170171
static ConverterFunction
171172
getConverterByFileExtension(const std::string& filePath);
@@ -180,7 +181,8 @@ class CESIUM3DTILESCONTENT_API GltfConverters {
180181
* @ref GltfConverterResult from the input data.
181182
*
182183
* @param content The binary tile content that contains the magic header.
183-
* @return The @ref ConverterFunction that is registered with the magic header.
184+
* @return The @ref ConverterFunction that is registered with the magic
185+
* header.
184186
*/
185187
static ConverterFunction
186188
getConverterByMagic(const std::span<const std::byte>& content);
@@ -211,7 +213,8 @@ class CESIUM3DTILESCONTENT_API GltfConverters {
211213
* @param options The @ref CesiumGltfReader::GltfReaderOptions for how to
212214
* read a glTF.
213215
* @param assetFetcher An object that can perform recursive asset requests.
214-
* @return The @ref GltfConverterResult that stores the gltf model converted from the binary data.
216+
* @return The @ref GltfConverterResult that stores the gltf model converted
217+
* from the binary data.
215218
*/
216219
static CesiumAsync::Future<GltfConverterResult> convert(
217220
const std::string& filePath,
@@ -239,7 +242,8 @@ class CESIUM3DTILESCONTENT_API GltfConverters {
239242
* @param options The @ref CesiumGltfReader::GltfReaderOptions for how to
240243
* read a glTF.
241244
* @param assetFetcher An object that can perform recursive asset requests.
242-
* @return The @ref GltfConverterResult that stores the gltf model converted from the binary data.
245+
* @return The @ref GltfConverterResult that stores the gltf model converted
246+
* from the binary data.
243247
*/
244248
static CesiumAsync::Future<GltfConverterResult> convert(
245249
const std::span<const std::byte>& content,

Cesium3DTilesSelection/include/Cesium3DTilesSelection/BoundingVolume.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ estimateGlobeRectangle(
7575

7676
/**
7777
* @brief Returns the bounding region if the bounding volume is a
78-
* @ref CesiumGeospatial::BoundingRegion or a @ref CesiumGeospatial::BoundingRegionWithLooseFittingHeights.
78+
* @ref CesiumGeospatial::BoundingRegion or a @ref
79+
* CesiumGeospatial::BoundingRegionWithLooseFittingHeights.
7980
*
8081
* @param boundingVolume The bounding volume.
8182
* @return A pointer to the bounding region, or nullptr is the bounding volume
@@ -85,7 +86,8 @@ CESIUM3DTILESSELECTION_API const CesiumGeospatial::BoundingRegion*
8586
getBoundingRegionFromBoundingVolume(const BoundingVolume& boundingVolume);
8687

8788
/**
88-
* @brief Returns an oriented bounding box that contains the given @ref BoundingVolume.
89+
* @brief Returns an oriented bounding box that contains the given @ref
90+
* BoundingVolume.
8991
*
9092
* @param boundingVolume The bounding volume.
9193
* @param ellipsoid The ellipsoid used for this @ref BoundingVolume.

Cesium3DTilesSelection/include/Cesium3DTilesSelection/ITileExcluder.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ class ITileExcluder {
1313
virtual ~ITileExcluder() = default;
1414

1515
/**
16-
* @brief Indicates the start of a new frame, initiated with a call to @ref Tileset::updateView.
16+
* @brief Indicates the start of a new frame, initiated with a call to @ref
17+
* Tileset::updateView.
1718
*/
1819
virtual void startNewFrame() noexcept {}
1920

Cesium3DTilesSelection/include/Cesium3DTilesSelection/RasterMappedTo3DTile.h

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ namespace Cesium3DTilesSelection {
1717
class Tile;
1818

1919
/**
20-
* @brief The result of applying a @ref CesiumRasterOverlays::RasterOverlayTile to geometry.
20+
* @brief The result of applying a @ref CesiumRasterOverlays::RasterOverlayTile
21+
* to geometry.
2122
*
2223
* Instances of this class are used by a @ref Tile in order to map
23-
* imagery data that is given as @ref CesiumRasterOverlays::RasterOverlayTile instances
24-
* to the 2D region that is covered by the tile geometry.
24+
* imagery data that is given as @ref CesiumRasterOverlays::RasterOverlayTile
25+
* instances to the 2D region that is covered by the tile geometry.
2526
*/
2627
class RasterMappedTo3DTile final {
2728
public:
@@ -50,8 +51,8 @@ class RasterMappedTo3DTile final {
5051
/**
5152
* @brief Creates a new instance.
5253
*
53-
* @param pRasterTile The @ref CesiumRasterOverlays::RasterOverlayTile that is mapped to the
54-
* geometry.
54+
* @param pRasterTile The @ref CesiumRasterOverlays::RasterOverlayTile that is
55+
* mapped to the geometry.
5556
* @param textureCoordinateIndex The index of the texture coordinates to use
5657
* with this mapped raster overlay.
5758
*/
@@ -61,7 +62,8 @@ class RasterMappedTo3DTile final {
6162
int32_t textureCoordinateIndex);
6263

6364
/**
64-
* @brief Returns a @ref CesiumRasterOverlays::RasterOverlayTile that is currently loading.
65+
* @brief Returns a @ref CesiumRasterOverlays::RasterOverlayTile that is
66+
* currently loading.
6567
*
6668
* The caller has to check the exact state of this tile, using
6769
* @ref Tile::getState.
@@ -79,8 +81,8 @@ class RasterMappedTo3DTile final {
7981
}
8082

8183
/**
82-
* @brief Returns the @ref CesiumRasterOverlays::RasterOverlayTile that represents the imagery
83-
* data that is ready to render.
84+
* @brief Returns the @ref CesiumRasterOverlays::RasterOverlayTile that
85+
* represents the imagery data that is ready to render.
8486
*
8587
* This will be `nullptr` when the tile data has not yet been loaded.
8688
*
@@ -163,7 +165,8 @@ class RasterMappedTo3DTile final {
163165
* @param prepareRendererResources The @ref IPrepareRendererResources used to
164166
* create render resources for raster overlay
165167
* @param tile The owner tile.
166-
* @return The @ref CesiumRasterOverlays::RasterOverlayTile::MoreDetailAvailable state.
168+
* @return The @ref
169+
* CesiumRasterOverlays::RasterOverlayTile::MoreDetailAvailable state.
167170
*/
168171
CesiumRasterOverlays::RasterOverlayTile::MoreDetailAvailable
169172
update(IPrepareRendererResources& prepareRendererResources, Tile& tile);
@@ -184,7 +187,8 @@ class RasterMappedTo3DTile final {
184187
Tile& tile) noexcept;
185188

186189
/**
187-
* @brief Does a throttled load of the mapped @ref CesiumRasterOverlays::RasterOverlayTile.
190+
* @brief Does a throttled load of the mapped @ref
191+
* CesiumRasterOverlays::RasterOverlayTile.
188192
*
189193
* @return If the mapped tile is already in the process of loading or it has
190194
* already finished loading, this method does nothing and returns true. If too
@@ -195,13 +199,14 @@ class RasterMappedTo3DTile final {
195199
bool loadThrottled() noexcept;
196200

197201
/**
198-
* @brief Creates a maping between a @ref CesiumRasterOverlays::RasterOverlay and a @ref Tile.
199-
*
200-
* The returned mapping will be to a placeholder @ref CesiumRasterOverlays::RasterOverlayTile if
201-
* the overlay's tile provider is not yet ready (i.e. it's still a
202-
* placeholder) or if the overlap between the tile and the raster overlay
203-
* cannot yet be determined because the projected rectangle of the tile is not
204-
* yet known.
202+
* @brief Creates a maping between a @ref CesiumRasterOverlays::RasterOverlay
203+
* and a @ref Tile.
204+
*
205+
* The returned mapping will be to a placeholder @ref
206+
* CesiumRasterOverlays::RasterOverlayTile if the overlay's tile provider is
207+
* not yet ready (i.e. it's still a placeholder) or if the overlap between the
208+
* tile and the raster overlay cannot yet be determined because the projected
209+
* rectangle of the tile is not yet known.
205210
*
206211
* Returns a pointer to the created `RasterMappedTo3DTile` in the Tile's
207212
* @ref Tile::getMappedRasterTiles collection. Note that this pointer may

Cesium3DTilesSelection/include/Cesium3DTilesSelection/RasterOverlayCollection.h

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,16 @@ struct TileRasterOverlayStatus {
5656
};
5757

5858
/**
59-
* @brief A collection of @ref CesiumRasterOverlays::RasterOverlay instances that are associated
60-
* with a @ref Tileset.
59+
* @brief A collection of @ref CesiumRasterOverlays::RasterOverlay instances
60+
* that are associated with a @ref Tileset.
6161
*
6262
* The raster overlay instances may be added to the raster overlay collection
6363
* of a tileset that is returned with @ref Tileset::getOverlays. When the
64-
* tileset is loaded, one @ref CesiumRasterOverlays::RasterOverlayTileProvider will be created
65-
* for each raster overlay that had been added. The raster overlay tile provider
66-
* instances will be passed to the @ref CesiumRasterOverlays::RasterOverlayTile instances that
67-
* they create when the tiles are updated.
64+
* tileset is loaded, one @ref CesiumRasterOverlays::RasterOverlayTileProvider
65+
* will be created for each raster overlay that had been added. The raster
66+
* overlay tile provider instances will be passed to the @ref
67+
* CesiumRasterOverlays::RasterOverlayTile instances that they create when the
68+
* tiles are updated.
6869
*/
6970
class CESIUM3DTILESSELECTION_API RasterOverlayCollection final {
7071
public:
@@ -139,7 +140,8 @@ class CESIUM3DTILESSELECTION_API RasterOverlayCollection final {
139140
getActivatedOverlays() const noexcept;
140141

141142
/**
142-
* @brief Adds the given @ref CesiumRasterOverlays::RasterOverlay to this collection.
143+
* @brief Adds the given @ref CesiumRasterOverlays::RasterOverlay to this
144+
* collection.
143145
*
144146
* @param pOverlay The pointer to the overlay. This may not be `nullptr`.
145147
*/
@@ -207,7 +209,8 @@ class CESIUM3DTILESSELECTION_API RasterOverlayCollection final {
207209

208210
public:
209211
/**
210-
* @brief A constant iterator for @ref CesiumRasterOverlays::RasterOverlay instances.
212+
* @brief A constant iterator for @ref CesiumRasterOverlays::RasterOverlay
213+
* instances.
211214
*/
212215
using const_iterator = CesiumUtility::TransformIterator<
213216
GetOverlayFunctor,

Cesium3DTilesSelection/include/Cesium3DTilesSelection/RasterizedPolygonsTileExcluder.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ namespace Cesium3DTilesSelection {
1212

1313
/**
1414
* @brief When provided to @ref TilesetOptions::excluders, uses the polygons
15-
* owned by a @ref CesiumRasterOverlays::RasterizedPolygonsOverlay to exclude tiles that are
16-
* entirely inside any of the polygon from loading. This is useful when the
17-
* polygons will be used for clipping.
15+
* owned by a @ref CesiumRasterOverlays::RasterizedPolygonsOverlay to exclude
16+
* tiles that are entirely inside any of the polygon from loading. This is
17+
* useful when the polygons will be used for clipping.
1818
*/
1919
class CESIUM3DTILESSELECTION_API RasterizedPolygonsTileExcluder
2020
: public Cesium3DTilesSelection::ITileExcluder {

Cesium3DTilesSelection/include/Cesium3DTilesSelection/Tile.h

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ class CESIUM3DTILESSELECTION_API Tile final {
165165
* ID is changed in order to avoid reference count assertion failures at
166166
* tileset destruction.
167167
*
168-
* @param pLoader The @ref TilesetContentLoader that is assiocated with this tile.
168+
* @param pLoader The @ref TilesetContentLoader that is assiocated with this
169+
* tile.
169170
* @param tileID The ID of this tile. If it is an empty string, then the
170171
* external content will not be unloadable.
171172
* @param externalContent External content that is associated with this tile.
@@ -187,7 +188,8 @@ class CESIUM3DTILESSELECTION_API Tile final {
187188
* ID is changed in order to avoid reference count assertion failures at
188189
* tileset destruction.
189190
*
190-
* @param pLoader The @ref TilesetContentLoader that is assiocated with this tile.
191+
* @param pLoader The @ref TilesetContentLoader that is assiocated with this
192+
* tile.
191193
* @param tileID The ID of this tile. If it is an empty string, then the
192194
* empty content will not be unloadable.
193195
* @param emptyContent A content tag indicating that the tile has no content.
@@ -353,14 +355,15 @@ class CESIUM3DTILESSELECTION_API Tile final {
353355
/**
354356
* @brief Gets the tile's geometric error as if by calling
355357
* @ref getGeometricError, except that if the error is smaller than
356-
* @ref CesiumUtility::Math::Epsilon5 the returned geometric error is instead computed as
357-
* half of the parent tile's (non-zero) geometric error.
358+
* @ref CesiumUtility::Math::Epsilon5 the returned geometric error is instead
359+
* computed as half of the parent tile's (non-zero) geometric error.
358360
*
359361
* This is useful for determining when to refine what would ordinarily be a
360362
* leaf tile, for example to attach more detailed raster overlays to it.
361363
*
362364
* If this tile and all of its ancestors have a geometric error less than
363-
* @ref CesiumUtility::Math::Epsilon5, returns @ref CesiumUtility::Math::Epsilon5.
365+
* @ref CesiumUtility::Math::Epsilon5, returns @ref
366+
* CesiumUtility::Math::Epsilon5.
364367
*
365368
* @return The non-zero geometric error.
366369
*/

0 commit comments

Comments
 (0)