Foam::SVG Namespace Reference

Collection of tools to generate SVG strings. More...

Classes

struct  element
 
struct  header
 
struct  line
 
struct  text
 

Typedefs

typedef std::pair< const char *, stringentryType
 

Functions

Ostreamoperator<< (Ostream &os, const element &e)
 
Ostreamoperator<< (Ostream &os, const text &t)
 
Ostreamoperator<< (Ostream &os, const line &l)
 
Ostreamoperator<< (Ostream &os, const header &h)
 

Variables

const char * end = "</svg>"
 

Detailed Description

Collection of tools to generate SVG strings.

Source files

Typedef Documentation

◆ entryType

typedef std::pair<const char*, string> entryType

Definition at line 51 of file SVGTools.H.

Function Documentation

◆ operator<<() [1/4]

Ostream& Foam::SVG::operator<< ( Ostream os,
const element e 
)

Definition at line 88 of file SVGTools.H.

References Foam::constant::electromagnetic::e, element::elems_, element::key_, os(), s, and element::styles_.

Here is the call graph for this function:

◆ operator<<() [2/4]

Ostream& Foam::SVG::operator<< ( Ostream os,
const text t 
)

Definition at line 145 of file SVGTools.H.

References element::end, os(), and text::text_.

Here is the call graph for this function:

◆ operator<<() [3/4]

Ostream& Foam::SVG::operator<< ( Ostream os,
const line l 
)

Definition at line 186 of file SVGTools.H.

References element::end, and os().

Here is the call graph for this function:

◆ operator<<() [4/4]

Ostream& Foam::SVG::operator<< ( Ostream os,
const header h 
)

Definition at line 211 of file SVGTools.H.

References Foam::constant::universal::h, and os().

Here is the call graph for this function:

Variable Documentation

◆ end

const char* end = "</svg>"

Definition at line 223 of file SVGTools.H.

Referenced by distribution::add(), DictionaryBase< DLPtrList< T >, T >::addEntries(), lduMatrix::Amul(), searchableSurfaceToFaceZone::applyToSet(), Foam::meshTools::bandCompression(), SLListBase::begin(), DLListBase::begin(), cellMatcher::calcEdgeAddressing(), meshRefinement::checkData(), singleRun::checkEndOfLoopAndUpdate(), steadyOptimisation::checkEndOfLoopAndUpdate(), searchableSurfaces::checkIntersection(), HashPtrTable< exprResult >::clear(), objectRegistry::clear(), blockEdge::compare(), UList< Foam::vector >::contains(), FixedList< point, 2 >::crbegin(), UList< Foam::vector >::crbegin(), extendedEdgeMesh::cut(), scotchDecomp::decomposeSerial(), snappySnapDriver::detectNearSurfaces(), Foam::drawHitProblem(), meshRefinement::dumpIntersections(), faMesh::edgeLengthCorrection(), HashTable< const regIOobject * >::erase(), Foam::PstreamDetail::exchangeBuffers(), Foam::PstreamDetail::exchangeContainer(), wallDistAddressing::extract(), searchablePlateFeatures::features(), IOobjectList::filterClasses(), HashTable< const regIOobject * >::filterEntries(), HashTable< const regIOobject * >::filterKeys(), IOobjectList::filterObjects(), HashTable< const regIOobject * >::filterValues(), searchableSurfacesQueries::findAllIntersections(), searchableSurfaces::findAllIntersections(), refinementSurfaces::findAllIntersections(), searchableSurfacesQueries::findAnyIntersection(), searchableSurfaces::findAnyIntersection(), refinementSurfaces::findAnyIntersection(), refinementSurfaces::findHigherIntersection(), treeDataPrimitivePatch< PatchType >::findIntersection(), triSurfaceSearch::findLine(), searchablePlane::findLine(), searchablePlate::findLine(), searchableDisk::findLine(), searchableRotatedBox::findLine(), searchableBox::findLine(), searchableCylinder::findLine(), searchableSurfaceWithGaps::findLine(), searchableSurfaceCollection::findLine(), triSurfaceMesh::findLine(), searchableCone::findLine(), searchableSphere::findLine(), dynamicIndexedOctree< Foam::dynamicTreeDataPoint >::findLine(), distributedTriSurfaceMesh::findLine(), indexedOctree< Foam::treeDataPrimitivePatch< PatchType > >::findLine(), triSurfaceSearch::findLineAll(), searchablePlane::findLineAll(), searchablePlate::findLineAll(), searchableDisk::findLineAll(), searchableCylinder::findLineAll(), searchableSurfaceWithGaps::findLineAll(), searchableSurfaceCollection::findLineAll(), searchableRotatedBox::findLineAll(), searchableBox::findLineAll(), searchableCone::findLineAll(), triSurfaceMesh::findLineAll(), searchableSphere::findLineAll(), distributedTriSurfaceMesh::findLineAll(), triSurfaceSearch::findLineAny(), searchablePlane::findLineAny(), searchablePlate::findLineAny(), searchableDisk::findLineAny(), searchableRotatedBox::findLineAny(), searchableCylinder::findLineAny(), searchableBox::findLineAny(), searchableSurfaceWithGaps::findLineAny(), searchableSurfaceCollection::findLineAny(), triSurfaceMesh::findLineAny(), searchableCone::findLineAny(), searchableSphere::findLineAny(), dynamicIndexedOctree< Foam::dynamicTreeDataPoint >::findLineAny(), distributedTriSurfaceMesh::findLineAny(), indexedOctree< Foam::treeDataPrimitivePatch< PatchType > >::findLineAny(), searchableSurfacesQueries::findNearestIntersection(), searchableSurfaces::findNearestIntersection(), refinementSurfaces::findNearestIntersection(), searchableExtrudedCircle::findParametricNearest(), for(), ensightReadFile::getTimeStepFooter(), Random::globalPosition(), if(), Foam::stringOps::inplaceTrimLeft(), Foam::stringOps::inplaceTrimRight(), triangleFuncs::intersectBb(), treeBoundBox::intersects(), lduAddressing::map(), CollidingCloud< KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::motion(), line< Point, PointRef >::nearestDist(), meshRefinement::nearestIntersection(), NASCore::nextNasField(), ofstreamPointer::ofstreamPointer(), findUniqueIntersectOp::operator()(), treeDataCell::findIntersectOp::operator()(), treeDataPrimitivePatch< PatchType >::findIntersectOp::operator()(), treeDataFace::findIntersectOp::operator()(), treeDataPrimitivePatch< PatchType >::findAllIntersectOp::operator()(), treeDataPrimitivePatch< PatchType >::findSelfIntersectOp::operator()(), steadyOptimisation::operator++(), Time::operator++(), Random::position(), powerLawLopesdaCostaZone::powerLawLopesdaCostaZone(), fileOperation::printRanks(), FixedList< point, 2 >::rbegin(), UList< Foam::vector >::rbegin(), GTSsurfaceFormat< Face >::read(), objectRegistry::readModifiedObjects(), SLListBase::remove(), DynamicList< Foam::vector >::resize(), DynamicField< Foam::vector >::resize(), HashTable< const regIOobject * >::retain(), sampledPatchInternalField::sampleOnFaces(), memorybuf::seekoff(), edgeFaceCirculator::setCanonical(), boundaryMesh::setFeatureEdges(), Foam::ListOps::setValue(), twoPhaseSystem::solve(), multiphaseSystem::solve(), MultiComponentPhaseModel< BasePhaseModel, phaseThermo >::solveYi(), HashTable< const regIOobject * >::sorted(), Foam::stringOps::split(), Foam::stringOps::splitAny(), Foam::stringOps::splitFixed(), triSurfaceTools::trackToEdge(), Foam::stringOps::trim(), Foam::stringOps::trimLeft(), Foam::stringOps::trimRight(), steadyOptimisation::update(), timeVaryingMappedFixedValuePointPatchField< Type >::updateCoeffs(), meshRefinement::updateIntersections(), MappedFile< Type >::value(), wallLayerCells::wallLayerCells(), DMD::write(), graphFunctionObject::write(), and triSurfaceTools::writeCloseness().