protected PointCloudSource(FileHandlerBase handler) { m_id = IdentityManager.AcquireIdentity(GetType().Name); m_handler = handler; m_name = Path.GetFileName(FilePath); }
public PointCloudBinarySource(FileHandlerBase file, long count, Extent3D extent, SQuantization3D quantization, long dataOffset, short pointSizeBytes) : base(file) { m_count = count; m_extent = extent; m_quantization = quantization; m_pointDataOffset = dataOffset; m_pointSizeBytes = pointSizeBytes; m_quantizedExtent = quantization.Convert(m_extent); }
public ProcessingSet(FileHandlerBase inputFile) { m_id = IdentityManager.AcquireIdentity(GetType().Name); m_inputHandler = inputFile; var tiledPath = PointCloudTileSource.GetTileSourcePath(m_inputHandler.FilePath); m_tiledHandler = LASFile.Create(tiledPath, null); Directory.CreateDirectory(Path.GetDirectoryName(m_tiledHandler.FilePath)); }
public PointCloudBinarySourceComposite(FileHandlerBase file, Extent3D extent, IPointCloudBinarySource[] sources) : base(file) { m_sources = sources; // verify that they are compatible m_count = m_sources.Sum(s => s.Count); m_extent = extent; m_quantization = m_sources[0].Quantization; m_pointSizeBytes = m_sources[0].PointSizeBytes; m_quantizedExtent = m_quantization.Convert(m_extent); }
public static FileHandlerBase GetInputHandler(string path) { FileHandlerBase inputHandler = null; string extension = Path.GetExtension(path); foreach (IHandlerCreator creator in c_creators) { if (creator.IsSupportedExtension(extension)) { inputHandler = creator.Create(path); } } return(inputHandler); }
public LAZBinarySource(FileHandlerBase file, long count, Extent3D extent, SQuantization3D quantization, long dataOffset, short pointSizeBytes) : base(file, count, extent, quantization, dataOffset, pointSizeBytes) { m_handler = (LAZFile)file; }
private void OnProcessingStarted(FileHandlerBase inputHandler) { textBlockPreview.Text = inputHandler.GetPreview(); if (SWITCH_TO_LOG_TAB_ON_PROCESSING_START.Value) m_tabItemOnStarted.IsSelected = true; UpdateButtonStates(); }
public static string GetBinarySourceName(FileHandlerBase handler) { return string.Format("{0}.{1}", handler.FilePath, PointCloudBinarySource.FILE_EXTENSION); }