-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #165 from AnalyticalGraphicsInc/deletableProperty
Added new interfaces and reworked JSON schema.
- Loading branch information
Showing
511 changed files
with
14,098 additions
and
6,329 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
DotNet/CesiumLanguageWriter/Advanced/CesiumArcTypeValuePropertyAdaptor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using JetBrains.Annotations; | ||
|
||
namespace CesiumLanguageWriter.Advanced | ||
{ | ||
/// <summary> | ||
/// Adapts a class that implements <see cref="ICesiumArcTypeValuePropertyWriter"/> to implement | ||
/// <see cref="ICesiumPropertyWriter"/> for <see cref="CesiumArcType"/> values. | ||
/// </summary> | ||
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumArcTypeValuePropertyWriter"/> to adapt.</typeparam> | ||
public class CesiumArcTypeValuePropertyAdaptor<TFrom> : CesiumWriterAdaptor<TFrom, CesiumArcType> | ||
where TFrom : class, ICesiumArcTypeValuePropertyWriter | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance. | ||
/// </summary> | ||
/// <param name="parent">The instance to wrap.</param> | ||
/// <param name="writeValueCallback">The callback to write values of type <see cref="CesiumArcType"/>.</param> | ||
/// <param name="writeDeleteValueCallback">The callback to write an indication that the client should delete existing data.</param> | ||
public CesiumArcTypeValuePropertyAdaptor([NotNull] TFrom parent, | ||
[NotNull] CesiumWriterAdaptorWriteCallback<TFrom, CesiumArcType> writeValueCallback, | ||
[NotNull] CesiumWriterAdaptorWriteDeleteCallback<TFrom> writeDeleteValueCallback) | ||
: base(parent, writeValueCallback, writeDeleteValueCallback) | ||
{ | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
DotNet/CesiumLanguageWriter/Advanced/CesiumBooleanValuePropertyAdaptor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using JetBrains.Annotations; | ||
|
||
namespace CesiumLanguageWriter.Advanced | ||
{ | ||
/// <summary> | ||
/// Adapts a class that implements <see cref="ICesiumBooleanValuePropertyWriter"/> to implement | ||
/// <see cref="ICesiumPropertyWriter"/> for <see cref="bool"/> values. | ||
/// </summary> | ||
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumBooleanValuePropertyWriter"/> to adapt.</typeparam> | ||
public class CesiumBooleanValuePropertyAdaptor<TFrom> : CesiumWriterAdaptor<TFrom, bool> | ||
where TFrom : class, ICesiumBooleanValuePropertyWriter | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance. | ||
/// </summary> | ||
/// <param name="parent">The instance to wrap.</param> | ||
/// <param name="writeValueCallback">The callback to write values of type <see cref="bool"/>.</param> | ||
/// <param name="writeDeleteValueCallback">The callback to write an indication that the client should delete existing data.</param> | ||
public CesiumBooleanValuePropertyAdaptor([NotNull] TFrom parent, | ||
[NotNull] CesiumWriterAdaptorWriteCallback<TFrom, bool> writeValueCallback, | ||
[NotNull] CesiumWriterAdaptorWriteDeleteCallback<TFrom> writeDeleteValueCallback) | ||
: base(parent, writeValueCallback, writeDeleteValueCallback) | ||
{ | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
DotNet/CesiumLanguageWriter/Advanced/CesiumBoundingRectangleValuePropertyAdaptor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using JetBrains.Annotations; | ||
|
||
namespace CesiumLanguageWriter.Advanced | ||
{ | ||
/// <summary> | ||
/// Adapts a class that implements <see cref="ICesiumBoundingRectangleValuePropertyWriter"/> to implement | ||
/// <see cref="ICesiumInterpolatableValuePropertyWriter{TValue}"/> for <see cref="BoundingRectangle"/> values. | ||
/// </summary> | ||
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumBoundingRectangleValuePropertyWriter"/> to adapt.</typeparam> | ||
public class CesiumBoundingRectangleValuePropertyAdaptor<TFrom> : CesiumInterpolatableWriterAdaptor<TFrom, BoundingRectangle> | ||
where TFrom : class, ICesiumBoundingRectangleValuePropertyWriter | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance. | ||
/// </summary> | ||
/// <param name="parent">The instance to wrap.</param> | ||
/// <param name="writeValueCallback">The callback to write values of type <see cref="BoundingRectangle"/>.</param> | ||
/// <param name="writeSamplesCallback">The callback to write samples of type <see cref="BoundingRectangle"/>.</param> | ||
/// <param name="writeDeleteValueCallback">The callback to write an indication that the client should delete existing data.</param> | ||
public CesiumBoundingRectangleValuePropertyAdaptor([NotNull] TFrom parent, | ||
[NotNull] CesiumWriterAdaptorWriteCallback<TFrom, BoundingRectangle> writeValueCallback, | ||
[NotNull] CesiumWriterAdaptorWriteSamplesCallback<TFrom, BoundingRectangle> writeSamplesCallback, | ||
[NotNull] CesiumWriterAdaptorWriteDeleteCallback<TFrom> writeDeleteValueCallback) | ||
: base(parent, writeValueCallback, writeSamplesCallback, writeDeleteValueCallback) | ||
{ | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
DotNet/CesiumLanguageWriter/Advanced/CesiumCartesian2ValuePropertyAdaptor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using JetBrains.Annotations; | ||
|
||
namespace CesiumLanguageWriter.Advanced | ||
{ | ||
/// <summary> | ||
/// Adapts a class that implements <see cref="ICesiumCartesian2ValuePropertyWriter"/> to implement | ||
/// <see cref="ICesiumInterpolatableValuePropertyWriter{TValue}"/> for <see cref="Rectangular"/> values. | ||
/// </summary> | ||
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumCartesian2ValuePropertyWriter"/> to adapt.</typeparam> | ||
public class CesiumCartesian2ValuePropertyAdaptor<TFrom> : CesiumInterpolatableWriterAdaptor<TFrom, Rectangular> | ||
where TFrom : class, ICesiumCartesian2ValuePropertyWriter | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance. | ||
/// </summary> | ||
/// <param name="parent">The instance to wrap.</param> | ||
/// <param name="writeValueCallback">The callback to write values of type <see cref="Rectangular"/>.</param> | ||
/// <param name="writeSamplesCallback">The callback to write samples of type <see cref="Rectangular"/>.</param> | ||
/// <param name="writeDeleteValueCallback">The callback to write an indication that the client should delete existing data.</param> | ||
public CesiumCartesian2ValuePropertyAdaptor([NotNull] TFrom parent, | ||
[NotNull] CesiumWriterAdaptorWriteCallback<TFrom, Rectangular> writeValueCallback, | ||
[NotNull] CesiumWriterAdaptorWriteSamplesCallback<TFrom, Rectangular> writeSamplesCallback, | ||
[NotNull] CesiumWriterAdaptorWriteDeleteCallback<TFrom> writeDeleteValueCallback) | ||
: base(parent, writeValueCallback, writeSamplesCallback, writeDeleteValueCallback) | ||
{ | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
DotNet/CesiumLanguageWriter/Advanced/CesiumCartesian3ListValuePropertyAdaptor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using System.Collections.Generic; | ||
using JetBrains.Annotations; | ||
|
||
namespace CesiumLanguageWriter.Advanced | ||
{ | ||
/// <summary> | ||
/// Adapts a class that implements <see cref="ICesiumCartesian3ListValuePropertyWriter"/> to implement | ||
/// <see cref="ICesiumPropertyWriter"/> for a list of <see cref="Cartesian"/> values. | ||
/// </summary> | ||
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumCartesian3ListValuePropertyWriter"/> to adapt.</typeparam> | ||
public class CesiumCartesian3ListValuePropertyAdaptor<TFrom> : CesiumWriterAdaptor<TFrom, IEnumerable<Cartesian>> | ||
where TFrom : class, ICesiumCartesian3ListValuePropertyWriter | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance. | ||
/// </summary> | ||
/// <param name="parent">The instance to wrap.</param> | ||
/// <param name="writeValueCallback">The callback to write a list of <see cref="Cartesian"/> values.</param> | ||
/// <param name="writeDeleteValueCallback">The callback to write an indication that the client should delete existing data.</param> | ||
public CesiumCartesian3ListValuePropertyAdaptor([NotNull] TFrom parent, | ||
[NotNull] CesiumWriterAdaptorWriteCallback<TFrom, IEnumerable<Cartesian>> writeValueCallback, | ||
[NotNull] CesiumWriterAdaptorWriteDeleteCallback<TFrom> writeDeleteValueCallback) | ||
: base(parent, writeValueCallback, writeDeleteValueCallback) | ||
{ | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
DotNet/CesiumLanguageWriter/Advanced/CesiumCartesian3ValuePropertyAdaptor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using JetBrains.Annotations; | ||
|
||
namespace CesiumLanguageWriter.Advanced | ||
{ | ||
/// <summary> | ||
/// Adapts a class that implements <see cref="ICesiumCartesian3ValuePropertyWriter"/> to implement | ||
/// <see cref="ICesiumInterpolatableValuePropertyWriter{TValue}"/> for <see cref="Cartesian"/> values. | ||
/// </summary> | ||
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumCartesian3ValuePropertyWriter"/> to adapt.</typeparam> | ||
public class CesiumCartesian3ValuePropertyAdaptor<TFrom> : CesiumInterpolatableWriterAdaptor<TFrom, Cartesian> | ||
where TFrom : class, ICesiumCartesian3ValuePropertyWriter | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance. | ||
/// </summary> | ||
/// <param name="parent">The instance to wrap.</param> | ||
/// <param name="writeValueCallback">The callback to write values of type <see cref="Cartesian"/>.</param> | ||
/// <param name="writeSamplesCallback">The callback to write samples of type <see cref="Cartesian"/>.</param> | ||
/// <param name="writeDeleteValueCallback">The callback to write an indication that the client should delete existing data.</param> | ||
public CesiumCartesian3ValuePropertyAdaptor([NotNull] TFrom parent, | ||
[NotNull] CesiumWriterAdaptorWriteCallback<TFrom, Cartesian> writeValueCallback, | ||
[NotNull] CesiumWriterAdaptorWriteSamplesCallback<TFrom, Cartesian> writeSamplesCallback, | ||
[NotNull] CesiumWriterAdaptorWriteDeleteCallback<TFrom> writeDeleteValueCallback) | ||
: base(parent, writeValueCallback, writeSamplesCallback, writeDeleteValueCallback) | ||
{ | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
DotNet/CesiumLanguageWriter/Advanced/CesiumCartesian3VelocityValuePropertyAdaptor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using JetBrains.Annotations; | ||
|
||
namespace CesiumLanguageWriter.Advanced | ||
{ | ||
/// <summary> | ||
/// Adapts a class that implements <see cref="ICesiumCartesian3VelocityValuePropertyWriter"/> to implement | ||
/// <see cref="ICesiumInterpolatableValuePropertyWriter{TValue}"/> for <see cref="Motion{Cartesian}"/> values. | ||
/// </summary> | ||
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumCartesian3VelocityValuePropertyWriter"/> to adapt.</typeparam> | ||
public class CesiumCartesian3VelocityValuePropertyAdaptor<TFrom> : CesiumInterpolatableWriterAdaptor<TFrom, Motion<Cartesian>> | ||
where TFrom : class, ICesiumCartesian3VelocityValuePropertyWriter | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance. | ||
/// </summary> | ||
/// <param name="parent">The instance to wrap.</param> | ||
/// <param name="writeValueCallback">The callback to write values of type <see cref="Motion{Cartesian}"/>.</param> | ||
/// <param name="writeSamplesCallback">The callback to write samples of type <see cref="Motion{Cartesian}"/>.</param> | ||
/// <param name="writeDeleteValueCallback">The callback to write an indication that the client should delete existing data.</param> | ||
public CesiumCartesian3VelocityValuePropertyAdaptor([NotNull] TFrom parent, | ||
[NotNull] CesiumWriterAdaptorWriteCallback<TFrom, Motion<Cartesian>> writeValueCallback, | ||
[NotNull] CesiumWriterAdaptorWriteSamplesCallback<TFrom, Motion<Cartesian>> writeSamplesCallback, | ||
[NotNull] CesiumWriterAdaptorWriteDeleteCallback<TFrom> writeDeleteValueCallback) | ||
: base(parent, writeValueCallback, writeSamplesCallback, writeDeleteValueCallback) | ||
{ | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
DotNet/CesiumLanguageWriter/Advanced/CesiumCartographicDegreesListValuePropertyAdaptor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using System.Collections.Generic; | ||
using JetBrains.Annotations; | ||
|
||
namespace CesiumLanguageWriter.Advanced | ||
{ | ||
/// <summary> | ||
/// Adapts a class that implements <see cref="ICesiumCartographicDegreesListValuePropertyWriter"/> to implement | ||
/// <see cref="ICesiumPropertyWriter"/> for a list of <see cref="Cartographic"/> values. | ||
/// </summary> | ||
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumCartographicDegreesValuePropertyWriter"/> to adapt.</typeparam> | ||
public class CesiumCartographicDegreesListValuePropertyAdaptor<TFrom> : CesiumWriterAdaptor<TFrom, IEnumerable<Cartographic>> | ||
where TFrom : class, ICesiumCartographicDegreesListValuePropertyWriter | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance. | ||
/// </summary> | ||
/// <param name="parent">The instance to wrap.</param> | ||
/// <param name="writeValueCallback">The callback to write a list of <see cref="Cartographic"/> values.</param> | ||
/// <param name="writeDeleteValueCallback">The callback to write an indication that the client should delete existing data.</param> | ||
public CesiumCartographicDegreesListValuePropertyAdaptor([NotNull] TFrom parent, | ||
[NotNull] CesiumWriterAdaptorWriteCallback<TFrom, IEnumerable<Cartographic>> writeValueCallback, | ||
[NotNull] CesiumWriterAdaptorWriteDeleteCallback<TFrom> writeDeleteValueCallback) | ||
: base(parent, writeValueCallback, writeDeleteValueCallback) | ||
{ | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
DotNet/CesiumLanguageWriter/Advanced/CesiumCartographicDegreesValuePropertyAdaptor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using JetBrains.Annotations; | ||
|
||
namespace CesiumLanguageWriter.Advanced | ||
{ | ||
/// <summary> | ||
/// Adapts a class that implements <see cref="ICesiumCartographicDegreesValuePropertyWriter"/> to implement | ||
/// <see cref="ICesiumInterpolatableValuePropertyWriter{TValue}"/> for <see cref="Cartographic"/> values. | ||
/// </summary> | ||
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumCartographicDegreesValuePropertyWriter"/> to adapt.</typeparam> | ||
public class CesiumCartographicDegreesValuePropertyAdaptor<TFrom> : CesiumInterpolatableWriterAdaptor<TFrom, Cartographic> | ||
where TFrom : class, ICesiumCartographicDegreesValuePropertyWriter | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance. | ||
/// </summary> | ||
/// <param name="parent">The instance to wrap.</param> | ||
/// <param name="writeValueCallback">The callback to write values of type <see cref="Cartographic"/>.</param> | ||
/// <param name="writeSamplesCallback">The callback to write samples of type <see cref="Cartographic"/>.</param> | ||
/// <param name="writeDeleteValueCallback">The callback to write an indication that the client should delete existing data.</param> | ||
public CesiumCartographicDegreesValuePropertyAdaptor([NotNull] TFrom parent, | ||
[NotNull] CesiumWriterAdaptorWriteCallback<TFrom, Cartographic> writeValueCallback, | ||
[NotNull] CesiumWriterAdaptorWriteSamplesCallback<TFrom, Cartographic> writeSamplesCallback, | ||
[NotNull] CesiumWriterAdaptorWriteDeleteCallback<TFrom> writeDeleteValueCallback) | ||
: base(parent, writeValueCallback, writeSamplesCallback, writeDeleteValueCallback) | ||
{ | ||
} | ||
} | ||
} |
Oops, something went wrong.