Skip to content

Commit f440453

Browse files
atracsys-sbtadamrankin
authored andcommitted
ENH: added Atracsys geometries, two configuration files for SlicerAstmPhantomTest extension
1 parent 2a1ae08 commit f440453

8 files changed

Lines changed: 349 additions & 0 deletions
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
; Navex pointer
2+
[geometry]
3+
version=1
4+
id=020
5+
count=4
6+
divotCount=0
7+
[fiducial0]
8+
x=-15
9+
y=-124
10+
z=2.7
11+
normalX=0
12+
normalY=0
13+
normalZ=1
14+
fiducialType=0x01010000u
15+
[fiducial1]
16+
x=15
17+
y=-134
18+
z=2.7
19+
normalX=0
20+
normalY=0
21+
normalZ=1
22+
fiducialType=0x01010000u
23+
[fiducial2]
24+
x=25
25+
y=-244
26+
z=2.7
27+
normalX=0
28+
normalY=0
29+
normalZ=1
30+
fiducialType=0x01010000u
31+
[fiducial3]
32+
x=-20
33+
y=-264
34+
z=2.7
35+
normalX=0
36+
normalY=0
37+
normalZ=1
38+
fiducialType=0x01010000u
39+
[tip]
40+
tipRadius=0.5
41+
normalX=0
42+
normalY=1
43+
normalZ=0
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
; Passive Navex Shield marker v2 geometry 101
2+
[geometry]
3+
version=1
4+
id=101
5+
count=3
6+
divotCount=1
7+
[fiducial0]
8+
x=0
9+
y=18
10+
z=-1.3
11+
fiducialType=0x01010001u
12+
normalX=0
13+
normalY=0
14+
normalZ=1
15+
[fiducial1]
16+
x=-15
17+
y=-19.08
18+
z=-1.3
19+
fiducialType=0x01010001u
20+
normalX=0
21+
normalY=0
22+
normalZ=1
23+
[fiducial2]
24+
x=16.59
25+
y=-13.95
26+
z=-1.3
27+
fiducialType=0x01010001u
28+
normalX=0
29+
normalY=0
30+
normalZ=1
31+
[divot0]
32+
x=0
33+
y=0
34+
z=0
35+
divotRadius=0.4
36+
divotHalfAngle=0
37+
normalX=0
38+
normalY=0
39+
normalZ=1
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
; Passive Navex Shield marker v2 geometry 102
2+
[geometry]
3+
version=1
4+
id=102
5+
count=4
6+
divotCount=1
7+
[fiducial0]
8+
x=0
9+
y=17.34
10+
z=-1.3
11+
fiducialType=0x01010001u
12+
normalX=0
13+
normalY=0
14+
normalZ=1
15+
[fiducial1]
16+
x=-23.63
17+
y=-19.77
18+
z=-1.3
19+
fiducialType=0x01010001u
20+
normalX=0
21+
normalY=0
22+
normalZ=1
23+
[fiducial2]
24+
x=0
25+
y=-41.35
26+
z=-1.3
27+
fiducialType=0x01010001u
28+
normalX=0
29+
normalY=0
30+
normalZ=1
31+
[fiducial3]
32+
x=24.09
33+
y=-14.6
34+
z=-1.3
35+
fiducialType=0x01010001u
36+
normalX=0
37+
normalY=0
38+
normalZ=1
39+
[divot0]
40+
x=0
41+
y=0
42+
z=0
43+
divotRadius=0.4
44+
divotHalfAngle=0
45+
normalX=0
46+
normalY=0
47+
normalZ=1
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
; Passive Navex Shield marker v2 geometry 103
2+
[geometry]
3+
version=1
4+
id=103
5+
count=3
6+
divotCount=1
7+
[fiducial0]
8+
x=0
9+
y=23.87
10+
z=-1.3
11+
fiducialType=0x01010001u
12+
normalX=0
13+
normalY=0
14+
normalZ=1
15+
[fiducial1]
16+
x=-23.69
17+
y=-25.77
18+
z=-1.3
19+
fiducialType=0x01010001u
20+
normalX=0
21+
normalY=0
22+
normalZ=1
23+
[fiducial2]
24+
x=26.12
25+
y=-30.14
26+
z=-1.3
27+
fiducialType=0x01010001u
28+
normalX=0
29+
normalY=0
30+
normalZ=1
31+
[divot0]
32+
x=0
33+
y=0
34+
z=0
35+
divotRadius=0.4
36+
divotHalfAngle=0
37+
normalX=0
38+
normalY=0
39+
normalZ=1
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
; Passive Navex Shield marker v2 geometry 104
2+
[geometry]
3+
version=1
4+
id=104
5+
count=4
6+
divotCount=1
7+
[fiducial0]
8+
x=0
9+
y=31.28
10+
z=-1.3
11+
fiducialType=0x01010001u
12+
normalX=0
13+
normalY=0
14+
normalZ=1
15+
[fiducial1]
16+
x=-33.72
17+
y=-18.35
18+
z=-1.3
19+
fiducialType=0x01010001u
20+
normalX=0
21+
normalY=0
22+
normalZ=1
23+
[fiducial2]
24+
x=0
25+
y=-55.27
26+
z=-1.3
27+
fiducialType=0x01010001u
28+
normalX=0
29+
normalY=0
30+
normalZ=1
31+
[fiducial3]
32+
x=41.28
33+
y=-18.93
34+
z=-1.3
35+
fiducialType=0x01010001u
36+
normalX=0
37+
normalY=0
38+
normalZ=1
39+
[divot0]
40+
x=0
41+
y=0
42+
z=0
43+
divotRadius=0.4
44+
divotHalfAngle=0
45+
normalX=0
46+
normalY=0
47+
normalZ=1
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
; Passive Navex Shield marker v2 geometry 105
2+
[geometry]
3+
version=1
4+
id=105
5+
count=3
6+
divotCount=1
7+
[fiducial0]
8+
x=0
9+
y=37.52
10+
z=-1.3
11+
fiducialType=0x01010001u
12+
normalX=0
13+
normalY=0
14+
normalZ=1
15+
[fiducial1]
16+
x=-28.69
17+
y=-42.49
18+
z=-1.3
19+
fiducialType=0x01010001u
20+
normalX=0
21+
normalY=0
22+
normalZ=1
23+
[fiducial2]
24+
x=30.22
25+
y=-31.12
26+
z=-1.3
27+
fiducialType=0x01010001u
28+
normalX=0
29+
normalY=0
30+
normalZ=1
31+
[divot0]
32+
x=0
33+
y=0
34+
z=0
35+
divotRadius=0.4
36+
divotHalfAngle=0
37+
normalX=0
38+
normalY=0
39+
normalZ=1
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<PlusConfiguration version="2.7">
2+
3+
<DataCollection StartupDelaySec="1.0">
4+
<DeviceSet
5+
Name="PlusServer: ASTM Phantom Test (Atracsys)"
6+
Description="Broadcasting through OpenIGTLink the tracking data necessary for the ASTM Phantom Test from an Atracsys device."
7+
/>
8+
<Device
9+
Id="TrackerDevice"
10+
Type="AtracsysTracker"
11+
MaxMissingFiducials="0"
12+
MaxMeanRegistrationErrorMm="1.0"
13+
SymmetriseCoordinates="1"
14+
EnableLasers="0"
15+
EnableIRstrobe="1"
16+
ImageCompressionThreshold="50"
17+
ImageIntegrationTime="130"
18+
ToolReferenceFrame="Tracker" >
19+
<DataSources>
20+
<DataSource Type="Tool" Id="Phantom" TrackingType="PASSIVE" GeometryFile="AtracsysTools/geometry104.ini" />
21+
<DataSource Type="Tool" Id="Pointer" TrackingType="PASSIVE" GeometryFile="AtracsysTools/geometry020.ini" />
22+
</DataSources>
23+
<OutputChannels>
24+
<OutputChannel Id="TrackerStream">
25+
<DataSource Type="Tool" Id="Phantom" />
26+
<DataSource Type="Tool" Id="Pointer" />
27+
</OutputChannel>
28+
</OutputChannels>
29+
</Device>
30+
</DataCollection>
31+
32+
<PlusOpenIGTLinkServer
33+
MaxNumberOfIgtlMessagesToSend="1"
34+
MaxTimeSpentWithProcessingMs="50"
35+
ListeningPort="18944"
36+
SendValidTransformsOnly="FALSE"
37+
OutputChannelId="TrackerStream" >
38+
<DefaultClientInfo>
39+
<MessageTypes>
40+
<Message Type="TRANSFORM" />
41+
</MessageTypes>
42+
<TransformNames>
43+
<Transform Name="PointerToPhantom" />
44+
<Transform Name="PointerToTracker" />
45+
<Transform Name="PhantomToTracker" />
46+
</TransformNames>
47+
</DefaultClientInfo>
48+
</PlusOpenIGTLinkServer>
49+
50+
</PlusConfiguration>
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<PlusConfiguration version="2.7">
2+
3+
<DataCollection StartupDelaySec="1.0">
4+
<DeviceSet
5+
Name="PlusServer: ASTM Phantom Test (NDI Polaris)"
6+
Description="Broadcasting through OpenIGTLink the tracking data necessary for the ASTM Phantom Test from an NDI Polaris device."
7+
/>
8+
<Device
9+
Id="TrackerDevice"
10+
Type="PolarisTracker"
11+
MaxMissingFiducials="0"
12+
MaxMeanRegistrationErrorMm="1.0"
13+
ToolReferenceFrame="Tracker" >
14+
<DataSources>
15+
<DataSource Type="Tool" Id="Phantom" RomFile="NdiToolDefinitions/8700449.rom" />
16+
<DataSource Type="Tool" Id="Pointer" RomFile="NdiToolDefinitions/8700340.rom" />
17+
</DataSources>
18+
<OutputChannels>
19+
<OutputChannel Id="TrackerStream">
20+
<DataSource Type="Tool" Id="Phantom" />
21+
<DataSource Type="Tool" Id="Pointer" />
22+
</OutputChannel>
23+
</OutputChannels>
24+
</Device>
25+
</DataCollection>
26+
27+
<PlusOpenIGTLinkServer
28+
MaxNumberOfIgtlMessagesToSend="1"
29+
MaxTimeSpentWithProcessingMs="50"
30+
ListeningPort="18944"
31+
SendValidTransformsOnly="FALSE"
32+
OutputChannelId="TrackerStream" >
33+
<DefaultClientInfo>
34+
<MessageTypes>
35+
<Message Type="TRANSFORM" />
36+
</MessageTypes>
37+
<TransformNames>
38+
<Transform Name="PointerToPhantom" />
39+
<Transform Name="PointerToTracker" />
40+
<Transform Name="PhantomToTracker" />
41+
</TransformNames>
42+
</DefaultClientInfo>
43+
</PlusOpenIGTLinkServer>
44+
45+
</PlusConfiguration>

0 commit comments

Comments
 (0)