@Override public void run() { yoVariableLogCropper.crop(selectedFile, startTimestamp, endTimestamp); } }.start();
if (!initialize()) copyMetaData(destination); FileChannel indexChannel = indexStream.getChannel(); int startPosition = getPosition(inStamp); int endPosition = getPosition(outStamp); ByteBuffer compressedData = readCompressedData(i); indexBuffer.putLong(getTimestamp(i)); indexBuffer.putLong(outputChannel.position()); indexBuffer.flip();
public YoVariableLogVisualizerGUI(File directory, LogProperties properties, MultiVideoDataPlayer player, YoVariableHandshakeParser parser, YoVariableLogPlaybackRobot robot, SimulationConstructionSet scs) { super(); this.multiPlayer = player; this.robot = robot; this.scs = scs; this.directory = directory; if(properties.getCompressed()) { yoVariableLogCropper = new YoVariableLogCropper(player, directory, properties); exporter = new YoVariableExporter(scs, directory, properties, parser.getYoVariablesList()); } else { yoVariableLogCropper = null; exporter = null; } setLayout(new GridLayout(1, 2)); addGUIElements(directory, properties); setVisible(true); }
if (!initialize()) copyMetaData(destination); FileChannel indexChannel = indexStream.getChannel(); int startPosition = getPosition(inStamp); int endPosition = getPosition(outStamp); ByteBuffer compressedData = readCompressedData(i); indexBuffer.putLong(getTimestamp(i)); indexBuffer.putLong(outputChannel.position()); indexBuffer.flip();
public YoVariableLogVisualizerGUI(File directory, LogProperties properties, MultiVideoDataPlayer player, YoVariableHandshakeParser parser, YoVariableLogPlaybackRobot robot, SimulationConstructionSet scs) { super(); this.multiPlayer = player; this.robot = robot; this.scs = scs; this.directory = directory; if(properties.getVariables().getCompressed()) { yoVariableLogCropper = new YoVariableLogCropper(player, directory, properties); exporter = new YoVariableExporter(scs, directory, properties, parser.getYoVariablesList()); } else { yoVariableLogCropper = null; exporter = null; } setLayout(new GridLayout(1, 2)); addGUIElements(directory, properties); setVisible(true); }
@Override public void run() { yoVariableLogCropper.crop(selectedFile, startTimestamp, endTimestamp); } }.start();