43 #pragma warning(disable : 4068 4146 4293) 46 #include <filament/Box.h> 47 #include <filament/RenderableManager.h> 72 namespace visualization {
85 static std::unique_ptr<GeometryBuffersBuilder> GetBuilder(
87 static std::unique_ptr<GeometryBuffersBuilder> GetBuilder(
92 virtual filament::RenderableManager::PrimitiveType GetPrimitiveType()
100 downsample_threshold_ = min_points;
103 virtual Buffers ConstructBuffers() = 0;
104 virtual filament::Box ComputeAABB() = 0;
107 size_t downsample_threshold_ = SIZE_MAX;
109 static void DeallocateBuffer(
void* buffer,
size_t size,
void* user_ptr);
111 static IndexBufferHandle CreateIndexBuffer(
size_t max_index,
112 size_t n_subsamples = SIZE_MAX);
119 filament::RenderableManager::PrimitiveType GetPrimitiveType()
122 Buffers ConstructBuffers()
override;
123 filament::Box ComputeAABB()
override;
133 filament::RenderableManager::PrimitiveType GetPrimitiveType()
136 Buffers ConstructBuffers()
override;
137 filament::Box ComputeAABB()
override;
147 filament::RenderableManager::PrimitiveType GetPrimitiveType()
150 Buffers ConstructBuffers()
override;
151 filament::Box ComputeAABB()
override;
161 filament::RenderableManager::PrimitiveType GetPrimitiveType()
164 Buffers ConstructBuffers()
override;
165 filament::Box ComputeAABB()
override;
const char const char value recording_handle imu_sample recording_handle uint8_t size_t data_size k4a_record_configuration_t config target_format k4a_capture_t capture_handle k4a_imu_sample_t imu_sample playback_handle k4a_logging_message_cb_t void min_level device_handle k4a_imu_sample_t timeout_in_ms capture_handle capture_handle capture_handle image_handle temperature_c k4a_image_t image_handle uint8_t image_handle image_handle image_handle image_handle uint32_t
Definition: K4aPlugin.cpp:554
Definition: FilamentGeometryBuffersBuilder.h:143
A point cloud consists of point coordinates, and optionally point colors and point normals...
Definition: PointCloud.h:54
int size
Definition: FilePCD.cpp:59
Definition: FilamentGeometryBuffersBuilder.h:129
The base geometry class for 3D geometries.
Definition: Geometry3D.h:46
std::tuple< VertexBufferHandle, IndexBufferHandle, IndexBufferHandle > Buffers
Definition: FilamentGeometryBuffersBuilder.h:82
A pointcloud contains a set of 3D points.
Definition: PointCloud.h:93
Definition: FilamentGeometryBuffersBuilder.h:75
Definition: PinholeCameraIntrinsic.cpp:35
Definition: FilamentGeometryBuffersBuilder.h:115
REHandle< EntityType::VertexBuffer > VertexBufferHandle
Definition: RendererHandle.h:162
REHandle< EntityType::IndexBuffer > IndexBufferHandle
Definition: RendererHandle.h:163
Triangle mesh contains vertices and triangles represented by the indices to the vertices.
Definition: TriangleMesh.h:54
LineSet define a sets of lines in 3D. A typical application is to display the point cloud corresponde...
Definition: LineSet.h:48
std::uint32_t IndexType
Definition: FilamentGeometryBuffersBuilder.h:83
Definition: FilamentGeometryBuffersBuilder.h:157
virtual void SetDownsampleThreshold(size_t min_points)
Definition: FilamentGeometryBuffersBuilder.h:99