Switch to unified view

a b/MATLAB/plotBoneModels_example.m
1
%PLOTBONEMODELS_EXAMPLE provides an example how to plot the VSD subjects.
2
%
3
% AUTHOR: Maximilian C. M. Fischer
4
% COPYRIGHT (C) 2022-2023 Maximilian C. M. Fischer
5
% LICENSE: EUPL v1.2
6
%
7
8
clearvars; close all
9
10
addpath(genpath('src'))
11
12
% Load subjects & meta data
13
subjectXLSX = 'res\VSD_Subjects.xlsx';
14
Subjects = readtable(subjectXLSX);
15
Subject = Subjects.ID{1};
16
17
patchProps.FaceAlpha = 1;
18
load(['..\Bones\' Subject '.mat'], 'B')
19
visualizeMeshes([B(1:end).mesh],patchProps)
20
anatomicalViewButtons('LPS')
21
axis off tight; view(0,0);
22
set(gcf,'Name',['VSD subject: ' Subject],'NumberTitle','off')
23
title('Scroll click: Rotate | Scroll: Zoom | Right click: Pan')
24
25
% [List.f, List.p] = matlab.codetools.requiredFilesAndProducts([mfilename '.m']);
26
% List.f = List.f'; List.p = List.p';