Namespace for handling glTF creation. https://www.khronos.org/registry/glTF/. More...
Classes | |
class | accessor |
glTF accessor More... | |
class | animation |
glTF animation More... | |
class | base |
Base class for glTF entities. More... | |
class | bufferView |
glTF buffer view - provides a view/slice of the glTF buffer More... | |
class | List |
Container for glTF entities. More... | |
class | mesh |
glTF mesh More... | |
class | object |
glTF binary object More... | |
class | scene |
Main class to assemble glTF components into a scene. More... | |
Enumerations | |
enum | componentTypes : int { BYTE = 5120, UNSIGNED_BYTE = 5121, SHORT = 5122, UNSIGNED_SHORT = 5123, UNSIGNED_INT = 5125, FLOAT = 5126 } |
enum | dataTypes { SCALAR, VEC2, VEC3, VEC4, MAT2, MAT3, MAT4 } |
enum | attributeTypes { POSITION, NORMAL, TANGENT, TEXCOORD_0, TEXCOORD_1, COLOR_0, JOINTS_0, WEIGHTS_0 } |
enum | targetTypes : int { ARRAY_BUFFER = 34962, ELEMENT_ARRAY_BUFFER = 34963 } |
enum | primitiveModes : int { POINTS = 0, LINES = 1, LINE_LOOP = 2, LINE_STRIP = 3, TRIANGLES = 4, TRIANGLE_STRIP = 5, TRIANGLE_FAN = 6 } |
Functions | |
template<class Type > | |
auto | key (const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type |
Namespace for handling glTF creation. https://www.khronos.org/registry/glTF/.
|
strong |
Enumerator | |
---|---|
BYTE | 1 byte |
UNSIGNED_BYTE | 1 byte |
SHORT | 2 bytes |
UNSIGNED_SHORT | 2 bytes |
UNSIGNED_INT | 4 bytes |
FLOAT | 4 bytes |
Definition at line 49 of file foamGltfBase.H.
|
strong |
Enumerator | |
---|---|
SCALAR | 1 component |
VEC2 | 2 components |
VEC3 | 3 components |
VEC4 | 4 components |
MAT2 | 4 components |
MAT3 | 9 components |
MAT4 | 16 components |
Definition at line 60 of file foamGltfBase.H.
|
strong |
Definition at line 71 of file foamGltfBase.H.
|
strong |
Enumerator | |
---|---|
ARRAY_BUFFER | vertex attributes |
ELEMENT_ARRAY_BUFFER | vertex indices |
Definition at line 84 of file foamGltfBase.H.
|
strong |
Enumerator | |
---|---|
POINTS | |
LINES | |
LINE_LOOP | |
LINE_STRIP | |
TRIANGLES | |
TRIANGLE_STRIP | |
TRIANGLE_FAN |
Definition at line 90 of file foamGltfBase.H.
auto Foam::glTF::key | ( | const Type & | t | ) | -> typename std::enable_if < std::is_enum<Type>::value, typename std::underlying_type<Type>::type >::type |
Definition at line 103 of file foamGltfBase.H.
Referenced by scene::addColourToMesh(), scene::addMesh(), IOobjectList::append(), HashTable< Foam::autoPtr< Foam::interfaceCompositionModel > >::at(), HashTable< Foam::autoPtr< Foam::interfaceCompositionModel > >::cfind(), objectRegistry::checkOut(), IOobjectList::classesImpl(), phaseSystem::coeffs(), IOstreamOption::compressionEnum(), coordinateScaling< Type >::coordinateScaling(), dictionaryContent::copyDict(), Foam::copyFilteredDict(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::correctInterfaceThermo(), phaseSystem::createSubModels(), d2vec_part_quick_a(), PopulationBalancePhaseSystem< BasePhaseSystem >::dmdt(), PhaseTransferPhaseSystem< BasePhaseSystem >::dmdt(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::dmdt(), MassTransferPhaseSystem< BasePhaseSystem >::dmdt(), InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::dmdt(), phaseSystem::dmdt(), phaseSystem::E(), electrostaticDepositionFvPatchScalarField::electrostaticDepositionFvPatchScalarField(), HashPtrTable< exprResult >::emplace(), HashTable< Foam::autoPtr< Foam::interfaceCompositionModel > >::emplace(), HashTable< Foam::autoPtr< Foam::interfaceCompositionModel > >::emplace_set(), energyTransport::energyTransport(), HashTable< Foam::autoPtr< Foam::interfaceCompositionModel > >::erase(), objectRegistry::erase(), removeEntry::execute(), namesList< solutionEntry >::find(), HashTable< Foam::autoPtr< Foam::interfaceCompositionModel > >::find(), coordinateSystems::findIndex(), faBoundaryMesh::findIndex(), ZoneMesh< cellZone, polyMesh >::findIndex(), polyBoundaryMesh::findIndex(), pointBoundaryMesh::findIndices(), fvBoundaryMesh::findIndices(), faBoundaryMesh::findIndices(), ZoneMesh< cellZone, polyMesh >::findIndices(), Foam::FOAM_DEPRECATED_FOR(), IOstreamOption::formatEnum(), namesList< solutionEntry >::found(), coordinateSystems::found(), HashTable< Foam::autoPtr< Foam::interfaceCompositionModel > >::found(), phaseSystem::foundBlendedSubModel(), phaseSystem::foundSubModel(), phaseSystem::generatePairs(), phaseSystem::generatePairsAndSubModels(), phaseSystem::generatePairsTable(), HashPtrTable< exprResult >::get(), Enum< actionType >::get(), exprString::getEntry(), Foam::getIdentifier(), exprString::getOptional(), Switch::getOrAddToDict(), Enum< actionType >::getOrDefault(), leastSquareGrad< T >::grad(), greyMeanAbsorptionEmission::greyMeanAbsorptionEmission(), greyMeanSolidAbsorptionEmission::greyMeanSolidAbsorptionEmission(), Foam::Hasher(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::iDmdt(), InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::iDmdt(), coordinateSystems::indices(), HashPtrTable< exprResult >::insert(), HashTable< Foam::autoPtr< Foam::interfaceCompositionModel > >::insert(), InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::InterfaceCompositionPhaseChangePhaseSystem(), HashTable::Iterator< true >::Iterator(), ivec_heap_d(), layerParameters::layerParameters(), seriesWriter::load(), HashTable< Foam::autoPtr< Foam::interfaceCompositionModel > >::lookup(), Enum< actionType >::lookup(), phaseSystem::lookupBlendedSubModel(), IOobjectList::lookupClassImpl(), IOobjectList::lookupClassTypeImpl(), IOobjectList::lookupImpl(), Enum< actionType >::lookupOrDefault(), twoPhaseSystem::lookupSubModel(), phaseSystem::lookupSubModel(), distribution::mean(), Distribution::mean(), multiphaseSystem::multiphaseSystem(), coordinateSystems::names(), IOobjectList::namesImpl(), IOobjectList::namesTypeImpl(), entry::New(), distribution::normalised(), Distribution::normalised(), phasePairKey::hasher::operator()(), HashSet< word, Hash< word > >::operator()(), Enum< actionType >::operator()(), HashTable< Foam::autoPtr< Foam::interfaceCompositionModel > >::operator()(), HashTable::key_iterator_base< Iter >::operator()(), Enum::const_iterator::operator*(), HashTable::key_iterator_base< Iter >::operator*(), Foam::operator<<(), Foam::operator>>(), PtrDictionary< Foam::phaseModel >::operator[](), PtrListDictionary< phaseModel >::operator[](), DictionaryBase< IDLList< simpleObjectRegistryEntry >, simpleObjectRegistryEntry >::operator[](), HashSet< word, Hash< word > >::operator[](), HashTable< Foam::autoPtr< Foam::interfaceCompositionModel > >::operator[](), cellMatcher::otherFace(), PopulationBalancePhaseSystem< BasePhaseSystem >::pDmdt(), PopulationBalancePhaseSystem< BasePhaseSystem >::PopulationBalancePhaseSystem(), primitiveEntry::primitiveEntry(), genericPatchFieldBase::processEntry(), genericPatchFieldBase::processGeneric(), genericPatchFieldBase::putEntry(), distribution::raw(), Distribution::raw(), PhaseTransferPhaseSystem< BasePhaseSystem >::rDmdt(), derivedFields::read(), electricPotential::read(), functionObjectList::read(), LduMatrix::solver::readControl(), lumpedPointMovement::readDict(), dynamicCodeContext::readEntry(), Enum< actionType >::readEntry(), dynamicCodeContext::readIfPresent(), Enum< actionType >::readIfPresent(), Switch::readIfPresent(), ensightReadFile::readKeyword(), functionEntry::readLine(), zoltanRenumber::renumber(), rigidBodyModel::rigidBodyModel(), searchableSurfaces::searchableSurfaces(), PtrListDictionary< phaseModel >::set(), accessor::set(), HashSet< word, Hash< word > >::set(), HashTable< Foam::autoPtr< Foam::interfaceCompositionModel > >::set(), dynamicCode::setFilterVariable(), Foam::shallowCloneFunctions(), phaseSystem::sigma(), split(), phaseSystem::surfaceTensionCoeff(), Switch::Switch(), HashSet< word, Hash< word > >::test(), memInfo::update(), IOstreamOption::versionNumber::versionNumber(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::wDmdt(), wideBandAbsorptionEmission::wideBandAbsorptionEmission(), genericPolyPatch::write(), Ostream::writeEntry(), Ostream::writeEntryIfDifferent(), Foam::writeEntryIfPresent(), Foam::ensightOutput::writeFaceConnectivity(), Foam::ensightOutput::Detail::writeFaceLocalField(), Foam::ensightOutput::Detail::writeFaceSubField(), Foam::ensightOutput::writeField(), Foam::ensightOutput::Detail::writeFieldComponents(), genericPatchFieldBase::writeGeneric(), Foam::writeHeaderEntry(), ensightGeoFile::writeKeyword(), ensightFile::writeKeyword(), and meshRefinement::zonify().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.