Interface IDataAccessor
Interface to implement to share easier access to data within ABR.
Assembly: IVLab.ABREngine.Runtime.dll
Syntax
public interface IDataAccessor
Methods
|
Improve this Doc
View Source
GetClosestDataInDataSpace(Vector3)
Finds the closest data to the given point, in data space.
Declaration
DataPoint GetClosestDataInDataSpace(Vector3 dataSpacePoint)
Parameters
Type |
Name |
Description |
Vector3 |
dataSpacePoint |
|
Returns
|
Improve this Doc
View Source
GetClosestDataInWorldSpace(Vector3)
Finds the closest data to the given point, in world space.
Declaration
DataPoint GetClosestDataInWorldSpace(Vector3 worldSpacePoint)
Parameters
Type |
Name |
Description |
Vector3 |
worldSpacePoint |
|
Returns
|
Improve this Doc
View Source
GetNearbyDataInDataSpace(Vector3, float)
Finds the data within a certain radius of the given point, in data space.
Declaration
List<DataPoint> GetNearbyDataInDataSpace(Vector3 dataSpacePoint, float radiusInDataSpace)
Parameters
Type |
Name |
Description |
Vector3 |
dataSpacePoint |
|
float |
radiusInDataSpace |
|
Returns
|
Improve this Doc
View Source
GetNearbyDataInWorldSpace(Vector3, float)
Finds the data within a certain radius of the given point, in world space.
Declaration
List<DataPoint> GetNearbyDataInWorldSpace(Vector3 worldSpacePoint, float radiusInWorldSpace)
Parameters
Type |
Name |
Description |
Vector3 |
worldSpacePoint |
|
float |
radiusInWorldSpace |
|
Returns
|
Improve this Doc
View Source
GetScalarValueAtClosestDataSpacePoint(Vector3, ScalarDataVariable, KeyData)
Get a scalar value from a particular data variable at the closest
point in data space. If keyData
is null, this method will look at
every key data object that has the given variable.
Declaration
float GetScalarValueAtClosestDataSpacePoint(Vector3 point, ScalarDataVariable variable, KeyData keyData = null)
Parameters
Returns
|
Improve this Doc
View Source
GetScalarValueAtClosestDataSpacePoint(Vector3, string, KeyData)
Interface to implement to share easier access to data within ABR.
Declaration
float GetScalarValueAtClosestDataSpacePoint(Vector3 point, string variableName, KeyData keyData = null)
Parameters
Type |
Name |
Description |
Vector3 |
point |
|
string |
variableName |
|
KeyData |
keyData |
|
Returns
|
Improve this Doc
View Source
GetScalarValueAtClosestWorldSpacePoint(Vector3, ScalarDataVariable, KeyData)
Get a scalar value from a particular data variable at the closest
point in world space. If keyData
is null, this method will look at
every key data object that has the given variable.
Declaration
float GetScalarValueAtClosestWorldSpacePoint(Vector3 point, ScalarDataVariable variable, KeyData keyData = null)
Parameters
Returns
|
Improve this Doc
View Source
GetScalarValueAtClosestWorldSpacePoint(Vector3, string, KeyData)
Interface to implement to share easier access to data within ABR.
Declaration
float GetScalarValueAtClosestWorldSpacePoint(Vector3 point, string variableName, KeyData keyData = null)
Parameters
Type |
Name |
Description |
Vector3 |
point |
|
string |
variableName |
|
KeyData |
keyData |
|
Returns
|
Improve this Doc
View Source
GetVectorValueAtClosestDataSpacePoint(Vector3, VectorDataVariable, KeyData)
Get a vector value from a particular data variable at the closest
point in data space. If keyData
is null, this method will look at
every key data object that has the given variable.
Declaration
Vector3 GetVectorValueAtClosestDataSpacePoint(Vector3 point, VectorDataVariable variable, KeyData keyData = null)
Parameters
Returns
|
Improve this Doc
View Source
GetVectorValueAtClosestDataSpacePoint(Vector3, string, KeyData)
Interface to implement to share easier access to data within ABR.
Declaration
Vector3 GetVectorValueAtClosestDataSpacePoint(Vector3 point, string variableName, KeyData keyData = null)
Parameters
Type |
Name |
Description |
Vector3 |
point |
|
string |
variableName |
|
KeyData |
keyData |
|
Returns
|
Improve this Doc
View Source
GetVectorValueAtClosestWorldSpacePoint(Vector3, VectorDataVariable, KeyData)
Get a vector value from a particular data variable at the closest
point in data space. If keyData
is null, this method will look at
every key data object that has the given variable.
Declaration
Vector3 GetVectorValueAtClosestWorldSpacePoint(Vector3 point, VectorDataVariable variable, KeyData keyData = null)
Parameters
Returns
|
Improve this Doc
View Source
GetVectorValueAtClosestWorldSpacePoint(Vector3, string, KeyData)
Interface to implement to share easier access to data within ABR.
Declaration
Vector3 GetVectorValueAtClosestWorldSpacePoint(Vector3 point, string variableName, KeyData keyData = null)
Parameters
Type |
Name |
Description |
Vector3 |
point |
|
string |
variableName |
|
KeyData |
keyData |
|
Returns
|
Improve this Doc
View Source
NormalizeScalarValue(float, KeyData, ScalarDataVariable)
Normalize a data value from 0 to 1 based on the given key data with a scalar data variable
Declaration
float NormalizeScalarValue(float value, KeyData keyData, ScalarDataVariable variable)
Parameters
Returns