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;
108 adjust_colors_for_srgb_tonemapping_ = adjust;
111 virtual Buffers ConstructBuffers() = 0;
112 virtual filament::Box ComputeAABB() = 0;
115 size_t downsample_threshold_ = SIZE_MAX;
116 bool wide_lines_ =
false;
117 bool adjust_colors_for_srgb_tonemapping_ =
true;
119 static void DeallocateBuffer(
void* buffer,
size_t size,
void* user_ptr);
121 static IndexBufferHandle CreateIndexBuffer(
size_t max_index,
122 size_t n_subsamples = SIZE_MAX);
129 filament::RenderableManager::PrimitiveType GetPrimitiveType()
132 Buffers ConstructBuffers()
override;
133 filament::Box ComputeAABB()
override;
143 filament::RenderableManager::PrimitiveType GetPrimitiveType()
146 Buffers ConstructBuffers()
override;
147 filament::Box ComputeAABB()
override;
157 filament::RenderableManager::PrimitiveType GetPrimitiveType()
160 Buffers ConstructBuffers()
override;
161 filament::Box ComputeAABB()
override;
171 filament::RenderableManager::PrimitiveType GetPrimitiveType()
174 Buffers ConstructBuffers()
override;
175 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:557
Definition: FilamentGeometryBuffersBuilder.h:153
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:139
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:94
Definition: FilamentGeometryBuffersBuilder.h:75
virtual void SetAdjustColorsForSRGBToneMapping(bool adjust)
Definition: FilamentGeometryBuffersBuilder.h:107
Definition: PinholeCameraIntrinsic.cpp:35
Definition: FilamentGeometryBuffersBuilder.h:125
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:167
virtual void SetDownsampleThreshold(size_t min_points)
Definition: FilamentGeometryBuffersBuilder.h:99
virtual void SetWideLines()
Definition: FilamentGeometryBuffersBuilder.h:105