JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.graph.ui.AnimGroup.Set Class Reference

Animation-Set covering its ShapeData elements, LerpFunc and animation parameter. More...

Collaboration diagram for com.jogamp.graph.ui.AnimGroup.Set:

Public Member Functions

ShapeData addShape (final AnimGroup g, final Shape s, final ShapeSetup op)
 Adds given Shape to this Set and its AnimGroup wrapping it in ShapeData. More...
 
void removeShape (final AnimGroup g, final GL2ES2 gl, final RegionRenderer renderer, final ShapeData sd)
 Removes given ShapeData from this Set and its AnimGroup. More...
 
void removeShapes (final AnimGroup g, final GL2ES2 gl, final RegionRenderer renderer)
 Removes all ShapeData from this Set and its AnimGroup. More...
 
void setAnimationActive (final boolean v)
 
boolean isAnimationActive ()
 

Public Attributes

final float pixPerMM
 Pixel per millimeter. More...
 
final Vec2f pixPerShapeUnit
 Pixel per shape unit. More...
 
final Shape refShape
 Reference Shape giving reference size. More...
 
final float accel
 Translation acceleration in [m]/[s*s]. More...
 
final float accel_obj
 Translation acceleration in [shapeUnit]/[s*s]. More...
 
final float start_velocity
 Start translation velocity in [m]/[s]. More...
 
final float start_velocity_obj
 Start translation velocity in [shapeUnit]/[s]. More...
 
float velocity
 Current translation velocity in [m]/[s]. More...
 
float velocity_obj
 Current translation velocity in [shapeUnit]/[s]. More...
 
final float ang_accel
 Angular acceleration in [radians]/[s*s]. More...
 
final float start_ang_velo
 Start angular velocity in [radians]/[s]. More...
 
float ang_velo
 Current angular velocity in [radians]/[s]. More...
 
final LerpFunc lerp
 LerpFunc function More...
 
final List< ShapeDataallShapes
 All Shapes wrapped within ShapeData. More...
 
final AABBox sourceBounds
 Unscaled bounds of allShapes at their original position, size and rotation. More...
 

Detailed Description

Animation-Set covering its ShapeData elements, LerpFunc and animation parameter.

Definition at line 98 of file AnimGroup.java.

Member Function Documentation

◆ addShape()

ShapeData com.jogamp.graph.ui.AnimGroup.Set.addShape ( final AnimGroup  g,
final Shape  s,
final ShapeSetup  op 
)

Adds given Shape to this Set and its AnimGroup wrapping it in ShapeData.

Also issues ShapeSetup#setup(Set, int, ShapeData).

Returns
newly created ShapeData

Definition at line 169 of file AnimGroup.java.

Here is the call graph for this function:

◆ isAnimationActive()

boolean com.jogamp.graph.ui.AnimGroup.Set.isAnimationActive ( )

Definition at line 216 of file AnimGroup.java.

◆ removeShape()

void com.jogamp.graph.ui.AnimGroup.Set.removeShape ( final AnimGroup  g,
final GL2ES2  gl,
final RegionRenderer  renderer,
final ShapeData  sd 
)

Removes given ShapeData from this Set and its AnimGroup.

Also destroys the ShapeData, including its ShapeData and their Shape.

Definition at line 185 of file AnimGroup.java.

Here is the call graph for this function:

◆ removeShapes()

void com.jogamp.graph.ui.AnimGroup.Set.removeShapes ( final AnimGroup  g,
final GL2ES2  gl,
final RegionRenderer  renderer 
)

Removes all ShapeData from this Set and its AnimGroup.

Also destroys the ShapeData, including its ShapeData and their Shape.

Definition at line 197 of file AnimGroup.java.

Here is the call graph for this function:

◆ setAnimationActive()

void com.jogamp.graph.ui.AnimGroup.Set.setAnimationActive ( final boolean  v)

Definition at line 211 of file AnimGroup.java.

Member Data Documentation

◆ accel

final float com.jogamp.graph.ui.AnimGroup.Set.accel

Translation acceleration in [m]/[s*s].

Definition at line 107 of file AnimGroup.java.

◆ accel_obj

final float com.jogamp.graph.ui.AnimGroup.Set.accel_obj

Translation acceleration in [shapeUnit]/[s*s].

Definition at line 109 of file AnimGroup.java.

◆ allShapes

final List<ShapeData> com.jogamp.graph.ui.AnimGroup.Set.allShapes

All Shapes wrapped within ShapeData.

Definition at line 130 of file AnimGroup.java.

◆ ang_accel

final float com.jogamp.graph.ui.AnimGroup.Set.ang_accel

Angular acceleration in [radians]/[s*s].

Definition at line 120 of file AnimGroup.java.

◆ ang_velo

float com.jogamp.graph.ui.AnimGroup.Set.ang_velo

Current angular velocity in [radians]/[s].

Definition at line 124 of file AnimGroup.java.

◆ lerp

final LerpFunc com.jogamp.graph.ui.AnimGroup.Set.lerp

LerpFunc function

Definition at line 127 of file AnimGroup.java.

◆ pixPerMM

final float com.jogamp.graph.ui.AnimGroup.Set.pixPerMM

Pixel per millimeter.

Definition at line 100 of file AnimGroup.java.

◆ pixPerShapeUnit

final Vec2f com.jogamp.graph.ui.AnimGroup.Set.pixPerShapeUnit

Pixel per shape unit.

Definition at line 102 of file AnimGroup.java.

◆ refShape

final Shape com.jogamp.graph.ui.AnimGroup.Set.refShape

Reference Shape giving reference size.

Definition at line 104 of file AnimGroup.java.

◆ sourceBounds

final AABBox com.jogamp.graph.ui.AnimGroup.Set.sourceBounds

Unscaled bounds of allShapes at their original position, size and rotation.

Definition at line 133 of file AnimGroup.java.

◆ start_ang_velo

final float com.jogamp.graph.ui.AnimGroup.Set.start_ang_velo

Start angular velocity in [radians]/[s].

Definition at line 122 of file AnimGroup.java.

◆ start_velocity

final float com.jogamp.graph.ui.AnimGroup.Set.start_velocity

Start translation velocity in [m]/[s].

Definition at line 111 of file AnimGroup.java.

◆ start_velocity_obj

final float com.jogamp.graph.ui.AnimGroup.Set.start_velocity_obj

Start translation velocity in [shapeUnit]/[s].

Definition at line 113 of file AnimGroup.java.

◆ velocity

float com.jogamp.graph.ui.AnimGroup.Set.velocity

Current translation velocity in [m]/[s].

Definition at line 115 of file AnimGroup.java.

◆ velocity_obj

float com.jogamp.graph.ui.AnimGroup.Set.velocity_obj

Current translation velocity in [shapeUnit]/[s].

Definition at line 117 of file AnimGroup.java.


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