PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
Enumerations | Functions
EditSequenceFile.cxx File Reference
#include "PlusConfigure.h"
#include "PlusMath.h"
#include "igsioTrackedFrame.h"
#include "vtkPlusSequenceIO.h"
#include "vtkIGSIOTrackedFrameList.h"
#include "vtkIGSIOTransformRepository.h"
#include <vtkImageData.h>
#include <vtkMatrix4x4.h>
#include <vtkSmartPointer.h>
#include <vtkTransform.h>
#include <vtkXMLDataElement.h>
#include <vtkXMLUtilities.h>
#include <vtksys/CommandLineArguments.hxx>
#include <vtksys/RegularExpression.hxx>
Include dependency graph for EditSequenceFile.cxx:

Go to the source code of this file.

Enumerations

enum  OperationType {
  INCREMENTAL_FRAME_DISTANCE, INCREMENTAL_NUMBER_OF_FRAMES, MOBILE_WINDOW, SAME_NUMBER_OF_FRAMES,
  NO_OPERATION, UPDATE_FRAME_FIELD_NAME, UPDATE_FRAME_FIELD_VALUE, DELETE_FRAME_FIELD,
  UPDATE_FIELD_NAME, UPDATE_FIELD_VALUE, DELETE_FIELD, ADD_TRANSFORM,
  TRIM, APPEND, MIX, FILL_IMAGE_RECTANGLE,
  CROP, REMOVE_IMAGE_DATA, DECIMATE, NO_OPERATION
}
 

Functions

PlusStatus AddTransform (vtkIGSIOTrackedFrameList *trackedFrameList, std::vector< std::string > transformNamesToAdd, std::string deviceSetConfigurationFileName)
 
PlusStatus AppendTrackedFrameLists (vtkIGSIOTrackedFrameList *trackedFrameList, std::vector< std::string > inputFileNames, bool incrementTimestamps, std::vector< std::string > customHeaderFields)
 
PlusStatus ConvertStringToMatrix (std::string &strMatrix, vtkMatrix4x4 *matrix)
 
PlusStatus CropRectangle (vtkIGSIOTrackedFrameList *trackedFrameList, igsioVideoFrame::FlipInfoType &flipInfo, const std::vector< int > &cropRectOrigin, const std::vector< int > &cropRectSize)
 
PlusStatus DecimateSequenceFile (vtkIGSIOTrackedFrameList *trackedFrameList, unsigned int decimationFactor)
 
PlusStatus DeleteFrameField (vtkIGSIOTrackedFrameList *trackedFrameList, std::string fieldName)
 
PlusStatus FillRectangle (vtkIGSIOTrackedFrameList *trackedFrameList, const std::vector< unsigned int > &fillRectOrigin, const std::vector< unsigned int > &fillRectSize, int fillGrayLevel)
 
int main (int argc, char **argv)
 
PlusStatus MixTrackedFrameLists (vtkIGSIOTrackedFrameList *trackedFrameList, std::vector< std::string > inputFileNames)
 
PlusStatus TrimSequenceFile (vtkIGSIOTrackedFrameList *trackedFrameList, unsigned int firstFrameIndex, unsigned int lastFrameIndex)
 
PlusStatus UpdateFrameFieldValue (FrameFieldUpdate &fieldUpdate)
 

Enumeration Type Documentation

◆ OperationType

Enumerator
INCREMENTAL_FRAME_DISTANCE 
INCREMENTAL_NUMBER_OF_FRAMES 
MOBILE_WINDOW 
SAME_NUMBER_OF_FRAMES 
NO_OPERATION 
UPDATE_FRAME_FIELD_NAME 
UPDATE_FRAME_FIELD_VALUE 
DELETE_FRAME_FIELD 
UPDATE_FIELD_NAME 
UPDATE_FIELD_VALUE 
DELETE_FIELD 
ADD_TRANSFORM 
TRIM 
APPEND 
MIX 
FILL_IMAGE_RECTANGLE 
CROP 
REMOVE_IMAGE_DATA 
DECIMATE 
NO_OPERATION 

Definition at line 25 of file EditSequenceFile.cxx.

Function Documentation

◆ AddTransform()

PlusStatus AddTransform ( vtkIGSIOTrackedFrameList *  trackedFrameList,
std::vector< std::string >  transformNamesToAdd,
std::string  deviceSetConfigurationFileName 
)

Definition at line 1009 of file EditSequenceFile.cxx.

◆ AppendTrackedFrameLists()

PlusStatus AppendTrackedFrameLists ( vtkIGSIOTrackedFrameList *  trackedFrameList,
std::vector< std::string >  inputFileNames,
bool  incrementTimestamps,
std::vector< std::string >  customHeaderFields 
)

Definition at line 167 of file EditSequenceFile.cxx.

◆ ConvertStringToMatrix()

PlusStatus ConvertStringToMatrix ( std::string &  strMatrix,
vtkMatrix4x4 *  matrix 
)

Definition at line 984 of file EditSequenceFile.cxx.

◆ CropRectangle()

PlusStatus CropRectangle ( vtkIGSIOTrackedFrameList *  trackedFrameList,
igsioVideoFrame::FlipInfoType &  flipInfo,
const std::vector< int > &  cropRectOrigin,
const std::vector< int > &  cropRectSize 
)

Definition at line 1142 of file EditSequenceFile.cxx.

◆ DecimateSequenceFile()

PlusStatus DecimateSequenceFile ( vtkIGSIOTrackedFrameList *  trackedFrameList,
unsigned int  decimationFactor 
)

Definition at line 817 of file EditSequenceFile.cxx.

◆ DeleteFrameField()

PlusStatus DeleteFrameField ( vtkIGSIOTrackedFrameList *  trackedFrameList,
std::string  fieldName 
)

Definition at line 843 of file EditSequenceFile.cxx.

◆ FillRectangle()

PlusStatus FillRectangle ( vtkIGSIOTrackedFrameList *  trackedFrameList,
const std::vector< unsigned int > &  fillRectOrigin,
const std::vector< unsigned int > &  fillRectSize,
int  fillGrayLevel 
)

Definition at line 1078 of file EditSequenceFile.cxx.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 212 of file EditSequenceFile.cxx.

◆ MixTrackedFrameLists()

PlusStatus MixTrackedFrameLists ( vtkIGSIOTrackedFrameList *  trackedFrameList,
std::vector< std::string >  inputFileNames 
)

Definition at line 86 of file EditSequenceFile.cxx.

◆ TrimSequenceFile()

PlusStatus TrimSequenceFile ( vtkIGSIOTrackedFrameList *  trackedFrameList,
unsigned int  firstFrameIndex,
unsigned int  lastFrameIndex 
)

Definition at line 794 of file EditSequenceFile.cxx.

◆ UpdateFrameFieldValue()

PlusStatus UpdateFrameFieldValue ( FrameFieldUpdate &  fieldUpdate)

Definition at line 878 of file EditSequenceFile.cxx.