-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ContentElements are now all associated with a ContentType, which is m…
…ore stable to distinguish elements than doing so based on a class using reflection. Signed-off-by: Ralph Gasser <[email protected]>
- Loading branch information
1 parent
1e608a3
commit 8765618
Showing
9 changed files
with
53 additions
and
14 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
vitrivr-engine-core/src/main/kotlin/org/vitrivr/engine/core/model/content/ContentType.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package org.vitrivr.engine.core.model.content | ||
|
||
/** | ||
* An enumeration of the type of content that can be processed by vitrivr-engine. | ||
* | ||
* @author Ralph Gasser | ||
* @version 1.0.0 | ||
*/ | ||
enum class ContentType { | ||
/** A bitmap image (e.g., extracted from a video or image file). */ | ||
BITMAP_IMAGE, | ||
|
||
/** An audio frame (e.g., extracted from a video or audio file). */ | ||
AUDIO_FRAME, | ||
|
||
/** Text (e.g., extracted from a document). */ | ||
TEXT, | ||
|
||
/** A 3D mesh. */ | ||
MESH | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters