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... | |
| class | sceneWriter |
| Wrapper for glTF scene for file output. 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) -> std::enable_if_t< std::is_enum_v< Type >, std::underlying_type_t< 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 | ) | -> std::enable_if_t < std::is_enum_v<Type>, std::underlying_type_t<Type> > |
Definition at line 103 of file foamGltfBase.H.
Referenced by element::addAttr(), element::addAttrStr(), substitutionModel::addBuiltin(), substitutionModel::addBuiltinStr(), scene::addColourToMesh(), DictionaryBase< DLPtrList< T >, T >::addHashEntry(), scene::addMesh(), environmentVariable::apply(), userValue::apply(), functionObjectValue::apply(), fileRegEx::apply(), dictionaryValue::apply(), foamReport::apply(), Field< Foam::vector >::assign(), HashTable< const regIOobject * >::at(), Enum< preconditioners >::cfind(), HashTable< const regIOobject * >::cfind(), objectRegistry::checkOut(), IOobjectList::classesImpl(), multiphaseInterSystem::coeffs(), IOstreamOption::compressionEnum(), HashTable< const regIOobject * >::contains(), substitutionModel::containsBuiltin(), coordinateScaling< Foam::vector >::coordinateScaling(), dictionaryContent::copyDict(), Foam::copyFilteredDict(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::correctInterfaceThermo(), phaseSystem::createSubModels(), multiphaseInterSystem::createSubModels(), d2vec_part_quick_a(), PopulationBalancePhaseSystem< BasePhaseSystem >::dmdt(), PhaseTransferPhaseSystem< BasePhaseSystem >::dmdt(), MassTransferPhaseSystem< BasePhaseSystem >::dmdt(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::dmdt(), InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::dmdt(), phaseSystem::dmdt(), phaseSystem::E(), electrostaticDepositionFvPatchScalarField::electrostaticDepositionFvPatchScalarField(), HashPtrTable< exprResult >::emplace(), HashTable< const regIOobject * >::emplace(), HashPtrTable< exprResult >::emplace_set(), HashTable< const regIOobject * >::emplace_set(), energyTransport::energyTransport(), HashTable< const regIOobject * >::erase(), objectRegistry::erase(), removeEntry::execute(), Foam::extract(), Field< Foam::vector >::Field(), namesList< solutionEntry >::find(), HashTable< const regIOobject * >::find(), Enum< preconditioners >::find(), coordinateSystems::findIndex(), faBoundaryMesh::findIndex(), ZoneMesh< cellZone, polyMesh >::findIndex(), polyBoundaryMesh::findIndex(), fvBoundaryMesh::findIndices(), pointBoundaryMesh::findIndices(), faBoundaryMesh::findIndices(), ZoneMesh< cellZone, polyMesh >::findIndices(), IOstreamOption::floatFormatEnum(), Foam::FOAM_DEPRECATED_FOR(), IOstreamOption::formatEnum(), namesList< solutionEntry >::found(), coordinateSystems::found(), Enum< preconditioners >::found(), phaseSystem::foundBlendedSubModel(), phaseSystem::foundSubModel(), phaseSystem::generatePairs(), multiphaseInterSystem::generatePairs(), phaseSystem::generatePairsAndSubModels(), multiphaseInterSystem::generatePairsAndSubModels(), multiphaseInterSystem::generatePairsTable(), HashPtrTable< exprResult >::get(), Enum< preconditioners >::get(), Foam::getIdentifier(), Switch::getOrAddToDict(), Enum< preconditioners >::getOrDefault(), Switch::getOrDefault(), leastSquareGrad< T >::grad(), greyMeanAbsorptionEmission::greyMeanAbsorptionEmission(), greyMeanSolidAbsorptionEmission::greyMeanSolidAbsorptionEmission(), Foam::Hasher(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::iDmdt(), InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::iDmdt(), coordinateSystems::indices(), HashPtrTable< exprResult >::insert(), HashTable< const regIOobject * >::insert(), InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::InterfaceCompositionPhaseChangePhaseSystem(), HashTable< T, Key, Hash >::Iterator< true >::Iterator(), ivec_heap_d(), layerParameters::layerParameters(), seriesWriter::load(), HashTable< const regIOobject * >::lookup(), Enum< preconditioners >::lookup(), phaseSystem::lookupBlendedSubModel(), IOobjectList::lookupClassImpl(), IOobjectList::lookupClassTypeImpl(), IOobjectList::lookupImpl(), Enum< preconditioners >::lookupOrDefault(), twoPhaseSystem::lookupSubModel(), phaseSystem::lookupSubModel(), multiphaseInterSystem::lookupSubModel(), distribution::mean(), Distribution< Type >::mean(), multiphaseSystem::multiphaseSystem(), coordinateSystems::names(), IOobjectList::namesImpl(), IOobjectList::namesTypeImpl(), entry::New(), distribution::normalised(), Distribution< Type >::normalised(), IOobjectList::objectsTypeImpl(), phasePairKey::hasher::operator()(), HashSet< word, Hash< word > >::operator()(), Enum< preconditioners >::operator()(), HashTable< const regIOobject * >::operator()(), HashTable< T, Key, Hash >::key_iterator_base< Iter >::operator()(), Enum< EnumType >::const_iterator::operator*(), HashTable< T, Key, Hash >::key_iterator_base< Iter >::operator*(), Foam::operator<<(), Foam::operator>>(), PtrDictionary< Foam::phaseModel >::operator[](), PtrListDictionary< phaseModel >::operator[](), DictionaryBase< DLPtrList< T >, T >::operator[](), HashSet< word, Hash< word > >::operator[](), HashTable< const regIOobject * >::operator[](), cellMatcher::otherFace(), outletMappedUniformInletFvPatchField< Type >::outletMappedUniformInletFvPatchField(), foamReport::parseTemplate(), PopulationBalancePhaseSystem< BasePhaseSystem >::pDmdt(), PopulationBalancePhaseSystem< BasePhaseSystem >::PopulationBalancePhaseSystem(), primitiveEntry::primitiveEntry(), dictionaryValue::processDict(), genericPatchFieldBase::processEntry(), genericPatchFieldBase::processGeneric(), genericPatchFieldBase::putEntry(), distribution::raw(), Distribution< Type >::raw(), PhaseTransferPhaseSystem< BasePhaseSystem >::rDmdt(), derivedFields::read(), electricPotential::read(), functionObjectList::read(), forceCoeffs::read(), LduMatrix< Type, DType, LUType >::solver::readControl(), lumpedPointMovement::readDict(), dynamicCodeContext::readEntry(), Enum< preconditioners >::readEntry(), exprString::readIfPresent(), dynamicCodeContext::readIfPresent(), Enum< preconditioners >::readIfPresent(), Switch::readIfPresent(), ensightReadFile::readKeyword(), functionEntry::readLine(), zoltanRenumber::renumber(), substitutionModel::replaceBuiltin(), rigidBodyModel::rigidBodyModel(), searchableSurfaces::searchableSurfaces(), PtrListDictionary< phaseModel >::set(), accessor::set(), HashSet< word, Hash< word > >::set(), HashPtrTable< exprResult >::set(), HashTable< const regIOobject * >::set(), substitutionModel::setBuiltin(), substitutionModel::setBuiltinStr(), dynamicCode::setFilterVariable(), simpleObjectRegistry::setNamedValue(), cellSetOption::setSelection(), Foam::shallowCloneFunctions(), phaseSystem::sigma(), split(), multiphaseInterSystem::surfaceTensionCoeff(), Switch::Switch(), HashPtrTable< exprResult >::test(), ensightCase::options::timeFormat(), ensightCase::options::timePrecision(), HashPtrTable< exprResult >::try_emplace(), IOstreamOption::versionNumber::versionNumber(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::wDmdt(), wideBandAbsorptionEmission::wideBandAbsorptionEmission(), genericPolyPatch::write(), faBoundaryMeshEntries::writeEntries(), polyBoundaryMeshEntries::writeEntries(), 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(), Foam::writeMaps(), and meshRefinement::zonify().