ClassesClassesClassesClasses | | | | Operators

set_ncc_model_originset_ncc_model_originSetNccModelOriginset_ncc_model_originSetNccModelOriginSetNccModelOrigin (Operator)

Name

set_ncc_model_originset_ncc_model_originSetNccModelOriginset_ncc_model_originSetNccModelOriginSetNccModelOrigin — Set the origin (reference point) of an NCC model.

Signature

set_ncc_model_origin( : : ModelID, Row, Column : )

Herror set_ncc_model_origin(const Hlong ModelID, double Row, double Column)

Herror T_set_ncc_model_origin(const Htuple ModelID, const Htuple Row, const Htuple Column)

Herror set_ncc_model_origin(const HTuple& ModelID, const HTuple& Row, const HTuple& Column)

void HNCCModel::SetNccModelOrigin(const HTuple& Row, const HTuple& Column) const

void SetNccModelOrigin(const HTuple& ModelID, const HTuple& Row, const HTuple& Column)

void HNCCModel::SetNccModelOrigin(double Row, double Column) const

void HOperatorSetX.SetNccModelOrigin(
[in] VARIANT ModelID, [in] VARIANT Row, [in] VARIANT Column)

void HNCCModelX.SetNccModelOrigin(
[in] double Row, [in] double Column)

static void HOperatorSet.SetNccModelOrigin(HTuple modelID, HTuple row, HTuple column)

void HNCCModel.SetNccModelOrigin(double row, double column)

Description

The operator set_ncc_model_originset_ncc_model_originSetNccModelOriginset_ncc_model_originSetNccModelOriginSetNccModelOrigin sets the origin (reference point) of the NCC model ModelIDModelIDModelIDModelIDModelIDmodelID to a new value. The origin is specified relative to the center of gravity of the domain (region) of the image that was used to create the NCC model with create_ncc_modelcreate_ncc_modelCreateNccModelcreate_ncc_modelCreateNccModelCreateNccModel. Hence, an origin of (0,0) means that the center of gravity of the domain of the model image is used as the origin. An origin of (-20,-40) means that the origin lies to the upper left of the center of gravity.

Parallelization

This operator modifies the state of the following input parameter:

The value of this parameter may not be shared across multiple threads without external synchronization.

Parameters

ModelIDModelIDModelIDModelIDModelIDmodelID (input_control, state is modified)  ncc_model HNCCModel, HTupleHTupleHNCCModel, HTupleHNCCModelX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Handle of the model.

RowRowRowRowRowrow (input_control)  point.y HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

Row coordinate of the origin of the NCC model.

ColumnColumnColumnColumnColumncolumn (input_control)  point.x HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

Column coordinate of the origin of the NCC model.

Result

If the handle of the model is valid, the operator set_ncc_model_originset_ncc_model_originSetNccModelOriginset_ncc_model_originSetNccModelOriginSetNccModelOrigin returns the value 2 (H_MSG_TRUE). If necessary an exception is raised.

Possible Predecessors

create_ncc_modelcreate_ncc_modelCreateNccModelcreate_ncc_modelCreateNccModelCreateNccModel, read_ncc_modelread_ncc_modelReadNccModelread_ncc_modelReadNccModelReadNccModel

Possible Successors

find_ncc_modelfind_ncc_modelFindNccModelfind_ncc_modelFindNccModelFindNccModel, get_ncc_model_originget_ncc_model_originGetNccModelOriginget_ncc_model_originGetNccModelOriginGetNccModelOrigin, find_ncc_modelsfind_ncc_modelsFindNccModelsfind_ncc_modelsFindNccModelsFindNccModels

See also

area_centerarea_centerAreaCenterarea_centerAreaCenterAreaCenter

Module

Matching


ClassesClassesClassesClasses | | | | Operators