Skip to content

Commit 5f6e855

Browse files
jamesobutleradamrankin
authored andcommitted
ENH: Add getter for Andor VSSpeed Index value used
1 parent ce2b412 commit 5f6e855

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/PlusDataCollection/Andor/vtkPlusAndorVideoSource.cxx

+6
Original file line numberDiff line numberDiff line change
@@ -1011,6 +1011,12 @@ PlusStatus vtkPlusAndorVideoSource::SetVSSpeedIndex(int index)
10111011
return PLUS_SUCCESS;
10121012
}
10131013

1014+
// ----------------------------------------------------------------------------
1015+
int vtkPlusAndorVideoSource::GetVSSpeedIndex()
1016+
{
1017+
return this->VSSpeedIndex;
1018+
}
1019+
10141020
// ----------------------------------------------------------------------------
10151021
float vtkPlusAndorVideoSource::GetVSSpeed()
10161022
{

src/PlusDataCollection/Andor/vtkPlusAndorVideoSource.h

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ class vtkPlusDataCollectionExport vtkPlusAndorVideoSource: public vtkPlusDevice
7878

7979
/*! Set index to use in the vertical shift speed table. */
8080
PlusStatus SetVSSpeedIndex(int index);
81+
int GetVSSpeedIndex();
8182

8283
/*! Get the actual VS Speed in microseconds per pixel shift for the current VSSpeed index. */
8384
float GetVSSpeed();

0 commit comments

Comments
 (0)