Skip to main content

WhiskerWidgetStateData

WhiskerWidgetStateData

Serializable data structure for WhiskerWidgetState. More…

#include <WhiskerWidgetState.hpp>

Public Attributes

Name
std::string instance_id
Unique instance ID (preserved across serialization).
std::string display_name
User-visible name.
int face_orientation
Face orientation (0=Top, 1=Bottom, 2=Left, 3=Right).
int num_whiskers_to_track
Number of whiskers to track.
double length_threshold
Minimum whisker length threshold.
int clip_length
Clip length for whisker processing.
float linking_tolerance
Tolerance for linking whiskers across frames.
std::string whisker_pad_key
Current selected PointData key for whisker pad.
float whisker_pad_x
Whisker pad X position.
float whisker_pad_y
Whisker pad Y position.
bool use_mask_mode
Whether mask mode is enabled.
std::string selected_mask_key
Selected mask key for mask mode.
int current_whisker
Currently selected whisker index.
bool auto_dl
Whether auto deep learning mode is enabled.

Detailed Description

struct WhiskerWidgetStateData;

Serializable data structure for WhiskerWidgetState.

This struct is designed for reflect-cpp serialization. All members should be default-constructible and serializable.

Public Attributes Documentation

variable instance_id

std::string instance_id;

Unique instance ID (preserved across serialization).

variable display_name

std::string display_name = "Whisker Tracking";

User-visible name.

variable face_orientation

int face_orientation = 0;

Face orientation (0=Top, 1=Bottom, 2=Left, 3=Right).

variable num_whiskers_to_track

int num_whiskers_to_track = 0;

Number of whiskers to track.

variable length_threshold

double length_threshold = 30.0;

Minimum whisker length threshold.

variable clip_length

int clip_length = 0;

Clip length for whisker processing.

variable linking_tolerance

float linking_tolerance = 20.0f;

Tolerance for linking whiskers across frames.

variable whisker_pad_key

std::string whisker_pad_key;

Current selected PointData key for whisker pad.

variable whisker_pad_x

float whisker_pad_x = 0.0f;

Whisker pad X position.

variable whisker_pad_y

float whisker_pad_y = 0.0f;

Whisker pad Y position.

variable use_mask_mode

bool use_mask_mode = false;

Whether mask mode is enabled.

variable selected_mask_key

std::string selected_mask_key;

Selected mask key for mask mode.

variable current_whisker

int current_whisker = 0;

Currently selected whisker index.

variable auto_dl

bool auto_dl = false;

Whether auto deep learning mode is enabled.


Updated on 2026-11-13 at 20:25:39 +0000