DataSourceIndependent, IDataSource, java.io.Serializablepublic class MeterProfile extends java.lang.Object implements IDataSource, DataSourceIndependent, java.io.Serializable
| Modifier and Type | Field | Description |
|---|---|---|
protected DataSourcePositioned |
meter |
Meter that defines the property being profiled.
|
protected RandomPositionSource |
positionSource |
|
protected int |
profileDim |
Vector describing the orientation of the profile.
|
protected DataTag |
tag |
| Constructor | Description |
|---|---|
MeterProfile(Space space,
IRandom random) |
Default constructor sets profile along the x-axis, with 100 points in
the profile.
|
| Modifier and Type | Method | Description |
|---|---|---|
Box |
getBox() |
|
IData |
getData() |
Returns the profile for the current configuration.
|
IDataInfo |
getDataInfo() |
|
DataSourcePositioned |
getDataSource() |
The meter that defines the profiled quantity
|
int |
getIndependentArrayDimension() |
Returns the number of independent data dimensions
|
DataDoubleArray |
getIndependentData(int i) |
Returns the X data for the given dimension
|
DataDoubleArray.DataInfoDoubleArray |
getIndependentDataInfo(int i) |
Returns the DataInfo for the given dimension
|
DataTag |
getIndependentTag() |
Returns the tag associated with this DataSource.
|
RandomPositionSource |
getPositionSource() |
Returns the RandomPositionSource used by this meter.
|
int |
getProfileDim() |
Accessor method for vector describing the direction along which the profile is measured.
|
DataTag |
getTag() |
|
void |
reset() |
|
void |
setBox(Box box) |
|
void |
setDataSource(DataSourcePositioned m) |
Accessor method for the meter that defines the profiled quantity.
|
void |
setPositionSource(RandomPositionSource newPositionSource) |
Sets a new RandomPositionSource for this meter to use.
|
void |
setProfileDim(int dim) |
Accessor method for vector describing the direction along which the profile is measured.
|
protected RandomPositionSource positionSource
protected int profileDim
protected DataSourcePositioned meter
protected final DataTag tag
public IDataInfo getDataInfo()
getDataInfo in interface IDataSourcepublic DataTag getTag()
getTag in interface IDataSourcepublic DataSourcePositioned getDataSource()
public void setDataSource(DataSourcePositioned m)
public int getProfileDim()
public void setProfileDim(int dim)
public IData getData()
getData in interface IDataSourcepublic DataDoubleArray getIndependentData(int i)
DataSourceIndependentgetIndependentData in interface DataSourceIndependentpublic DataDoubleArray.DataInfoDoubleArray getIndependentDataInfo(int i)
DataSourceIndependentgetIndependentDataInfo in interface DataSourceIndependentpublic int getIndependentArrayDimension()
DataSourceIndependentgetIndependentArrayDimension in interface DataSourceIndependentpublic DataTag getIndependentTag()
DataSourceIndependentgetIndependentTag in interface DataSourceIndependentpublic Box getBox()
public void setBox(Box box)
box - The box to set.public void reset()
public void setPositionSource(RandomPositionSource newPositionSource)
public RandomPositionSource getPositionSource()