Skip to content

twchong831/PointCloudDataViewer_flutter

Repository files navigation

1. PointCloudData Viewer

My first Flutter application was done!

This Flutter project is Point Cloud Data(PCD) Visualizer.

1.1. Point Cloud Data file format

1.2. Platform

windows MacOS Android iOS
support 🔲 🔲

1.3. Package List

  1. ditredi
    1. kanavi_canvas_model_painter : customizing because of memory leak when point cloud updated
    2. vector_math
  2. file_picker
  3. path_provider
  4. sidebarx
  5. tab_container
  6. flutter_colorpicker
  7. permission_handler

1.4. Rebuild

flutter clean project
flutter pub get

1.4.1. Permission

1.4.1.1. macOS

/[project-path]/macos/Runner/DebugProfile.entitlements
  • add permision : file read/write
<key>com.apple.security.files.user-selected.read-write</key>

1.4.1.2. Android

# /[project-path]/android/gradle.properties
# add this command
android.useAndroidX=true
android.enableJetifier=true
#============================================
/[project-path]/android/app/src/debug/AndroidManifest.xml
  • add permision : file read/write
    <!-- Permissions options for the `storage` group -->
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

    <!-- Permissions options for the `manage external storage` group -->
    <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />

1.5. RESULT

1.5.1. MacOS

1.5.1.1. Directory & File Select

1.5.1.2. 3D Visualization

1.5.1.2.1. Play PCD Files

1.5.1.3. Point Size

1.5.1.4. Change Viewer Configuration

1.5.1.4.1. Grid & Point Size

1.5.1.4.2. Background Color

1.5.2. Android

start file selet visualization