VR-Link JAVA API Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
List of all members | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
com.mak.vrlj.object.Entity Class Reference

A simulation object. More...

+ Inheritance diagram for com.mak.vrlj.object.Entity:
+ Collaboration diagram for com.mak.vrlj.object.Entity:

Public Member Functions

 Entity (GlobalObjectDesignator name)
 Create a simulation object. More...
 
 Entity (GlobalObjectDesignator name, Entity entity)
 Create a new entity by copying an existing entity. More...
 
boolean equals (Object obj)
 
long getAppearanceBits ()
 Get the flags which determine the appearance of this entity. More...
 
Approximator getAprox ()
 Get the Approximator which determines the position of this entity over time, e.g. More...
 
ArticulatedPart getArticulatedPart (ArticulatedPartType partType)
 Look up an ArticulatedPart by its type. More...
 
List< ArticulatedPart > getArticulatedParts ()
 Get the list of ArticulatedPart on this entity. More...
 
List< AttachedPart > getAttachedParts ()
 Get the list of AttachedPart on this entity. More...
 
long getCapabilityBits ()
 Get the flags which determine the capabilities of this entity, as a long. More...
 
String getClassName ()
 Get the name of the simulation object class for Entity objects. More...
 
Clock getClock ()
 Get the simulation exercise clock used by this entity (for use by the Approximator, etc.). More...
 
DamageState getDamageState ()
 Gets this property value. More...
 
DeadReckoningAlgorithm getDeadReckoningType ()
 Gets this property value. More...
 
FirePower getFirePower ()
 Gets this property value. More...
 
Flaming getFlaming ()
 Gets this property value. More...
 
ForceType getForceType ()
 Gets this property value. More...
 
EntityType getGuise ()
 Gets this property value. More...
 
HatchState getHatchState ()
 Gets this property value. More...
 
EntityIdentifier getEntityIdentifier ()
 Gets this property value. More...
 
GlobalObjectDesignator getGlobalObjectDesignator ()
 
LightType getLights ()
 Gets this property value. More...
 
String getMarkingText ()
 Gets this property value. More...
 
Mobility getMobility ()
 Gets this property value. More...
 
PaintScheme getPaintScheme ()
 Gets this property value. More...
 
ConstVector3f getRotationalVelocity ()
 Gets this property value. More...
 
Smoke getSmoke ()
 Gets this property value. More...
 
TrailingEffects getTrailingEffects ()
 Gets this property value. More...
 
EntityType getType ()
 Gets this property value. More...
 
ConstVector3f getWorldAcceleration ()
 Gets this property value. More...
 
ConstTaitBryan getWorldOrientation ()
 Gets this property value. More...
 
ConstVector3d getWorldPosition ()
 Gets this property value. More...
 
ConstVector3f getWorldVelocity ()
 Gets this property value. More...
 
int hashCode ()
 
void setAppearanceBits (long appearanceBits)
 Sets this property value. More...
 
void setArticulatedParts (List< ArticulatedPart > articulatedParts)
 Sets this property value. More...
 
void setAttachedParts (List< AttachedPart > attachedParts)
 Sets this property value. More...
 
void setCapabilityBits (long capabilityBits)
 Sets this property value. More...
 
void setClock (Clock clock)
 Sets this property value. More...
 
void setDamageState (DamageState newVal)
 Sets this property value. More...
 
void setDeadReckoningType (DeadReckoningAlgorithm deadReckoningType)
 Sets this property value. More...
 
void setFirePower (FirePower newVal)
 Sets this property value. More...
 
void setFlaming (Flaming newVal)
 Sets this property value. More...
 
void setForceType (ForceType forceType)
 Sets this property value. More...
 
void setGuise (EntityType guise)
 Sets this property value. More...
 
void setHatchState (HatchState newVal)
 Sets this property value. More...
 
void setEntityIdentifier (EntityIdentifier id)
 Sets this property value. More...
 
void setLights (LightType newVal)
 Sets this property value. More...
 
void setMarkingText (String markingText)
 Sets this property value. More...
 
void setMobility (Mobility newVal)
 Sets this property value. More...
 
void setPaintScheme (PaintScheme newVal)
 Sets this property value. More...
 
void setRotationalVelocity (ConstVector3f rotationalVelocity)
 Sets this property value. More...
 
void setSmoke (Smoke newVal)
 Sets this property value. More...
 
void setTrailingEffects (TrailingEffects newVal)
 Sets this property value. More...
 
void setType (EntityType type)
 Sets this property value. More...
 
void setWorldAcceleration (ConstVector3f worldAcceleration)
 Sets this property value. More...
 
void setWorldOrientation (ConstTaitBryan worldOrientation)
 Sets this property value. More...
 
void setWorldPosition (ConstVector3d worldPosition)
 Sets this property value. More...
 
void setWorldVelocity (ConstVector3f worldVelocity)
 Sets this property value. More...
 
String toString ()
 
Approximator setAprox (Approximator approx)
 Sets the Approximator used. More...
 
int getLifeformState ()
 Gets this property value. More...
 
void setLifeformState (int lifeformState)
 Sets this property value. More...
 
boolean getFrozenBit ()
 Gets this property value. More...
 
void setFrozenBit (boolean frozenBit)
 Sets this property value. More...
 
short getInfraredSignatureIndex ()
 Gets this property value. More...
 
void setInfraredSignatureIndex (short infraredSignatureIndex)
 Sets this property value. More...
 
short getAcousticSignatureIndex ()
 Gets this property value. More...
 
void setAcousticSignatureIndex (short acousticSignatureIndex)
 Sets this property value. More...
 
short getLiveEntityMeasuredSpeed ()
 Gets this property value. More...
 
void setLiveEntityMeasuredSpeed (short liveEntityMeasuredSpeed)
 Sets this property value. More...
 
String getHostGlobalId ()
 Gets this property value. More...
 
void setHostGlobalId (String hostGlobalId)
 Sets this property value. More...
 
ConstituentPartNature getPartNature ()
 Gets this property value. More...
 
void setPartNature (ConstituentPartNature partNature)
 Sets this property value. More...
 
ConstituentPartPosition getPartPosition ()
 Gets this property value. More...
 
void setPartPosition (ConstituentPartPosition partPosition)
 Sets this property value. More...
 
ConstituentPartStationName getPartStationName ()
 Gets this property value. More...
 
void setPartStationName (ConstituentPartStationName partStationName)
 Sets this property value. More...
 
long getStationNumber ()
 Gets this property value. More...
 
void setStationNumber (long stationNumber)
 Sets this property value. More...
 
Vector3f getRelativePosition ()
 Gets this property value. More...
 
void setRelativePosition (Vector3f relativePosition)
 Sets this property value. More...
 
float getRange ()
 Gets this property value. More...
 
void setRange (float range)
 Sets this property value. More...
 
float getBearing ()
 Gets this property value. More...
 
void setBearing (float bearing)
 Sets this property value. More...
 
PStruct getPropulsionSystem (int index)
 Look up a propulsion system by index. More...
 
List< PStruct > getPropulsionSystems ()
 Get the list of PStruct on this entity. More...
 
void setPropulsionSystems (List< PStruct > propSys)
 Get the list of PStruct on this entity. More...
 
VNStruct getVectoringNozzleSystem (int index)
 Look up a Vectoring Nozzle system by index. More...
 
List< VNStruct > getVectoringNozzleSystems ()
 Get the list of PStruct on this entity. More...
 
void setVectoringNozzleSystems (List< VNStruct > nozSys)
 Get the list of VNStruct on this entity. More...
 

Static Public Member Functions

static void addListener (ExerciseConnection exConn, ObjectListener< ObjectIdentifier, Entity > listener)
 Adds a listener for reflected entity objects. More...
 
static void removeListener (ExerciseConnection exConn, ObjectListener< ObjectIdentifier, Entity > listener)
 Removes a listener for reflected entity objects. More...
 

Static Public Attributes

static final String NAME = ":Entity"
 Simulation object class name. More...
 

Private Member Functions

long getAppearanceBitField (int offset, int len)
 
void setAppearanceBitField (int offset, int len, long newVal)
 

Private Attributes

final GlobalObjectDesignator myGlobalObjectDesignator
 
EntityIdentifier myEntityIdentifier
 
EntityType myType
 
EntityType myGuise
 
final Vector3d myWorldPosition
 
final Vector3f myWorldVelocity
 
final Vector3f myWorldAcceleration
 
final TaitBryan myWorldOrientation
 
final Vector3f myRotationalVelocity
 
DeadReckoningAlgorithm myDeadReckoningType
 
ForceType myForceType
 
String myMarkingText
 
long myAppearanceBits
 
long myCapabilityBits
 
int myLifeformState
 
List< ArticulatedPart > myArticulatedParts = new ArrayList<ArticulatedPart>()
 
List< AttachedPart > myAttachedParts = new ArrayList<AttachedPart>()
 
short myInfraredSignatureIndex
 
short myAcousticSignatureIndex
 
short myLiveEntityMeasuredSpeed
 
String myHostGlobalId
 
ConstituentPartNature myPartNature
 
ConstituentPartPosition myPartPosition
 
ConstituentPartStationName myPartStationName
 
long myStationNumber
 
final Vector3f myRelativePosition
 
float myRange
 
float myBearing
 
List< PStruct > myPropulsionSystemsData = new ArrayList<PStruct>()
 
List< VNStruct > myVectoringNozzleSystemsData = new ArrayList<VNStruct>()
 
Clock myClock
 
Approximator myApprox = null
 
boolean myFrozenBit
 

Detailed Description

A simulation object.

Constructor & Destructor Documentation

com.mak.vrlj.object.Entity.Entity ( GlobalObjectDesignator  name)
inline
com.mak.vrlj.object.Entity.Entity ( GlobalObjectDesignator  name,
Entity  entity 
)
inline

Create a new entity by copying an existing entity.

Parameters
nameunique name for this simulation object.
entityan entity which will be copied into the new entity during initialization.

References com.mak.vrlj.object.Entity.getGuise(), com.mak.vrlj.object.Entity.getRotationalVelocity(), com.mak.vrlj.object.Entity.getType(), com.mak.vrlj.object.Entity.getWorldAcceleration(), com.mak.vrlj.object.Entity.getWorldOrientation(), com.mak.vrlj.object.Entity.getWorldPosition(), com.mak.vrlj.object.Entity.getWorldVelocity(), com.mak.vrlj.object.Entity.myAcousticSignatureIndex, com.mak.vrlj.object.Entity.myAppearanceBits, com.mak.vrlj.object.Entity.myArticulatedParts, com.mak.vrlj.object.Entity.myAttachedParts, com.mak.vrlj.object.Entity.myBearing, com.mak.vrlj.object.Entity.myCapabilityBits, com.mak.vrlj.object.Entity.myDeadReckoningType, com.mak.vrlj.object.Entity.myForceType, com.mak.vrlj.object.Entity.myFrozenBit, com.mak.vrlj.object.Entity.myGlobalObjectDesignator, com.mak.vrlj.object.Entity.myGuise, com.mak.vrlj.object.Entity.myHostGlobalId, com.mak.vrlj.object.Entity.myInfraredSignatureIndex, com.mak.vrlj.object.Entity.myLiveEntityMeasuredSpeed, com.mak.vrlj.object.Entity.myMarkingText, com.mak.vrlj.object.Entity.myPartNature, com.mak.vrlj.object.Entity.myPartPosition, com.mak.vrlj.object.Entity.myPartStationName, com.mak.vrlj.object.Entity.myPropulsionSystemsData, com.mak.vrlj.object.Entity.myRange, com.mak.vrlj.object.Entity.myRelativePosition, com.mak.vrlj.object.Entity.myRotationalVelocity, com.mak.vrlj.object.Entity.myStationNumber, com.mak.vrlj.object.Entity.myType, com.mak.vrlj.object.Entity.myVectoringNozzleSystemsData, com.mak.vrlj.object.Entity.myWorldAcceleration, com.mak.vrlj.object.Entity.myWorldOrientation, com.mak.vrlj.object.Entity.myWorldPosition, and com.mak.vrlj.object.Entity.myWorldVelocity.

Member Function Documentation

static void com.mak.vrlj.object.Entity.addListener ( ExerciseConnection  exConn,
ObjectListener< ObjectIdentifier, Entity >  listener 
)
inlinestatic

Adds a listener for reflected entity objects.

Parameters
exConnexercise connection to subscribe on.
listenerlistener to register.

References com.mak.vrlj.object.Entity.NAME.

boolean com.mak.vrlj.object.Entity.equals ( Object  obj)
inline

References com.mak.vrlj.object.Entity.Entity(), com.mak.vrlj.object.GlobalObjectDesignator.equals(), com.mak.vrlj.math.TaitBryan.equals(), com.mak.vrlj.datatype.EntityType.equals(), com.mak.vrlj.math.Vector3d.equals(), com.mak.vrlj.math.Vector3f.equals(), com.mak.vrlj.datatype.ConstituentPartPosition.getValue(), com.mak.vrlj.datatype.ConstituentPartNature.getValue(), com.mak.vrlj.datatype.ConstituentPartStationName.getValue(), com.mak.vrlj.object.Entity.myAcousticSignatureIndex, com.mak.vrlj.object.Entity.myAppearanceBits, com.mak.vrlj.object.Entity.myApprox, com.mak.vrlj.object.Entity.myArticulatedParts, com.mak.vrlj.object.Entity.myAttachedParts, com.mak.vrlj.object.Entity.myBearing, com.mak.vrlj.object.Entity.myCapabilityBits, com.mak.vrlj.object.Entity.myDeadReckoningType, com.mak.vrlj.object.Entity.myEntityIdentifier, com.mak.vrlj.object.Entity.myForceType, com.mak.vrlj.object.Entity.myFrozenBit, com.mak.vrlj.object.Entity.myGlobalObjectDesignator, com.mak.vrlj.object.Entity.myGuise, com.mak.vrlj.object.Entity.myHostGlobalId, com.mak.vrlj.object.Entity.myInfraredSignatureIndex, com.mak.vrlj.object.Entity.myLiveEntityMeasuredSpeed, com.mak.vrlj.object.Entity.myMarkingText, com.mak.vrlj.object.Entity.myPartNature, com.mak.vrlj.object.Entity.myPartPosition, com.mak.vrlj.object.Entity.myPartStationName, com.mak.vrlj.object.Entity.myRange, com.mak.vrlj.object.Entity.myRelativePosition, com.mak.vrlj.object.Entity.myRotationalVelocity, com.mak.vrlj.object.Entity.myStationNumber, com.mak.vrlj.object.Entity.myType, com.mak.vrlj.object.Entity.myWorldAcceleration, com.mak.vrlj.object.Entity.myWorldOrientation, com.mak.vrlj.object.Entity.myWorldPosition, and com.mak.vrlj.object.Entity.myWorldVelocity.

short com.mak.vrlj.object.Entity.getAcousticSignatureIndex ( )
inline

Gets this property value.

Returns
the acousticSignatureIndex

References com.mak.vrlj.object.Entity.myAcousticSignatureIndex.

long com.mak.vrlj.object.Entity.getAppearanceBitField ( int  offset,
int  len 
)
inlineprivate
long com.mak.vrlj.object.Entity.getAppearanceBits ( )
inline

Get the flags which determine the appearance of this entity.

Returns
the appearance bits as a long.

References com.mak.vrlj.object.Entity.myAppearanceBits.

Referenced by com.mak.vrlj.object.Entity.getAppearanceBitField(), and com.mak.vrlj.object.Entity.setAppearanceBitField().

Approximator com.mak.vrlj.object.Entity.getAprox ( )
inline

Get the Approximator which determines the position of this entity over time, e.g.

dead reckoning and smoothing.

Returns
the Approximator for this entity.

References com.mak.vrlj.object.Entity.myApprox.

ArticulatedPart com.mak.vrlj.object.Entity.getArticulatedPart ( ArticulatedPartType  partType)
inline

Look up an ArticulatedPart by its type.

Parameters
partTypethe type of ArticulatedPart to search for.
Returns
the requested ArticulatedPart, or null if not found.

References com.mak.vrlj.object.Entity.myArticulatedParts.

List<ArticulatedPart> com.mak.vrlj.object.Entity.getArticulatedParts ( )
inline

Get the list of ArticulatedPart on this entity.

Returns
the list of ArticulatedPart on this entity.

References com.mak.vrlj.object.Entity.myArticulatedParts.

List<AttachedPart> com.mak.vrlj.object.Entity.getAttachedParts ( )
inline

Get the list of AttachedPart on this entity.

Returns
the list of AttachedPart on this entity.

References com.mak.vrlj.object.Entity.myAttachedParts.

float com.mak.vrlj.object.Entity.getBearing ( )
inline

Gets this property value.

Returns
the Range

References com.mak.vrlj.object.Entity.myBearing.

long com.mak.vrlj.object.Entity.getCapabilityBits ( )
inline

Get the flags which determine the capabilities of this entity, as a long.

Returns
the flags which determine the capabilities of this entity, as a long.

References com.mak.vrlj.object.Entity.myCapabilityBits.

String com.mak.vrlj.object.Entity.getClassName ( )
inline

Get the name of the simulation object class for Entity objects.

References com.mak.vrlj.object.Entity.NAME.

Clock com.mak.vrlj.object.Entity.getClock ( )
inline

Get the simulation exercise clock used by this entity (for use by the Approximator, etc.).

Returns
the entity's simulation exercise clock.

References com.mak.vrlj.object.Entity.myClock.

DamageState com.mak.vrlj.object.Entity.getDamageState ( )
inline

Gets this property value.

Returns
the DamageState of this entity.

References com.mak.vrlj.object.Entity.getAppearanceBitField().

DeadReckoningAlgorithm com.mak.vrlj.object.Entity.getDeadReckoningType ( )
inline

Gets this property value.

Returns
The DeadReckoningAlgorithm used by this entity.

References com.mak.vrlj.object.Entity.myDeadReckoningType.

EntityIdentifier com.mak.vrlj.object.Entity.getEntityIdentifier ( )
inline

Gets this property value.

Returns
the DIS-style EntityIdentifier of this entity.

References com.mak.vrlj.object.Entity.myEntityIdentifier.

FirePower com.mak.vrlj.object.Entity.getFirePower ( )
inline

Gets this property value.

Returns
the FirePower damage status of this entity.

References com.mak.vrlj.object.Entity.getAppearanceBitField().

Flaming com.mak.vrlj.object.Entity.getFlaming ( )
inline

Gets this property value.

Returns
the Flaming appearance status of this entity.

References com.mak.vrlj.object.Entity.getAppearanceBitField().

ForceType com.mak.vrlj.object.Entity.getForceType ( )
inline

Gets this property value.

Returns
the ForceType of this entity.

References com.mak.vrlj.object.Entity.myForceType.

boolean com.mak.vrlj.object.Entity.getFrozenBit ( )
inline

Gets this property value.

Returns
the frozen bit

References com.mak.vrlj.object.Entity.myFrozenBit.

Referenced by com.mak.vrlj.object.Entity.setAprox().

GlobalObjectDesignator com.mak.vrlj.object.Entity.getGlobalObjectDesignator ( )
inline
EntityType com.mak.vrlj.object.Entity.getGuise ( )
inline

Gets this property value.

Returns
the guise EntityType for this entity.

References com.mak.vrlj.object.Entity.myGuise.

Referenced by com.mak.vrlj.object.Entity.Entity().

HatchState com.mak.vrlj.object.Entity.getHatchState ( )
inline

Gets this property value.

Returns
the HatchState appearance of this entity.

References com.mak.vrlj.object.Entity.getAppearanceBitField().

String com.mak.vrlj.object.Entity.getHostGlobalId ( )
inline

Gets this property value.

Returns
the hostGlobalId

References com.mak.vrlj.object.Entity.myHostGlobalId.

short com.mak.vrlj.object.Entity.getInfraredSignatureIndex ( )
inline

Gets this property value.

Returns
the infraredSignatureIndex

References com.mak.vrlj.object.Entity.myInfraredSignatureIndex.

int com.mak.vrlj.object.Entity.getLifeformState ( )
inline

Gets this property value.

Returns
the myLifeformState

References com.mak.vrlj.object.Entity.myLifeformState.

LightType com.mak.vrlj.object.Entity.getLights ( )
inline

Gets this property value.

Returns
the LightType appearance state of this entity.

References com.mak.vrlj.object.Entity.getAppearanceBitField().

short com.mak.vrlj.object.Entity.getLiveEntityMeasuredSpeed ( )
inline

Gets this property value.

Returns
the liveEntityMeasuredSpeed

References com.mak.vrlj.object.Entity.myLiveEntityMeasuredSpeed.

String com.mak.vrlj.object.Entity.getMarkingText ( )
inline

Gets this property value.

Returns
the marking text displayed on this entity.

References com.mak.vrlj.object.Entity.myMarkingText.

Mobility com.mak.vrlj.object.Entity.getMobility ( )
inline

Gets this property value.

Returns
the Mobility damage status and appearance of this entity.

References com.mak.vrlj.object.Entity.getAppearanceBitField().

PaintScheme com.mak.vrlj.object.Entity.getPaintScheme ( )
inline

Gets this property value.

Returns
the PaintScheme appearance of this entity.

References com.mak.vrlj.object.Entity.getAppearanceBitField().

ConstituentPartNature com.mak.vrlj.object.Entity.getPartNature ( )
inline

Gets this property value.

Returns
the partNature

References com.mak.vrlj.object.Entity.myPartNature.

ConstituentPartPosition com.mak.vrlj.object.Entity.getPartPosition ( )
inline

Gets this property value.

Returns
the partPosition

References com.mak.vrlj.object.Entity.myPartPosition.

ConstituentPartStationName com.mak.vrlj.object.Entity.getPartStationName ( )
inline

Gets this property value.

Returns
the partStationName

References com.mak.vrlj.object.Entity.myPartStationName.

PStruct com.mak.vrlj.object.Entity.getPropulsionSystem ( int  index)
inline

Look up a propulsion system by index.

Parameters
indexthe location of PStruct to return.
Returns
the requested PStruct, or null if not found.

References com.mak.vrlj.object.Entity.myPropulsionSystemsData.

List<PStruct> com.mak.vrlj.object.Entity.getPropulsionSystems ( )
inline

Get the list of PStruct on this entity.

Returns
the list of PStruct on this entity.

References com.mak.vrlj.object.Entity.myPropulsionSystemsData.

float com.mak.vrlj.object.Entity.getRange ( )
inline

Gets this property value.

Returns
the Range

References com.mak.vrlj.object.Entity.myRange.

Vector3f com.mak.vrlj.object.Entity.getRelativePosition ( )
inline

Gets this property value.

Returns
the relativePosition

References com.mak.vrlj.object.Entity.myRelativePosition.

ConstVector3f com.mak.vrlj.object.Entity.getRotationalVelocity ( )
inline

Gets this property value.

Returns
the rotational velocity of this entity as a vector of (psi in radians/second, theta in radians/second, phi in radians/second).

References com.mak.vrlj.object.Entity.myApprox, and com.mak.vrlj.object.Entity.myRotationalVelocity.

Referenced by com.mak.vrlj.object.Entity.Entity().

Smoke com.mak.vrlj.object.Entity.getSmoke ( )
inline

Gets this property value.

Returns
the Smoke appearance of this entity.

References com.mak.vrlj.object.Entity.getAppearanceBitField().

long com.mak.vrlj.object.Entity.getStationNumber ( )
inline

Gets this property value.

Returns
the stationNumber

References com.mak.vrlj.object.Entity.myStationNumber.

TrailingEffects com.mak.vrlj.object.Entity.getTrailingEffects ( )
inline

Gets this property value.

Returns
the TrailingEffects appearance of this entity.

References com.mak.vrlj.object.Entity.getAppearanceBitField().

EntityType com.mak.vrlj.object.Entity.getType ( )
inline

Gets this property value.

Returns
the EntityType of this entity.

References com.mak.vrlj.object.Entity.myType.

Referenced by com.mak.vrlj.object.Entity.Entity().

VNStruct com.mak.vrlj.object.Entity.getVectoringNozzleSystem ( int  index)
inline

Look up a Vectoring Nozzle system by index.

Parameters
indexthe location of VNStruct to return.
Returns
the requested VNStruct, or null if not found.

References com.mak.vrlj.object.Entity.myVectoringNozzleSystemsData.

List<VNStruct> com.mak.vrlj.object.Entity.getVectoringNozzleSystems ( )
inline

Get the list of PStruct on this entity.

Returns
the list of PStruct on this entity.

References com.mak.vrlj.object.Entity.myVectoringNozzleSystemsData.

ConstVector3f com.mak.vrlj.object.Entity.getWorldAcceleration ( )
inline

Gets this property value.

Returns
the acceleration of this entity with respect to geocentric coordinates as a vector (x, y, z).

References com.mak.vrlj.object.Entity.myApprox, and com.mak.vrlj.object.Entity.myWorldAcceleration.

Referenced by com.mak.vrlj.object.Entity.Entity().

ConstTaitBryan com.mak.vrlj.object.Entity.getWorldOrientation ( )
inline

Gets this property value.

Returns
the orientation of this entity with respect to geocentric coordinates as Tait-Bryan angles.

References com.mak.vrlj.object.Entity.myApprox, and com.mak.vrlj.object.Entity.myWorldOrientation.

Referenced by com.mak.vrlj.object.Entity.Entity().

ConstVector3d com.mak.vrlj.object.Entity.getWorldPosition ( )
inline

Gets this property value.

Returns
the position of this entity with respect to geocentric coordinates as a vector (x, y, z).

References com.mak.vrlj.object.Entity.myApprox, and com.mak.vrlj.object.Entity.myWorldPosition.

Referenced by com.mak.vrlj.object.Entity.Entity().

ConstVector3f com.mak.vrlj.object.Entity.getWorldVelocity ( )
inline

Gets this property value.

Returns
the velocioty of this entity with respect to geocentric coordinates as a vector (x, y, z).

References com.mak.vrlj.object.Entity.myApprox, and com.mak.vrlj.object.Entity.myWorldVelocity.

Referenced by com.mak.vrlj.object.Entity.Entity().

int com.mak.vrlj.object.Entity.hashCode ( )
inline
static void com.mak.vrlj.object.Entity.removeListener ( ExerciseConnection  exConn,
ObjectListener< ObjectIdentifier, Entity >  listener 
)
inlinestatic

Removes a listener for reflected entity objects.

Parameters
exConnexercise connection used for subscription.
listenerlistener to remove.

References com.mak.vrlj.object.Entity.NAME.

void com.mak.vrlj.object.Entity.setAcousticSignatureIndex ( short  acousticSignatureIndex)
inline

Sets this property value.

Parameters
acousticSignatureIndexthe myAcousticSignatureIndex to set
void com.mak.vrlj.object.Entity.setAppearanceBitField ( int  offset,
int  len,
long  newVal 
)
inlineprivate
void com.mak.vrlj.object.Entity.setAppearanceBits ( long  appearanceBits)
inline

Sets this property value.

Parameters
appearanceBitsthe flags which determine the appearance of this entity.

References com.mak.vrlj.object.Entity.myAppearanceBits.

Referenced by com.mak.vrlj.object.Entity.setAppearanceBitField().

Approximator com.mak.vrlj.object.Entity.setAprox ( Approximator  approx)
inline

Sets the Approximator used.

This should only be set internally for Reflected Entities. Currently the approximator is not used for published entities.

Parameters
approxnew approximator to apply.
Returns
the previous Approximator, or null if none.

References com.mak.vrlj.object.Entity.getFrozenBit(), com.mak.vrlj.coord.Approximator.getTimeOfLastLocationValidity(), com.mak.vrlj.coord.Approximator.getTimeOfLastOrientationValidity(), com.mak.vrlj.object.Entity.myApprox, com.mak.vrlj.object.Entity.myRotationalVelocity, and com.mak.vrlj.object.Entity.myWorldAcceleration.

void com.mak.vrlj.object.Entity.setArticulatedParts ( List< ArticulatedPart >  articulatedParts)
inline

Sets this property value.

Parameters
articulatedPartsthe list of ArticulatedPart on this entity.

References com.mak.vrlj.object.Entity.myArticulatedParts.

void com.mak.vrlj.object.Entity.setAttachedParts ( List< AttachedPart >  attachedParts)
inline

Sets this property value.

Parameters
attachedPartsthe list of AttachedPart on this entity.

References com.mak.vrlj.object.Entity.myAttachedParts.

void com.mak.vrlj.object.Entity.setBearing ( float  bearing)
inline

Sets this property value.

Parameters
bearingthe myBearing to set

References com.mak.vrlj.object.Entity.myBearing.

void com.mak.vrlj.object.Entity.setCapabilityBits ( long  capabilityBits)
inline

Sets this property value.

Parameters
capabilityBitsthe flags which determine the capabilities of this entity, as a long.

References com.mak.vrlj.object.Entity.myCapabilityBits.

void com.mak.vrlj.object.Entity.setClock ( Clock  clock)
inline

Sets this property value.

Parameters
clockthe simulation exercise clock used by this entity (for use by the Approximator, etc.).

References com.mak.vrlj.object.Entity.myClock.

void com.mak.vrlj.object.Entity.setDamageState ( DamageState  newVal)
inline

Sets this property value.

Parameters
newValthe DamageState of this entity.

References com.mak.vrlj.object.Entity.setAppearanceBitField().

void com.mak.vrlj.object.Entity.setDeadReckoningType ( DeadReckoningAlgorithm  deadReckoningType)
inline

Sets this property value.

Parameters
deadReckoningTypethe DeadReckoningAlgorithm used by this entity.

References com.mak.vrlj.object.Entity.myApprox, and com.mak.vrlj.object.Entity.myDeadReckoningType.

void com.mak.vrlj.object.Entity.setEntityIdentifier ( EntityIdentifier  id)
inline

Sets this property value.

Parameters
idthe DIS-style EntityIdentifier of this entity.

References com.mak.vrlj.object.Entity.myEntityIdentifier.

void com.mak.vrlj.object.Entity.setFirePower ( FirePower  newVal)
inline

Sets this property value.

Parameters
newValthe FirePower damage status of this entity.

References com.mak.vrlj.object.Entity.setAppearanceBitField().

void com.mak.vrlj.object.Entity.setFlaming ( Flaming  newVal)
inline

Sets this property value.

Parameters
newValthe Flaming appearance status of this entity.

References com.mak.vrlj.object.Entity.setAppearanceBitField().

void com.mak.vrlj.object.Entity.setForceType ( ForceType  forceType)
inline

Sets this property value.

Parameters
forceTypethe ForceType of this entity.

References com.mak.vrlj.object.Entity.myForceType.

void com.mak.vrlj.object.Entity.setFrozenBit ( boolean  frozenBit)
inline

Sets this property value.

Parameters
frozenBitthe myFrozenBit to set
void com.mak.vrlj.object.Entity.setGuise ( EntityType  guise)
inline

Sets this property value.

Parameters
guisethe guise EntityType for this entity.

References com.mak.vrlj.object.Entity.myGuise.

void com.mak.vrlj.object.Entity.setHatchState ( HatchState  newVal)
inline

Sets this property value.

Parameters
newValthe HatchState appearance of this entity.

References com.mak.vrlj.object.Entity.setAppearanceBitField().

void com.mak.vrlj.object.Entity.setHostGlobalId ( String  hostGlobalId)
inline

Sets this property value.

Parameters
hostGlobalIdthe myLiveEntityMeasuredSpeed to set
void com.mak.vrlj.object.Entity.setInfraredSignatureIndex ( short  infraredSignatureIndex)
inline

Sets this property value.

Parameters
infraredSignatureIndexthe myInfraredSignatureIndex to set
void com.mak.vrlj.object.Entity.setLifeformState ( int  lifeformState)
inline

Sets this property value.

Parameters
lifeformStatethe myLifeformState to set
void com.mak.vrlj.object.Entity.setLights ( LightType  newVal)
inline

Sets this property value.

Parameters
newValthe LightType appearance state of this entity.

References com.mak.vrlj.object.Entity.setAppearanceBitField().

void com.mak.vrlj.object.Entity.setLiveEntityMeasuredSpeed ( short  liveEntityMeasuredSpeed)
inline

Sets this property value.

Parameters
liveEntityMeasuredSpeedthe myLiveEntityMeasuredSpeed to set
void com.mak.vrlj.object.Entity.setMarkingText ( String  markingText)
inline

Sets this property value.

Parameters
markingTextthe marking text displayed on this entity.

References com.mak.vrlj.object.Entity.myMarkingText.

void com.mak.vrlj.object.Entity.setMobility ( Mobility  newVal)
inline

Sets this property value.

Parameters
newValthe Mobility damage status and appearance of this entity.

References com.mak.vrlj.object.Entity.setAppearanceBitField().

void com.mak.vrlj.object.Entity.setPaintScheme ( PaintScheme  newVal)
inline

Sets this property value.

Parameters
newValthe PaintScheme appearance of this entity.

References com.mak.vrlj.object.Entity.setAppearanceBitField().

void com.mak.vrlj.object.Entity.setPartNature ( ConstituentPartNature  partNature)
inline

Sets this property value.

Parameters
partNaturethe myPartNature to set
void com.mak.vrlj.object.Entity.setPartPosition ( ConstituentPartPosition  partPosition)
inline

Sets this property value.

Parameters
partPositionthe myPartPosition to set
void com.mak.vrlj.object.Entity.setPartStationName ( ConstituentPartStationName  partStationName)
inline

Sets this property value.

Parameters
partStationNamethe myPartStationName to set
void com.mak.vrlj.object.Entity.setPropulsionSystems ( List< PStruct >  propSys)
inline

Get the list of PStruct on this entity.

Parameters
propSysthe propulsion systems to set.

References com.mak.vrlj.object.Entity.myPropulsionSystemsData.

void com.mak.vrlj.object.Entity.setRange ( float  range)
inline

Sets this property value.

Parameters
rangethe myRange to set

References com.mak.vrlj.object.Entity.myRange.

void com.mak.vrlj.object.Entity.setRelativePosition ( Vector3f  relativePosition)
inline

Sets this property value.

Parameters
relativePositionthe myRelativePosition to set
void com.mak.vrlj.object.Entity.setRotationalVelocity ( ConstVector3f  rotationalVelocity)
inline

Sets this property value.

Parameters
rotationalVelocitythe rotational velocity of this entity as a vector of (psi in radians/second, theta in radians/second, phi in radians/second).

References com.mak.vrlj.object.Entity.myApprox.

void com.mak.vrlj.object.Entity.setSmoke ( Smoke  newVal)
inline

Sets this property value.

Parameters
newValthe Smoke appearance of this entity.

References com.mak.vrlj.object.Entity.setAppearanceBitField().

void com.mak.vrlj.object.Entity.setStationNumber ( long  stationNumber)
inline

Sets this property value.

Parameters
stationNumberthe myStationNumber to set
void com.mak.vrlj.object.Entity.setTrailingEffects ( TrailingEffects  newVal)
inline

Sets this property value.

Parameters
newValthe TrailingEffects appearance of this entity.

References com.mak.vrlj.object.Entity.setAppearanceBitField().

void com.mak.vrlj.object.Entity.setType ( EntityType  type)
inline

Sets this property value.

Parameters
typethe EntityType of this entity.

References com.mak.vrlj.object.Entity.myType.

void com.mak.vrlj.object.Entity.setVectoringNozzleSystems ( List< VNStruct >  nozSys)
inline

Get the list of VNStruct on this entity.

Parameters
nozSysthe vectoring nozzle systems to set.

References com.mak.vrlj.object.Entity.myVectoringNozzleSystemsData.

void com.mak.vrlj.object.Entity.setWorldAcceleration ( ConstVector3f  worldAcceleration)
inline

Sets this property value.

Parameters
worldAccelerationthe acceleration of this entity with respect to geocentric coordinates as a vector (x, y, z).

References com.mak.vrlj.object.Entity.myApprox.

void com.mak.vrlj.object.Entity.setWorldOrientation ( ConstTaitBryan  worldOrientation)
inline

Sets this property value.

Parameters
worldOrientationthe orientation of this entity with respect to geocentric coordinates as Tait-Bryan angles.

References com.mak.vrlj.object.Entity.myApprox.

void com.mak.vrlj.object.Entity.setWorldPosition ( ConstVector3d  worldPosition)
inline

Sets this property value.

Parameters
worldPositionthe position of this entity with respect to geocentric coordinates as a vector (x, y, z).

References com.mak.vrlj.object.Entity.myApprox.

void com.mak.vrlj.object.Entity.setWorldVelocity ( ConstVector3f  worldVelocity)
inline

Sets this property value.

Parameters
worldVelocitythe velocity of this entity with respect to geocentric coordinates as a vector (x, y, z).

References com.mak.vrlj.object.Entity.myApprox.

String com.mak.vrlj.object.Entity.toString ( )
inline

Member Data Documentation

short com.mak.vrlj.object.Entity.myAcousticSignatureIndex
private
long com.mak.vrlj.object.Entity.myAppearanceBits
private
Approximator com.mak.vrlj.object.Entity.myApprox = null
private
List<ArticulatedPart> com.mak.vrlj.object.Entity.myArticulatedParts = new ArrayList<ArticulatedPart>()
private
List<AttachedPart> com.mak.vrlj.object.Entity.myAttachedParts = new ArrayList<AttachedPart>()
private
float com.mak.vrlj.object.Entity.myBearing
private
long com.mak.vrlj.object.Entity.myCapabilityBits
private
Clock com.mak.vrlj.object.Entity.myClock
private
DeadReckoningAlgorithm com.mak.vrlj.object.Entity.myDeadReckoningType
private
EntityIdentifier com.mak.vrlj.object.Entity.myEntityIdentifier
private
ForceType com.mak.vrlj.object.Entity.myForceType
private
boolean com.mak.vrlj.object.Entity.myFrozenBit
private
final GlobalObjectDesignator com.mak.vrlj.object.Entity.myGlobalObjectDesignator
private
EntityType com.mak.vrlj.object.Entity.myGuise
private
String com.mak.vrlj.object.Entity.myHostGlobalId
private
short com.mak.vrlj.object.Entity.myInfraredSignatureIndex
private
int com.mak.vrlj.object.Entity.myLifeformState
private
short com.mak.vrlj.object.Entity.myLiveEntityMeasuredSpeed
private
String com.mak.vrlj.object.Entity.myMarkingText
private
ConstituentPartNature com.mak.vrlj.object.Entity.myPartNature
private
ConstituentPartPosition com.mak.vrlj.object.Entity.myPartPosition
private
ConstituentPartStationName com.mak.vrlj.object.Entity.myPartStationName
private
List<PStruct> com.mak.vrlj.object.Entity.myPropulsionSystemsData = new ArrayList<PStruct>()
private
float com.mak.vrlj.object.Entity.myRange
private
final Vector3f com.mak.vrlj.object.Entity.myRelativePosition
private
final Vector3f com.mak.vrlj.object.Entity.myRotationalVelocity
private
long com.mak.vrlj.object.Entity.myStationNumber
private
EntityType com.mak.vrlj.object.Entity.myType
private
List<VNStruct> com.mak.vrlj.object.Entity.myVectoringNozzleSystemsData = new ArrayList<VNStruct>()
private
final Vector3f com.mak.vrlj.object.Entity.myWorldAcceleration
private
final TaitBryan com.mak.vrlj.object.Entity.myWorldOrientation
private
final Vector3d com.mak.vrlj.object.Entity.myWorldPosition
private
final Vector3f com.mak.vrlj.object.Entity.myWorldVelocity
private
final String com.mak.vrlj.object.Entity.NAME = ":Entity"
static

The documentation for this class was generated from the following file:

Document ID: Generated on Mon Sep 28 00:09:32 EDT 2026 from SVN revision 295353
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)