![]() |
C++/CLI Sample
Demonstrates how to create a C++/CLI library using the VideoXpert SDK
|
The Marker class represents the location of a resource on a drawing. More...
#include <Marker.h>
Public Member Functions | |
| Marker (VxSdk::IVxMarker *vxMarker) | |
| Constructor. More... | |
| virtual | ~Marker () |
| Destructor. More... | |
| !Marker () | |
| Finaliser. More... | |
| Results::Value | DeleteAssociation () |
| Deletes the data source associated with this marker. More... | |
| DataSource^ | GetAssociation () |
| Gets the data source associated with this marker. More... | |
| Results::Value | Refresh () |
| Refreshes this instances properties. More... | |
| Results::Value | SetAssociation (DataSource^ dataSource) |
| Sets the data source associated with this marker. More... | |
| Results::Value | SetCoordinates (float x, float y) |
| Sets the location of the marker on the associated drawing. More... | |
Package Functions | |
| CPPCli::Drawing^ | _GetDrawing () |
Package Attributes | |
| VxSdk::IVxMarker * | _marker |
Properties | |
| float | Direction [get, set] |
| Gets or sets the angular coordinate indicating the direction, if any, that the marker is facing on a polar grid(e.g.: 0 (right), 90 (up), 180 (left), 270 (down)). More... | |
| Drawing^ | Drawing [get] |
| Gets the drawing that this marker belongs to. More... | |
| System::String^ | Id [get] |
| Gets the unique marker identifier. More... | |
| System::String^ | Name [get, set] |
| Gets or sets the friendly name of the marker. More... | |
| float | X [get] |
| Gets the X coordinate. More... | |
| float | Y [get] |
| Gets the Y coordinate. More... | |
The Marker class represents the location of a resource on a drawing.
| CPPCli::Marker::Marker | ( | VxSdk::IVxMarker * | vxMarker | ) |
|
inlinevirtual |
| CPPCli::Marker::!Marker | ( | ) |
|
package |
Definition at line 49 of file Marker.cpp.
| CPPCli::Results::Value CPPCli::Marker::DeleteAssociation | ( | ) |
Deletes the data source associated with this marker.
Definition at line 18 of file Marker.cpp.
| CPPCli::DataSource CPPCli::Marker::GetAssociation | ( | ) |
Gets the data source associated with this marker.
nullptr.Definition at line 22 of file Marker.cpp.
| CPPCli::Results::Value CPPCli::Marker::Refresh | ( | ) |
Refreshes this instances properties.
Definition at line 34 of file Marker.cpp.
| CPPCli::Results::Value CPPCli::Marker::SetAssociation | ( | DataSource^ | dataSource | ) |
Sets the data source associated with this marker.
| dataSource | The data source to associate with this marker. |
Definition at line 38 of file Marker.cpp.
| CPPCli::Results::Value CPPCli::Marker::SetCoordinates | ( | float | x, |
| float | y | ||
| ) |
Sets the location of the marker on the associated drawing.
| x | The X coordinate. |
| y | The Y coordinate. |
Definition at line 45 of file Marker.cpp.
|
package |
|
getset |
|
get |
|
get |
|
getset |
|
get |
|
get |