if (!initialize()) int startPosition = getPosition(start); int endPosition = getPosition(end); int elements = endPosition - startPosition + 1; dataHolders.add(createDataHolder(dataBufferOffset, elements, variable)); ByteBuffer data = readData(i); LongBuffer dataAsLong = data.asLongBuffer();
exporter.exportGraphs(file, startTimestamp,endTimestamp); return;
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); }
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); }
if (!initialize()) int startPosition = getPosition(start); int endPosition = getPosition(end); int elements = endPosition - startPosition + 1; dataHolders.add(createDataHolder(dataBufferOffset, elements, variable)); ByteBuffer data = readData(i); LongBuffer dataAsLong = data.asLongBuffer();
exporter.exportGraphs(file, startTimestamp,endTimestamp); return;