CVB.Net 14.0
TrainingSet.TrainingSetObject Class Referenceabstract

Base class for all objects that can be inside a training set. More...

Inherited by TrainingSet.ImageInfo, TrainingSet.InstanceInfo, and TrainingSet.ModelInfo.

Protected Member Functions

abstract int GetIndex ()
 Method through which the inherited classes retrieve the index this object has in its "master" collection underneath the TrainingSet. More...
 
abstract Image CreateImageRepresentation ()
 Creates the image used for representing this object. More...
 

Protected Attributes

readonly IntPtr collectionParent_
 Native handle to the parent of the collection (which is not necessarily the training set!)
 

Properties

int Index [get]
 Index of this object in the parent's collection. More...
 
Image Image [get]
 Image representation of this object. More...
 

Detailed Description

Base class for all objects that can be inside a training set.

Member Function Documentation

◆ CreateImageRepresentation()

abstract Image CreateImageRepresentation ( )
protectedpure virtual

Creates the image used for representing this object.

Returns
Image representing this object.

Implemented in TrainingSet.ImageInfo, TrainingSet.InstanceInfo, and TrainingSet.ModelInfo.

◆ GetIndex()

abstract int GetIndex ( )
protectedpure virtual

Method through which the inherited classes retrieve the index this object has in its "master" collection underneath the TrainingSet.

Returns
index of this object

Implemented in TrainingSet.ImageInfo, TrainingSet.InstanceInfo, and TrainingSet.ModelInfo.

Property Documentation

◆ Image

Image Image
get

Image representation of this object.

Exceptions
ObjectDisposedExceptionIf the training set has already been disposed

◆ Index

int Index
get

Index of this object in the parent's collection.

Exceptions
ObjectDisposedExceptionIf the training set has already been disposed