Open3D (C++ API)
|
Namespaces | |
GLHelper | |
glsl | |
texture_loading | |
Typedefs | |
using | PBDParams = std::tuple< FilamentRenderToBuffer *, FilamentRenderToBuffer::BufferReadyCallback > |
typedef REHandle< EntityType::View > | ViewHandle |
typedef REHandle< EntityType::Scene > | SceneHandle |
typedef REHandle< EntityType::Geometry > | GeometryHandle |
typedef REHandle< EntityType::Light > | LightHandle |
typedef REHandle< EntityType::IndirectLight > | IndirectLightHandle |
typedef REHandle< EntityType::Skybox > | SkyboxHandle |
typedef REHandle< EntityType::Camera > | CameraHandle |
typedef REHandle< EntityType::Material > | MaterialHandle |
typedef REHandle< EntityType::MaterialInstance > | MaterialInstanceHandle |
typedef REHandle< EntityType::Texture > | TextureHandle |
typedef REHandle< EntityType::VertexBuffer > | VertexBufferHandle |
typedef REHandle< EntityType::IndexBuffer > | IndexBufferHandle |
Functions | |
std::ostream & | operator<< (std::ostream &os, const REHandle_abstract &uid) |
const std::shared_ptr< const ColorMap > | GetGlobalColorMap () |
Interface functions. More... | |
void | SetGlobalColorMap (ColorMap::ColorMapOption option) |
bool | DrawGeometries (const std::vector< std::shared_ptr< const geometry::Geometry >> &geometry_ptrs, const std::string &window_name="Open3D", int width=640, int height=480, int left=50, int top=50, bool point_show_normal=false, bool mesh_show_wireframe=false, bool mesh_show_back_face=false) |
Function to draw a list of geometry objects. More... | |
bool | DrawGeometriesWithCustomAnimation (const std::vector< std::shared_ptr< const geometry::Geometry >> &geometry_ptrs, const std::string &window_name="Open3D", int width=640, int height=480, int left=50, int top=50, const std::string &json_filename="") |
Function to draw a list of geometry objects with a GUI that supports animation. More... | |
bool | DrawGeometriesWithAnimationCallback (const std::vector< std::shared_ptr< const geometry::Geometry >> &geometry_ptrs, std::function< bool(Visualizer *)> callback_func, const std::string &window_name="Open3D", int width=640, int height=480, int left=50, int top=50) |
Function to draw a list of geometry objects with a customized animation callback function. More... | |
bool | DrawGeometriesWithKeyCallbacks (const std::vector< std::shared_ptr< const geometry::Geometry >> &geometry_ptrs, const std::map< int, std::function< bool(Visualizer *)>> &key_to_callback, const std::string &window_name="Open3D", int width=640, int height=480, int left=50, int top=50) |
Function to draw a list of geometry. More... | |
bool | DrawGeometriesWithEditing (const std::vector< std::shared_ptr< const geometry::Geometry >> &geometry_ptrs, const std::string &window_name="Open3D", int width=640, int height=480, int left=50, int top=50) |
Function to draw a list of geometry. More... | |
bool | DrawGeometriesWithVertexSelection (const std::vector< std::shared_ptr< const geometry::Geometry >> &geometry_ptrs, const std::string &window_name, int width, int height, int left, int top) |
using open3d::visualization::PBDParams = typedef std::tuple<FilamentRenderToBuffer*, FilamentRenderToBuffer::BufferReadyCallback> |
|
strong |
bool open3d::visualization::DrawGeometries | ( | const std::vector< std::shared_ptr< const geometry::Geometry >> & | geometry_ptrs, |
const std::string & | window_name = "Open3D" , |
||
int | width = 640 , |
||
int | height = 480 , |
||
int | left = 50 , |
||
int | top = 50 , |
||
bool | point_show_normal = false , |
||
bool | mesh_show_wireframe = false , |
||
bool | mesh_show_back_face = false |
||
) |
Function to draw a list of geometry objects.
The convenient function of drawing something This function is a wrapper that calls the core functions of Visualizer. This function MUST be called from the main thread. It blocks the main thread until the window is closed.
geometry_ptrs | List of geometries to be visualized. |
window_name | The displayed title of the visualization window. |
width | The width of the visualization window. |
height | The height of the visualization window. |
left | margin of the visualization window. |
top | The top margin of the visualization window. |
point_show_normal | visualize point normals if set to true. |
mesh_show_wireframe | visualize mesh wireframe if set to true. |
mesh_show_back_face | visualize also the back face of the mesh triangles. |
bool open3d::visualization::DrawGeometriesWithAnimationCallback | ( | const std::vector< std::shared_ptr< const geometry::Geometry >> & | geometry_ptrs, |
std::function< bool(Visualizer *)> | callback_func, | ||
const std::string & | window_name = "Open3D" , |
||
int | width = 640 , |
||
int | height = 480 , |
||
int | left = 50 , |
||
int | top = 50 |
||
) |
Function to draw a list of geometry objects with a customized animation callback function.
geometry_ptrs | List of geometries to be visualized. |
callback_func | Call back function to be triggered at a key press event. |
window_name | The displayed title of the visualization window. |
width | The width of the visualization window. |
height | The height of the visualization window. |
left | margin of the visualization window. |
top | The top margin of the visualization window. |
bool open3d::visualization::DrawGeometriesWithCustomAnimation | ( | const std::vector< std::shared_ptr< const geometry::Geometry >> & | geometry_ptrs, |
const std::string & | window_name = "Open3D" , |
||
int | width = 640 , |
||
int | height = 480 , |
||
int | left = 50 , |
||
int | top = 50 , |
||
const std::string & | json_filename = "" |
||
) |
Function to draw a list of geometry objects with a GUI that supports animation.
geometry_ptrs | List of geometries to be visualized. |
window_name | The displayed title of the visualization window. |
width | The width of the visualization window. |
height | The height of the visualization window. |
left | margin of the visualization window. |
top | The top margin of the visualization window. |
json_filename | Camera trajectory json file path for custom animation. |
bool open3d::visualization::DrawGeometriesWithEditing | ( | const std::vector< std::shared_ptr< const geometry::Geometry >> & | geometry_ptrs, |
const std::string & | window_name = "Open3D" , |
||
int | width = 640 , |
||
int | height = 480 , |
||
int | left = 50 , |
||
int | top = 50 |
||
) |
Function to draw a list of geometry.
Geometry providing user interaction.
geometry_ptrs | List of geometries to be visualized. |
window_name | The displayed title of the visualization window. |
width | The width of the visualization window. |
height | The height of the visualization window. |
left | margin of the visualization window. |
top | The top margin of the visualization window. |
bool open3d::visualization::DrawGeometriesWithKeyCallbacks | ( | const std::vector< std::shared_ptr< const geometry::Geometry >> & | geometry_ptrs, |
const std::map< int, std::function< bool(Visualizer *)>> & | key_to_callback, | ||
const std::string & | window_name = "Open3D" , |
||
int | width = 640 , |
||
int | height = 480 , |
||
int | left = 50 , |
||
int | top = 50 |
||
) |
Function to draw a list of geometry.
Geometry objects with a customized key-callback mapping
geometry_ptrs | List of geometries to be visualized. |
key_to_callback | Map of key to call back functions. |
window_name | The displayed title of the visualization window. |
width | The width of the visualization window. |
height | The height of the visualization window. |
left | margin of the visualization window. |
top | The top margin of the visualization window. |
bool open3d::visualization::DrawGeometriesWithVertexSelection | ( | const std::vector< std::shared_ptr< const geometry::Geometry >> & | geometry_ptrs, |
const std::string & | window_name, | ||
int | width, | ||
int | height, | ||
int | left, | ||
int | top | ||
) |
const std::shared_ptr< const ColorMap > open3d::visualization::GetGlobalColorMap | ( | ) |
Interface functions.
std::ostream & open3d::visualization::operator<< | ( | std::ostream & | os, |
const REHandle_abstract & | uid | ||
) |
void open3d::visualization::SetGlobalColorMap | ( | ColorMap::ColorMapOption | option | ) |