Interface ICoordSpaceConverter
Interface to implement for helpers to convert between Data Space and
Unity's World Space.
Assembly: IVLab.ABREngine.Runtime.dll
Syntax
public interface ICoordSpaceConverter
Properties
|
Improve this Doc
View Source
BoundsInDataSpace
Returns the spatial bounding box of the data in the original
coordinate system of the data. Data Space coordinates are
typically based upon real world units, like meters.
Declaration
Bounds BoundsInDataSpace { get; }
Property Value
|
Improve this Doc
View Source
BoundsInWorldSpace
Returns the spatial bounding box of the data in Unity's world space.
Declaration
Bounds BoundsInWorldSpace { get; }
Property Value
|
Improve this Doc
View Source
DataToWorldMatrix
Transformation matrix from data space to world space.
Declaration
Matrix4x4 DataToWorldMatrix { get; }
Property Value
|
Improve this Doc
View Source
WorldToDataMatrix
Transformation matrix from world space to data space.
Declaration
Matrix4x4 WorldToDataMatrix { get; }
Property Value
Methods
|
Improve this Doc
View Source
ContainsDataSpacePoint(Vector3)
Returns true if the point in data coordinates lies within the
volume. Data coordinates are typically defined in real-world units,
like meters.
Declaration
bool ContainsDataSpacePoint(Vector3 dataSpacePoint)
Parameters
Type |
Name |
Description |
Vector3 |
dataSpacePoint |
|
Returns
|
Improve this Doc
View Source
ContainsWorldSpacePoint(Vector3)
Returns true if the point in Unity World coordinates lies within the
bounds of the data.
Declaration
bool ContainsWorldSpacePoint(Vector3 worldSpacePoint)
Parameters
Type |
Name |
Description |
Vector3 |
worldSpacePoint |
|
Returns
|
Improve this Doc
View Source
DataSpacePointToWorldSpace(Vector3)
Converts a point in the original data coordinate space, which is
typically defined in real-world units, like meters, to its current
position in Unity's World coordinate system, which might include a
scale or translation or other transformation based on how the
visualization is designed.
Declaration
Vector3 DataSpacePointToWorldSpace(Vector3 dataSpacePoint)
Parameters
Type |
Name |
Description |
Vector3 |
dataSpacePoint |
|
Returns
|
Improve this Doc
View Source
DataSpaceVectorToWorldSpace(Vector3)
Converts a Vector in the original data coordinate space, which is
typically defined in real-world units, like meters, to its current
position in Unity's World coordinate system, which might include a
scale or translation or other transformation based on how the
visualization is designed.
Declaration
Vector3 DataSpaceVectorToWorldSpace(Vector3 dataSpaceVector)
Parameters
Type |
Name |
Description |
Vector3 |
dataSpaceVector |
|
Returns
|
Improve this Doc
View Source
WorldSpacePointToDataSpace(Vector3)
Converts a point in Unity world coordinates to a point within the
original data coordinate space. The data coordinate space is
typically defined in real-world units, like cm or meters. Those
coordinates are often scaled or repositioned within Unity World
space as we zoom into the data or place multiple datasets
side-by-side or do other visualization tasks.
Declaration
Vector3 WorldSpacePointToDataSpace(Vector3 worldSpacePoint)
Parameters
Type |
Name |
Description |
Vector3 |
worldSpacePoint |
|
Returns
|
Improve this Doc
View Source
WorldSpaceVectorToDataSpace(Vector3)
Converts a vector in Unity world coordinates to a vector within the
original data coordinate space. The data coordinate space is
typically defined in real-world units, like cm or meters. Those
coordinates are often scaled or repositioned within Unity World
space as we zoom into the data or place multiple datasets
side-by-side or do other visualization tasks.
Declaration
Vector3 WorldSpaceVectorToDataSpace(Vector3 worldSpaceVector)
Parameters
Type |
Name |
Description |
Vector3 |
worldSpaceVector |
|
Returns