asset_browser.h File Reference

Classes

struct  AssetSortData
 
struct  BuildBrowserEntryData
 
class  AssetBrowserInterface
 

Namespaces

 maxon
 
 maxon::nodes
 

Typedefs

using BuildBrowserEntryDelegate = Delegate< Result< Data >(const AssetBrowserRef &assetBrowser, BUILDBROWSERENTRYCOMMAND cmd, const Data &data, const Data &parent, const BuildBrowserEntryData &add)>
 
using AssetTypeNameMapKey = Tuple< AssetRepositoryRef, Id, Id, Id, Bool >
 
using AssetTypeNameMap = HashMap< AssetTypeNameMapKey, Tuple< String, String > >
 

Enumerations

enum class  ASSETBROWSERMODE {
  UNDEFINED ,
  CATEGORIES ,
  ASSETS ,
  KEYWORDSAVAILABLE ,
  KEYWORDSASSIGNED ,
  VERSIONS ,
  DEPENDENCIES ,
  DEPENDANTS ,
  DATABASES
}
 
enum class  ASSETGROUPBY {
  UNDEFINED ,
  CATEGORY ,
  CREATIONDATE ,
  USEDATE ,
  USECOUNT ,
  TYPE ,
  DATABASE ,
  NOTHING ,
  _MAX
}
 
enum class  ASSETSORTBY {
  UNDEFINED ,
  NAME ,
  MODIFICATION_DATE ,
  CREATION_DATE ,
  USEDATE ,
  USE_COUNT ,
  SIZE ,
  RELEVANCE
}
 
enum class  ASSETSORTFIRST {
  UNDEFINED ,
  NONE ,
  FAVORITES ,
  RELEVANT
}
 
enum class  ASSETSORTORDER {
  NONE ,
  ASCENDING ,
  DESCENDING
}
 
enum class  ASSETRELEVANCECONTEXT {
  UNDEFINED ,
  OBJECT_OM ,
  OBJECT_VP ,
  MESH ,
  SPLINE ,
  MATERIAL ,
  UV_EDITOR ,
  UV_VP ,
  NODE ,
  OTHER
}
 
enum class  REPOSITORYSTATE {
  NONE ,
  INTERNAL ,
  MOUNTED ,
  READONLY ,
  DATABASE ,
  WATCHFOLDER ,
  ONLINE ,
  COMPACTABLE ,
  ACTIVE ,
  ERROR
}
 
enum class  FILTERASSETRESULT {
  SKIP ,
  ADD ,
  ADDCATEGORYONLY
}
 
enum class  MASTERFILTER {
  ALL ,
  OBJECTS ,
  MATERIALS ,
  MEDIA ,
  NODES ,
  SCENE_NODES ,
  SCENES ,
  PRESETS ,
  TOOLCOMMANDS ,
  OBJECTCOMMANDS ,
  OTHERCOMMANDS ,
  SPECIAL
}
 
enum class  LENGTHUNITSYSTEM {
  METRIC ,
  IMPERIAL
}
 
enum class  BUILDBROWSERENTRYCOMMAND {
  START ,
  END ,
  RESET ,
  ADD ,
  SELECT
}
 

Functions

enum maxon::ASSETBROWSERMODE MAXON_ENUM_LIST (ASSETBROWSERMODE)
 
enum maxon::ASSETGROUPBY MAXON_ENUM_LIST (ASSETGROUPBY)
 
enum maxon::ASSETSORTBY MAXON_ENUM_LIST (ASSETSORTBY)
 
enum maxon::ASSETSORTFIRST MAXON_ENUM_LIST (ASSETSORTFIRST)
 
enum maxon::ASSETSORTORDER MAXON_ENUM_LIST (ASSETSORTORDER)
 
enum maxon::ASSETRELEVANCECONTEXT MAXON_ENUM_LIST (ASSETRELEVANCECONTEXT)
 
enum maxon::REPOSITORYSTATE MAXON_ENUM_FLAGS (REPOSITORYSTATE)
 
enum maxon::FILTERASSETRESULT MAXON_ENUM_LIST (FILTERASSETRESULT)
 
enum maxon::MASTERFILTER MAXON_ENUM_LIST (MASTERFILTER)
 
enum maxon::LENGTHUNITSYSTEM MAXON_ENUM_LIST (LENGTHUNITSYSTEM)
 
enum maxon::BUILDBROWSERENTRYCOMMAND MAXON_ENUM_LIST (BUILDBROWSERENTRYCOMMAND)
 

Variables

 UNDEFINED
 
 CATEGORIES
 
 ASSETS
 
 KEYWORDSAVAILABLE
 
 KEYWORDSASSIGNED
 
 VERSIONS
 
 DEPENDENCIES
 
 DEPENDANTS
 
 DATABASES
 
 CATEGORY
 
 CREATIONDATE
 
 USEDATE
 
 USECOUNT
 
 TYPE
 
 DATABASE
 
 NOTHING
 
 _MAX
 
 NAME
 
 MODIFICATION_DATE
 
 CREATION_DATE
 
 USE_COUNT
 
 SIZE
 
 RELEVANCE
 
 NONE
 
 FAVORITES
 
 RELEVANT
 
 ASCENDING
 
 DESCENDING
 
 OBJECT_OM
 
 OBJECT_VP
 
 MESH
 
 SPLINE
 
 MATERIAL
 
 UV_EDITOR
 
 UV_VP
 
 NODE
 
 OTHER
 
 INTERNAL
 
 MOUNTED
 
 READONLY
 
 WATCHFOLDER
 
 ONLINE
 
 COMPACTABLE
 
 ACTIVE
 
 ERROR
 
 SKIP
 
 ADD
 
 ADDCATEGORYONLY
 
 ALL
 
 OBJECTS
 
 MATERIALS
 
 MEDIA
 
 NODES
 
 SCENE_NODES
 
 SCENES
 
 PRESETS
 
 TOOLCOMMANDS
 
 OBJECTCOMMANDS
 
 OTHERCOMMANDS
 
 SPECIAL
 
 METRIC
 
 IMPERIAL
 
struct maxon::AssetSortData MAXON_ENUM_LIST
 
 START
 
 END
 
 RESET
 
 SELECT
 

Variable Documentation

◆ UNDEFINED

UNDEFINED

◆ CATEGORIES

CATEGORIES

◆ ASSETS

ASSETS

◆ KEYWORDSAVAILABLE

KEYWORDSAVAILABLE

◆ KEYWORDSASSIGNED

KEYWORDSASSIGNED

◆ VERSIONS

VERSIONS

◆ DEPENDENCIES

DEPENDENCIES

◆ DEPENDANTS

DEPENDANTS

◆ DATABASES

DATABASES

◆ CATEGORY

CATEGORY

◆ CREATIONDATE

CREATIONDATE

◆ USEDATE

USEDATE

◆ USECOUNT

USECOUNT

◆ TYPE

TYPE

◆ DATABASE

DATABASE

◆ NOTHING

NOTHING

◆ _MAX

_MAX

◆ NAME

NAME

◆ MODIFICATION_DATE

MODIFICATION_DATE

◆ CREATION_DATE

CREATION_DATE

◆ USE_COUNT

USE_COUNT

◆ SIZE

SIZE

◆ RELEVANCE

RELEVANCE

◆ NONE

NONE

◆ FAVORITES

FAVORITES

◆ RELEVANT

RELEVANT

◆ ASCENDING

ASCENDING

◆ DESCENDING

DESCENDING

◆ OBJECT_OM

OBJECT_OM

◆ OBJECT_VP

OBJECT_VP

◆ MESH

MESH

◆ SPLINE

SPLINE

◆ MATERIAL

MATERIAL

◆ UV_EDITOR

UV_EDITOR

◆ UV_VP

UV_VP

◆ NODE

NODE

◆ OTHER

OTHER

◆ INTERNAL

INTERNAL

◆ MOUNTED

MOUNTED

◆ READONLY

READONLY

◆ WATCHFOLDER

WATCHFOLDER

◆ ONLINE

ONLINE

◆ COMPACTABLE

COMPACTABLE

◆ ACTIVE

ACTIVE

◆ ERROR

ERROR

◆ SKIP

SKIP

◆ ADD

ADD

'data' contains the data returned in START, 'parent' contains the parent returned in the parent ADD operation

◆ ADDCATEGORYONLY

ADDCATEGORYONLY

◆ ALL

ALL

Filter for all types.

◆ OBJECTS

OBJECTS

Filter for object assets only.

◆ MATERIALS

MATERIALS

Filter for material assets only.

◆ MEDIA

MEDIA

Filter for media assets only.

◆ NODES

NODES

Filter for node assets only.

◆ SCENE_NODES

SCENE_NODES

Filter for scene nodes only.

◆ SCENES

SCENES

Filter for scene files only.

◆ PRESETS

PRESETS

Filter for presets only.

◆ TOOLCOMMANDS

TOOLCOMMANDS

Filter for tool commands only.

◆ OBJECTCOMMANDS

OBJECTCOMMANDS

Filter for object commands only.

◆ OTHERCOMMANDS

OTHERCOMMANDS

FIlter for other commands only.

◆ SPECIAL

SPECIAL

Filter for special mode.

◆ METRIC

METRIC

◆ IMPERIAL

IMPERIAL

◆ START

START

returned value is passed as data into all callbacks

◆ END

END

'data' contains the data returned in START, 'parent' data contains a boolean if the job was canceled

◆ RESET

RESET

'data' contains the data returned in START, called before the first element is added

◆ SELECT

SELECT

'data' contains the data returned in START, 'parent' contains the Id of the element that should be selected