Wavelength
Privacy-focused, cross-platform, and open-source communication application
Loading...
Searching...
No Matches
PathMarkersManager::PathMarker Struct Reference

Structure representing a single animated marker moving along the path. More...

#include <path_markers_manager.h>

Collaboration diagram for PathMarkersManager::PathMarker:

Public Attributes

double color_phase
 Current phase for color cycling (0.0 to 1.0).
 
double color_speed
 Speed at which the color phase changes.
 
int direction
 Direction of movement along the path (1 or -1).
 
int marker_type
 Type of marker: 0=Impulse, 1=Wave, 2=Quantum.
 
double position
 Current position along the path, normalized (0.0 to 1.0).
 
double quantum_offset
 Random offset for quantum effect timing (type 2).
 
int quantum_state
 Current state: 0=Single, 1=Expanding, 2=Fragmented, 3=Collapsing.
 
double quantum_state_duration
 Total duration planned for the current quantum state.
 
double quantum_state_time
 Time elapsed in the current quantum state.
 
int size
 Base size of the marker in pixels.
 
double speed
 Individual movement speed of the marker along the path.
 
double tail_length
 Length of the trail for impulse markers (type 0), normalized to path length.
 
std::vector< QPointF > trail_points
 Pre-calculated points for rendering the trail of impulse markers (type 0).
 
double wave_phase
 Current phase/radius of the disturbance wave (type 1).
 

Detailed Description

Structure representing a single animated marker moving along the path.

Member Data Documentation

◆ color_phase

double PathMarkersManager::PathMarker::color_phase

Current phase for color cycling (0.0 to 1.0).

◆ color_speed

double PathMarkersManager::PathMarker::color_speed

Speed at which the color phase changes.

◆ direction

int PathMarkersManager::PathMarker::direction

Direction of movement along the path (1 or -1).

◆ marker_type

int PathMarkersManager::PathMarker::marker_type

Type of marker: 0=Impulse, 1=Wave, 2=Quantum.

◆ position

double PathMarkersManager::PathMarker::position

Current position along the path, normalized (0.0 to 1.0).

◆ quantum_offset

double PathMarkersManager::PathMarker::quantum_offset

Random offset for quantum effect timing (type 2).

◆ quantum_state

int PathMarkersManager::PathMarker::quantum_state

Current state: 0=Single, 1=Expanding, 2=Fragmented, 3=Collapsing.

◆ quantum_state_duration

double PathMarkersManager::PathMarker::quantum_state_duration

Total duration planned for the current quantum state.

◆ quantum_state_time

double PathMarkersManager::PathMarker::quantum_state_time

Time elapsed in the current quantum state.

◆ size

int PathMarkersManager::PathMarker::size

Base size of the marker in pixels.

◆ speed

double PathMarkersManager::PathMarker::speed

Individual movement speed of the marker along the path.

◆ tail_length

double PathMarkersManager::PathMarker::tail_length

Length of the trail for impulse markers (type 0), normalized to path length.

◆ trail_points

std::vector<QPointF> PathMarkersManager::PathMarker::trail_points

Pre-calculated points for rendering the trail of impulse markers (type 0).

◆ wave_phase

double PathMarkersManager::PathMarker::wave_phase

Current phase/radius of the disturbance wave (type 1).


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