Operator Reference

get_stereo_model_object_model_3dT_get_stereo_model_object_model_3dGetStereoModelObjectModel3dGetStereoModelObjectModel3dget_stereo_model_object_model_3d (Operator)

get_stereo_model_object_model_3dT_get_stereo_model_object_model_3dGetStereoModelObjectModel3dGetStereoModelObjectModel3dget_stereo_model_object_model_3d — Get intermediate 3D object model of a stereo reconstruction

Signature

get_stereo_model_object_model_3d( : : StereoModelID, GenParamName : ObjectModel3D)

Herror T_get_stereo_model_object_model_3d(const Htuple StereoModelID, const Htuple GenParamName, Htuple* ObjectModel3D)

void GetStereoModelObjectModel3d(const HTuple& StereoModelID, const HTuple& GenParamName, HTuple* ObjectModel3D)

HObjectModel3D HStereoModel::GetStereoModelObjectModel3d(const HTuple& GenParamName) const

HObjectModel3D HStereoModel::GetStereoModelObjectModel3d(const HString& GenParamName) const

HObjectModel3D HStereoModel::GetStereoModelObjectModel3d(const char* GenParamName) const

HObjectModel3D HStereoModel::GetStereoModelObjectModel3d(const wchar_t* GenParamName) const   ( Windows only)

static void HOperatorSet.GetStereoModelObjectModel3d(HTuple stereoModelID, HTuple genParamName, out HTuple objectModel3D)

HObjectModel3D HStereoModel.GetStereoModelObjectModel3d(HTuple genParamName)

HObjectModel3D HStereoModel.GetStereoModelObjectModel3d(string genParamName)

def get_stereo_model_object_model_3d(stereo_model_id: HHandle, gen_param_name: MaybeSequence[str]) -> HHandle

Description

With the operator get_stereo_model_object_model_3dget_stereo_model_object_model_3dGetStereoModelObjectModel3dGetStereoModelObjectModel3dget_stereo_model_object_model_3d it is possible to get a 3D object model ObjectModel3DObjectModel3DObjectModel3DobjectModel3Dobject_model_3d that was reconstructed with reconstruct_surface_stereoreconstruct_surface_stereoReconstructSurfaceStereoReconstructSurfaceStereoreconstruct_surface_stereo as an intermediate result using the method 'surface_fusion'"surface_fusion""surface_fusion""surface_fusion""surface_fusion". The returned object model is equal to the result of reconstruct_surface_stereoreconstruct_surface_stereoReconstructSurfaceStereoReconstructSurfaceStereoreconstruct_surface_stereo using method 'surface_pairwise'"surface_pairwise""surface_pairwise""surface_pairwise""surface_pairwise".

For this, a call to get_stereo_model_object_model_3dget_stereo_model_object_model_3dGetStereoModelObjectModel3dGetStereoModelObjectModel3dget_stereo_model_object_model_3d has to be performed using the value 'm3d_pairwise'"m3d_pairwise""m3d_pairwise""m3d_pairwise""m3d_pairwise" for the parameter GenParamNameGenParamNameGenParamNamegenParamNamegen_param_name. It should be noted that the model can only be queried if the 'persistence'"persistence""persistence""persistence""persistence" mode for the stereo model (see set_stereo_model_paramset_stereo_model_paramSetStereoModelParamSetStereoModelParamset_stereo_model_param) is enabled before performing the reconstruction. Furthermore the object model can only be queried if the stereo model has been created using the method 'surface_fusion'"surface_fusion""surface_fusion""surface_fusion""surface_fusion". Otherwise, an error is returned. If no object model has been created, the operator returns -1.

Execution Information

  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).
  • Multithreading scope: global (may be called from any thread).
  • Processed without parallelization.

This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.

Parameters

StereoModelIDStereoModelIDStereoModelIDstereoModelIDstereo_model_id (input_control)  stereo_model HStereoModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the stereo model.

GenParamNameGenParamNameGenParamNamegenParamNamegen_param_name (input_control)  string(-array) HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)

Names of the model parameters.

List of values: 'm3d_pairwise'"m3d_pairwise""m3d_pairwise""m3d_pairwise""m3d_pairwise"

ObjectModel3DObjectModel3DObjectModel3DobjectModel3Dobject_model_3d (output_control)  object_model_3d HObjectModel3D, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Values of the model parameters.

Possible Predecessors

reconstruct_surface_stereoreconstruct_surface_stereoReconstructSurfaceStereoReconstructSurfaceStereoreconstruct_surface_stereo, set_stereo_model_paramset_stereo_model_paramSetStereoModelParamSetStereoModelParamset_stereo_model_param

See also

set_stereo_model_paramset_stereo_model_paramSetStereoModelParamSetStereoModelParamset_stereo_model_param

Module

3D Metrology