TEntity - The type of entity.public class HistoryVisualizer<TEntity extends IEntityIdentifier & IEntityPosition & IEntityLastUpdate> extends EntityVisualizer<TEntity>
EntityVisualizer that creates a historical
 track for each entity.
 This visualizer uses a single PolylinePrimitive
 set to PolylineType.PolylineType.LINES in
 order to visualize each history efficiently.
EntityHistory, 
HistoryGenerator, 
WaypointVisualizer| Constructor and Description | 
|---|
HistoryVisualizer(TypeLiteral<TEntity> typeLiteralTEntity)
Initializes a new instance. 
 | 
HistoryVisualizer(TypeLiteral<TEntity> typeLiteralTEntity,
                 EntitySet<TEntity> entities,
                 HistoryGenerator<TEntity> historyGenerator)
Creates a new instance with the provided  
EntitySet and HistoryGenerator. | 
HistoryVisualizer(TypeLiteral<TEntity> typeLiteralTEntity,
                 EntitySet<TEntity> entities,
                 HistoryGenerator<TEntity> historyGenerator,
                 SetHint setHint)
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
dispose(boolean disposing)
Releases any resources associated with this instance. 
 | 
Color | 
getColor()
Gets the color. 
 | 
boolean | 
getDisplay()
Gets a value indicating whether the entities are displayed. 
 | 
DisplayCondition | 
getDisplayCondition()
Gets the  
DisplayCondition. | 
boolean | 
getDisplayOutline()
Gets a value indicating whether to outline each track. 
 | 
EntitySet<TEntity> | 
getEntities()
Gets the entities being visualized. 
 | 
HistoryGenerator<TEntity> | 
getHistoryGenerator()
Gets the  
HistoryGenerator used for retrieving track data. | 
Color | 
getOutlineColor()
Gets the color of each track outline. 
 | 
float | 
getOutlineTranslucency()
Gets the translucency of the track outline. 
 | 
float | 
getOutlineWidth()
Gets the width of the track outline, in pixels. 
 | 
SetHint | 
getSetHint()
Gets the  
SetHint (get) of the underlying primitive. | 
float | 
getTranslucency()
Gets the translucency. 
 | 
float | 
getWidth()
Gets the width of the track history line in pixels. 
 | 
Iterable<TEntity> | 
pick(PickResult pickResult)
Given a  
PickResult, returns the entities that were picked. | 
void | 
setColor(Color value)
Sets the color. 
 | 
void | 
setDisplay(boolean value)
Sets a value indicating whether the entities are displayed. 
 | 
void | 
setDisplayCondition(DisplayCondition value)
Sets the  
DisplayCondition. | 
void | 
setDisplayOutline(boolean value)
Sets a value indicating whether to outline each track. 
 | 
void | 
setEntities(EntitySet<TEntity> value)
Sets the entities being visualized. 
 | 
void | 
setHistoryGenerator(HistoryGenerator<TEntity> value)
Sets the  
HistoryGenerator used for retrieving track data. | 
void | 
setOutlineColor(Color value)
Sets the color of each track outline. 
 | 
void | 
setOutlineTranslucency(float value)
Sets the translucency of the track outline. 
 | 
void | 
setOutlineWidth(float value)
Sets the width of the track outline, in pixels. 
 | 
void | 
setTranslucency(float value)
Sets the translucency. 
 | 
void | 
setWidth(float value)
Sets the width of the track history line in pixels. 
 | 
void | 
update(Transaction transaction)
Updates the underlying primitive to reflect the latest entity track history. 
 | 
dispose, pick, pickclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic HistoryVisualizer(TypeLiteral<TEntity> typeLiteralTEntity)
typeLiteralTEntity - A TypeLiteral object representing the generic type TEntity.public HistoryVisualizer(TypeLiteral<TEntity> typeLiteralTEntity, EntitySet<TEntity> entities, HistoryGenerator<TEntity> historyGenerator)
EntitySet and HistoryGenerator.typeLiteralTEntity - A TypeLiteral object representing the generic type TEntity.entities - The entities to be visualized.historyGenerator - The instance HistoryGenerator{TEntity} to use to retrieve track data.public HistoryVisualizer(TypeLiteral<TEntity> typeLiteralTEntity, EntitySet<TEntity> entities, HistoryGenerator<TEntity> historyGenerator, @Nonnull SetHint setHint)
typeLiteralTEntity - A TypeLiteral object representing the generic type TEntity.entities - The entities to be visualized.historyGenerator - The instance HistoryGenerator{TEntity} to use to retrieve track data.setHint - The SetHint (get) to use for the underlying primitives./>protected void dispose(boolean disposing)
dispose in class EntityVisualizer<TEntity extends IEntityIdentifier & IEntityPosition & IEntityLastUpdate>disposing - true to release both managed and unmanaged resources;
    false to release only unmanaged resources.public final HistoryGenerator<TEntity> getHistoryGenerator()
HistoryGenerator used for retrieving track data.public final void setHistoryGenerator(HistoryGenerator<TEntity> value)
HistoryGenerator used for retrieving track data.public final float getWidth()
public final void setWidth(float value)
public final boolean getDisplayOutline()
public final void setDisplayOutline(boolean value)
public final void setOutlineColor(@Nonnull Color value)
public final float getOutlineTranslucency()
public final void setOutlineTranslucency(float value)
public final float getOutlineWidth()
public final void setOutlineWidth(float value)
@Nonnull public final SetHint getSetHint()
SetHint (get) of the underlying primitive.public EntitySet<TEntity> getEntities()
getEntities in class EntityVisualizer<TEntity extends IEntityIdentifier & IEntityPosition & IEntityLastUpdate>public void setEntities(EntitySet<TEntity> value)
setEntities in class EntityVisualizer<TEntity extends IEntityIdentifier & IEntityPosition & IEntityLastUpdate>@Nonnull public Color getColor()
EntityVisualizergetColor in class EntityVisualizer<TEntity extends IEntityIdentifier & IEntityPosition & IEntityLastUpdate>public void setColor(@Nonnull Color value)
EntityVisualizersetColor in class EntityVisualizer<TEntity extends IEntityIdentifier & IEntityPosition & IEntityLastUpdate>public float getTranslucency()
getTranslucency in class EntityVisualizer<TEntity extends IEntityIdentifier & IEntityPosition & IEntityLastUpdate>public void setTranslucency(float value)
setTranslucency in class EntityVisualizer<TEntity extends IEntityIdentifier & IEntityPosition & IEntityLastUpdate>public boolean getDisplay()
getDisplay in class EntityVisualizer<TEntity extends IEntityIdentifier & IEntityPosition & IEntityLastUpdate>public void setDisplay(boolean value)
setDisplay in class EntityVisualizer<TEntity extends IEntityIdentifier & IEntityPosition & IEntityLastUpdate>public DisplayCondition getDisplayCondition()
EntityVisualizerDisplayCondition.getDisplayCondition in class EntityVisualizer<TEntity extends IEntityIdentifier & IEntityPosition & IEntityLastUpdate>public void setDisplayCondition(DisplayCondition value)
EntityVisualizerDisplayCondition.setDisplayCondition in class EntityVisualizer<TEntity extends IEntityIdentifier & IEntityPosition & IEntityLastUpdate>public void update(Transaction transaction)
update in class EntityVisualizer<TEntity extends IEntityIdentifier & IEntityPosition & IEntityLastUpdate>transaction - The transaction to use.ArgumentNullException - Thrown if transaction is null.PropertyInvalidException - Thrown if Entities (get / set) is null.PropertyInvalidException - Thrown if HistoryGenerator (get / set) is null.public Iterable<TEntity> pick(PickResult pickResult)
PickResult, returns the entities that were picked.pick in class EntityVisualizer<TEntity extends IEntityIdentifier & IEntityPosition & IEntityLastUpdate>pickResult - The result of the Insight3D pick.ArgumentNullException - Thrown if pickResult is null.