-
Notifications
You must be signed in to change notification settings - Fork 0
/
PlottingParameters.m
57 lines (56 loc) · 2.52 KB
/
PlottingParameters.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Core Model, 2022
% Written by Maya Davis
% Concept by Maya Davis and Melissa A. Redford
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
classdef PlottingParameters
properties
% I should make these so that if you change them online they update
% -- i.e. I should use the sourcing framework for the color data or
% whatever
ClusterColorArray; % Will take the first however-many colors
MotorSilhouetteColor1;
MotorSilhouetteColor2;
MotorSilhouetteMinOpacity;
MotorSilhouetteMaxOpacity;
PerceptualTrajectoryColor1;
PerceptualTrajectoryColor2;
ResultTrajectoryColor1;
ResultTrajectoryColor2;
VisiblePointsPerStep;
JunctureSizes;
ResultPointSizes;
ClusterActivationToAlphaFunction;
NumberOfSilhouetteVertices;
NumberOfPointsBetweenPoints;
MotorBounds;
PerceptualBounds;
end
methods
function obj = PlottingParameters(ClusterColorArray, ...
MotorSilhouetteColor1, MotorSilhouetteColor2, ...
MotorSilhouetteMinOpacity, MotorSilhouetteMaxOpacity, ...
PerceptualTrajectoryColor1, PerceptualTrajectoryColor2, ...
ResultTrajectoryColor1, ResultTrajectoryColor2, ...
VisiblePointsPerStep, JunctureSizes, ResultPointSizes, ...
NumberOfSilhouetteVertices, ...
NumberOfPointsBetweenPoints, MotorBounds, PerceptualBounds)
obj.ClusterColorArray = ClusterColorArray;
obj.MotorSilhouetteColor1 = MotorSilhouetteColor1;
obj.MotorSilhouetteColor2 = MotorSilhouetteColor2;
obj.MotorSilhouetteMinOpacity = MotorSilhouetteMinOpacity;
obj.MotorSilhouetteMaxOpacity = MotorSilhouetteMaxOpacity;
obj.PerceptualTrajectoryColor1 = PerceptualTrajectoryColor1;
obj.PerceptualTrajectoryColor2 = PerceptualTrajectoryColor2;
obj.ResultTrajectoryColor1 = ResultTrajectoryColor1;
obj.ResultTrajectoryColor2 = ResultTrajectoryColor2;
obj.VisiblePointsPerStep = VisiblePointsPerStep;
obj.JunctureSizes = JunctureSizes;
obj.ResultPointSizes = ResultPointSizes;
obj.NumberOfSilhouetteVertices = NumberOfSilhouetteVertices;
obj.NumberOfPointsBetweenPoints = NumberOfPointsBetweenPoints;
obj.MotorBounds = MotorBounds;
obj.PerceptualBounds = PerceptualBounds;
end
end
end