Open3D (C++ API)  0.11.0
Public Member Functions | Data Fields | Static Public Attributes
open3d::visualization::RenderOptionWithEditing Class Reference

#include <RenderOptionWithEditing.h>

Inheritance diagram for open3d::visualization::RenderOptionWithEditing:
open3d::visualization::RenderOption open3d::utility::IJsonConvertible

Public Member Functions

 RenderOptionWithEditing ()
 
 ~RenderOptionWithEditing () override
 
bool ConvertToJsonValue (Json::Value &value) const override
 
bool ConvertFromJsonValue (const Json::Value &value) override
 
void IncreaseSphereSize ()
 
void DecreaseSphereSize ()
 
- Public Member Functions inherited from open3d::visualization::RenderOption
 RenderOption ()
 Default Constructor. More...
 
 ~RenderOption () override
 
void ToggleLightOn ()
 
void ToggleInterpolationOption ()
 
void ChangePointSize (double change)
 
void SetPointSize (double size)
 
void ChangeLineWidth (double change)
 
void TogglePointShowNormal ()
 
void ToggleShadingOption ()
 
void ToggleMeshShowBackFace ()
 
void ToggleMeshShowWireframe ()
 
void ToggleImageStretchOption ()
 
int GetGLDepthFunc () const
 
- Public Member Functions inherited from open3d::utility::IJsonConvertible
virtual ~IJsonConvertible ()
 

Data Fields

Eigen::Vector3d selection_polygon_boundary_color_
 
Eigen::Vector3d selection_polygon_mask_color_
 
double selection_polygon_mask_alpha_ = 0.5
 
double pointcloud_picker_sphere_size_ = PICKER_SPHERE_SIZE_DEFAULT
 
- Data Fields inherited from open3d::visualization::RenderOption
const double POINT_SIZE_MAX = 25.0
 
const double POINT_SIZE_MIN = 1.0
 
const double POINT_SIZE_STEP = 1.0
 
const double POINT_SIZE_DEFAULT = 5.0
 
const double LINE_WIDTH_MAX = 10.0
 
const double LINE_WIDTH_MIN = 1.0
 
const double LINE_WIDTH_STEP = 1.0
 
const double LINE_WIDTH_DEFAULT = 1.0
 
Eigen::Vector3d background_color_ = Eigen::Vector3d::Ones()
 Background RGB color. More...
 
TextureInterpolationOption interpolation_option_
 
DepthFunc depthFunc_ = DepthFunc::Less
 
bool light_on_ = true
 Whether to turn on Phong lighting. More...
 
Eigen::Vector3d light_position_relative_ [4]
 
Eigen::Vector3d light_color_ [4]
 
Eigen::Vector3d light_ambient_color_ = Eigen::Vector3d::Zero()
 
double light_diffuse_power_ [4]
 
double light_specular_power_ [4]
 
double light_specular_shininess_ [4]
 
double point_size_ = POINT_SIZE_DEFAULT
 Point size for PointCloud. More...
 
PointColorOption point_color_option_ = PointColorOption::Default
 Point color option for PointCloud. More...
 
bool point_show_normal_ = false
 Whether to show normal for PointCloud. More...
 
MeshShadeOption mesh_shade_option_ = MeshShadeOption::FlatShade
 Mesh shading option for TriangleMesh. More...
 
MeshColorOption mesh_color_option_ = MeshColorOption::Color
 Color option for TriangleMesh. More...
 
bool mesh_show_back_face_ = false
 Whether to show back faces for TriangleMesh. More...
 
bool mesh_show_wireframe_ = false
 
Eigen::Vector3d default_mesh_color_ = Eigen::Vector3d(0.7, 0.7, 0.7)
 
double line_width_ = LINE_WIDTH_DEFAULT
 Line width for LineSet. More...
 
ImageStretchOption image_stretch_option_
 
int image_max_depth_ = 3000
 
bool show_coordinate_frame_ = false
 Whether to show coordinate frame. More...
 

Static Public Attributes

static const double PICKER_SPHERE_SIZE_MIN = 0.000625
 
static const double PICKER_SPHERE_SIZE_MAX = 0.08
 
static const double PICKER_SPHERE_SIZE_DEFAULT = 0.01
 

Additional Inherited Members

- Public Types inherited from open3d::visualization::RenderOption
enum  TextureInterpolationOption { TextureInterpolationOption::Nearest = 0, TextureInterpolationOption::Linear = 1 }
 
enum  DepthFunc {
  DepthFunc::Never = 0, DepthFunc::Less = 1, DepthFunc::Equal = 2, DepthFunc::LEqual = 3,
  DepthFunc::Greater = 4, DepthFunc::NotEqual = 5, DepthFunc::GEqual = 6, DepthFunc::Always = 7
}
 
enum  PointColorOption {
  PointColorOption::Default = 0, PointColorOption::Color = 1, PointColorOption::XCoordinate = 2, PointColorOption::YCoordinate = 3,
  PointColorOption::ZCoordinate = 4, PointColorOption::Normal = 9
}
 Enum class for point color for PointCloud. More...
 
enum  MeshShadeOption { MeshShadeOption::FlatShade = 0, MeshShadeOption::SmoothShade = 1 }
 Enum class for mesh shading for TriangleMesh. More...
 
enum  MeshColorOption {
  MeshColorOption::Default = 0, MeshColorOption::Color = 1, MeshColorOption::XCoordinate = 2, MeshColorOption::YCoordinate = 3,
  MeshColorOption::ZCoordinate = 4, MeshColorOption::Normal = 9
}
 Enum class for color for TriangleMesh. More...
 
enum  ImageStretchOption { ImageStretchOption::OriginalSize = 0, ImageStretchOption::StretchKeepRatio = 1, ImageStretchOption::StretchWithWindow = 2 }
 
- Static Public Member Functions inherited from open3d::utility::IJsonConvertible
static bool EigenVector3dFromJsonArray (Eigen::Vector3d &vec, const Json::Value &value)
 
static bool EigenVector3dToJsonArray (const Eigen::Vector3d &vec, Json::Value &value)
 
static bool EigenVector4dFromJsonArray (Eigen::Vector4d &vec, const Json::Value &value)
 
static bool EigenVector4dToJsonArray (const Eigen::Vector4d &vec, Json::Value &value)
 
static bool EigenMatrix3dFromJsonArray (Eigen::Matrix3d &mat, const Json::Value &value)
 
static bool EigenMatrix3dToJsonArray (const Eigen::Matrix3d &mat, Json::Value &value)
 
static bool EigenMatrix4dFromJsonArray (Eigen::Matrix4d &mat, const Json::Value &value)
 
static bool EigenMatrix4dToJsonArray (const Eigen::Matrix4d &mat, Json::Value &value)
 
static bool EigenMatrix4dFromJsonArray (Eigen::Matrix4d_u &mat, const Json::Value &value)
 
static bool EigenMatrix4dToJsonArray (const Eigen::Matrix4d_u &mat, Json::Value &value)
 
static bool EigenMatrix6dFromJsonArray (Eigen::Matrix6d &mat, const Json::Value &value)
 
static bool EigenMatrix6dToJsonArray (const Eigen::Matrix6d &mat, Json::Value &value)
 
static bool EigenMatrix6dFromJsonArray (Eigen::Matrix6d_u &mat, const Json::Value &value)
 
static bool EigenMatrix6dToJsonArray (const Eigen::Matrix6d_u &mat, Json::Value &value)
 

Constructor & Destructor Documentation

◆ RenderOptionWithEditing()

open3d::visualization::RenderOptionWithEditing::RenderOptionWithEditing ( )
inline

◆ ~RenderOptionWithEditing()

open3d::visualization::RenderOptionWithEditing::~RenderOptionWithEditing ( )
inlineoverride

Member Function Documentation

◆ ConvertFromJsonValue()

bool open3d::visualization::RenderOptionWithEditing::ConvertFromJsonValue ( const Json::Value &  value)
overridevirtual

◆ ConvertToJsonValue()

bool open3d::visualization::RenderOptionWithEditing::ConvertToJsonValue ( Json::Value &  value) const
overridevirtual

◆ DecreaseSphereSize()

void open3d::visualization::RenderOptionWithEditing::DecreaseSphereSize ( )
inline

◆ IncreaseSphereSize()

void open3d::visualization::RenderOptionWithEditing::IncreaseSphereSize ( )
inline

Field Documentation

◆ PICKER_SPHERE_SIZE_DEFAULT

const double open3d::visualization::RenderOptionWithEditing::PICKER_SPHERE_SIZE_DEFAULT = 0.01
static

◆ PICKER_SPHERE_SIZE_MAX

const double open3d::visualization::RenderOptionWithEditing::PICKER_SPHERE_SIZE_MAX = 0.08
static

◆ PICKER_SPHERE_SIZE_MIN

const double open3d::visualization::RenderOptionWithEditing::PICKER_SPHERE_SIZE_MIN = 0.000625
static

◆ pointcloud_picker_sphere_size_

double open3d::visualization::RenderOptionWithEditing::pointcloud_picker_sphere_size_ = PICKER_SPHERE_SIZE_DEFAULT

◆ selection_polygon_boundary_color_

Eigen::Vector3d open3d::visualization::RenderOptionWithEditing::selection_polygon_boundary_color_
Initial value:
=
Eigen::Vector3d(0.3, 0.3, 0.3)

◆ selection_polygon_mask_alpha_

double open3d::visualization::RenderOptionWithEditing::selection_polygon_mask_alpha_ = 0.5

◆ selection_polygon_mask_color_

Eigen::Vector3d open3d::visualization::RenderOptionWithEditing::selection_polygon_mask_color_
Initial value:
=
Eigen::Vector3d(0.3, 0.3, 0.3)

The documentation for this class was generated from the following files: