gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
PViewData Class Referenceabstract

#include <PViewData.h>

Inheritance diagram for PViewData:
Collaboration diagram for PViewData:

Public Member Functions

 PViewData ()
 
virtual ~PViewData ()
 
virtual bool getDirty ()
 
virtual void setDirty (bool val)
 
virtual bool finalize (bool computeMinMax=true, const std::string &interpolationScheme="")
 
virtual std::string getName ()
 
virtual void setName (const std::string &val)
 
virtual std::string getFileName (int step=-1)
 
virtual void setFileName (const std::string &val)
 
virtual bool hasFileName (const std::string &val)
 
virtual int getFileIndex ()
 
virtual void setFileIndex (int val)
 
virtual int getNumTimeSteps ()=0
 
virtual int getFirstNonEmptyTimeStep (int start=0)
 
virtual double getTime (int step)
 
virtual double getMin (int step=-1, bool onlyVisible=false, int tensorRep=0, int forceNumComponents=0, int componentMap[9]=nullptr)=0
 
virtual double getMax (int step=-1, bool onlyVisible=false, int tensorRep=0, int forceNumComponents=0, int componentMap[9]=nullptr)=0
 
virtual void setMin (double min)=0
 
virtual void setMax (double max)=0
 
virtual SBoundingBox3d getBoundingBox (int step=-1)=0
 
virtual void setBoundingBox (SBoundingBox3d &box)=0
 
virtual int getNumScalars (int step=-1)
 
virtual int getNumVectors (int step=-1)
 
virtual int getNumTensors (int step=-1)
 
virtual int getNumPoints (int step=-1)
 
virtual int getNumLines (int step=-1)
 
virtual int getNumTriangles (int step=-1)
 
virtual int getNumQuadrangles (int step=-1)
 
virtual int getNumPolygons (int step=-1)
 
virtual int getNumTetrahedra (int step=-1)
 
virtual int getNumHexahedra (int step=-1)
 
virtual int getNumPrisms (int step=-1)
 
virtual int getNumPyramids (int step=-1)
 
virtual int getNumTrihedra (int step=-1)
 
virtual int getNumPolyhedra (int step=-1)
 
virtual int getNumEntities (int step=-1)
 
virtual int getNumElements (int step=-1, int ent=-1)
 
virtual int getDimension (int step, int ent, int ele)
 
virtual int getNumNodes (int step, int ent, int ele)
 
virtual int getNode (int step, int ent, int ele, int nod, double &x, double &y, double &z)
 
virtual void setNode (int step, int ent, int ele, int nod, double x, double y, double z)
 
virtual void tagNode (int step, int ent, int ele, int nod, int tag)
 
virtual int getNumComponents (int step, int ent, int ele)
 
virtual int getNumValues (int step, int ent, int ele)
 
virtual void getValue (int step, int ent, int ele, int idx, double &val)
 
virtual void getValue (int step, int ent, int ele, int nod, int comp, double &val)
 
virtual void setValue (int step, int ent, int ele, int nod, int comp, double val)
 
void getScalarValue (int step, int ent, int ele, int nod, double &val, int tensorRep=0, int forceNumComponents=0, int componentMap[9]=nullptr)
 
virtual int getNumEdges (int step, int ent, int ele)
 
virtual int getType (int step, int ent, int ele)
 
virtual int getNumStrings2D ()
 
virtual int getNumStrings3D ()
 
virtual void getString2D (int i, int step, std::string &str, double &x, double &y, double &style)
 
virtual void getString3D (int i, int step, std::string &str, double &x, double &y, double &z, double &style)
 
virtual void reverseElement (int step, int ent, int ele)
 
virtual bool empty ()
 
virtual bool skipEntity (int step, int ent)
 
virtual bool skipElement (int step, int ent, int ele, bool checkVisibility=false, int samplingRate=1)
 
virtual bool hasTimeStep (int step)
 
virtual bool hasPartition (int step, int part)
 
virtual bool hasMultipleMeshes ()
 
virtual bool hasModel (GModel *model, int step=-1)
 
virtual bool isNodeData ()
 
virtual bool useGaussPoints ()
 
void initAdaptiveData (int step, int level, double tol)
 
void initAdaptiveDataLight (int step, int level, double tol)
 
void saveAdaptedViewForVTK (const std::string &guifileName, int useDefaultName, int step, int level, double tol, int npart, bool isBinary)
 
void destroyAdaptiveData ()
 
adaptiveDatagetAdaptiveData ()
 
void setInterpolationMatrices (int type, const fullMatrix< double > &coefVal, const fullMatrix< double > &expVal)
 
void setInterpolationMatrices (int type, const fullMatrix< double > &coefVal, const fullMatrix< double > &expVal, const fullMatrix< double > &coefGeo, const fullMatrix< double > &expGeo)
 
int getInterpolationMatrices (int type, std::vector< fullMatrix< double > * > &p)
 
bool haveInterpolationMatrices (int type=0)
 
void deleteInterpolationMatrices (int type=0)
 
std::string getInterpolationSchemeName ()
 
void setInterpolationSchemeName (std::string name)
 
virtual void smooth ()
 
virtual bool combineTime (nameData &nd)
 
virtual bool combineSpace (nameData &nd)
 
virtual void setXY (std::vector< double > &x, std::vector< double > &y)
 
virtual void setXYZV (std::vector< double > &x, std::vector< double > &y, std::vector< double > &z, std::vector< double > &v)
 
virtual bool isRemote ()
 
virtual int fillRemoteVertexArrays (std::string &options)
 
virtual bool isListBased ()
 
virtual double getMemoryInMb ()
 
virtual GModelgetModel (int step)
 
virtual GEntitygetEntity (int step, int entity)
 
virtual MElementgetElement (int step, int entity, int element)
 
double findClosestNode (double &xn, double &yn, double &zn, int step)
 
bool searchScalar (double x, double y, double z, double *values, int step=-1, double *size=nullptr, int qn=0, double *qx=nullptr, double *qy=nullptr, double *qz=nullptr, bool grad=false, int dim=-1)
 
bool searchVector (double x, double y, double z, double *values, int step=-1, double *size=nullptr, int qn=0, double *qx=nullptr, double *qy=nullptr, double *qz=nullptr, bool grad=false, int dim=-1)
 
bool searchTensor (double x, double y, double z, double *values, int step=-1, double *size=nullptr, int qn=0, double *qx=nullptr, double *qy=nullptr, double *qz=nullptr, bool grad=false, int dim=-1)
 
bool searchScalarClosest (double x, double y, double z, double &distance, double *values, int step=-1, double *size=nullptr, int qn=0, double *qx=nullptr, double *qy=nullptr, double *qz=nullptr, bool grad=false, int dim=-1)
 
bool searchVectorClosest (double x, double y, double z, double &distance, double *values, int step=-1, double *size=nullptr, int qn=0, double *qx=nullptr, double *qy=nullptr, double *qz=nullptr, bool grad=false, int dim=-1)
 
bool searchTensorClosest (double x, double y, double z, double &distance, double *values, int step=-1, double *size=nullptr, int qn=0, double *qx=nullptr, double *qy=nullptr, double *qz=nullptr, bool grad=false, int dim=-1)
 
virtual bool writeSTL (const std::string &fileName)
 
virtual bool writeTXT (const std::string &fileName)
 
virtual bool writePOS (const std::string &fileName, bool binary=false, bool parsed=true, bool append=false)
 
virtual bool writeMSH (const std::string &fileName, double version=2.2, bool binary=false, bool saveMesh=true, bool multipleView=false, int partitionNum=-1, bool saveInterpolationMatrices=true, bool forceNodeData=false, bool forceElementData=false)
 
virtual bool writeMED (const std::string &fileName)
 
virtual bool toVector (std::vector< std::vector< double > > &vec)
 
virtual bool fromVector (const std::vector< std::vector< double > > &vec)
 
virtual void importLists (int N[24], std::vector< double > *V[24])
 
virtual void getListPointers (int N[24], std::vector< double > *V[24])
 
virtual void sendToServer (const std::string &name)
 

Static Public Member Functions

static void removeInterpolationScheme (const std::string &name)
 
static void removeAllInterpolationSchemes ()
 
static void addMatrixToInterpolationScheme (const std::string &name, int type, fullMatrix< double > &mat)
 
static int getSizeInterpolationScheme ()
 

Protected Attributes

adaptiveData_adaptive
 
interpolationMatrices _interpolation
 
std::string _interpolationSchemeName
 

Static Protected Attributes

static std::map< std::string, interpolationMatrices_interpolationSchemes
 

Private Attributes

bool _dirty
 
std::string _name
 
std::string _fileName
 
std::set< std::string > _fileNames
 
int _fileIndex
 
OctreePost_octree
 
SPoint3Cloud _pc
 
SPoint3CloudAdaptor< SPoint3Cloud_pc2kdtree
 
SPoint3KDTree_kdtree
 

Detailed Description

Definition at line 29 of file PViewData.h.

Constructor & Destructor Documentation

◆ PViewData()

PViewData::PViewData ( )

Definition at line 15 of file PViewData.cpp.

◆ ~PViewData()

PViewData::~PViewData ( )
virtual

Definition at line 21 of file PViewData.cpp.

Member Function Documentation

◆ addMatrixToInterpolationScheme()

void PViewData::addMatrixToInterpolationScheme ( const std::string &  name,
int  type,
fullMatrix< double > &  mat 
)
static

Definition at line 219 of file PViewData.cpp.

Referenced by PView::readMSH().

Here is the caller graph for this function:

◆ combineSpace()

bool PViewData::combineSpace ( nameData nd)
virtual

Reimplemented in PViewDataList.

Definition at line 242 of file PViewData.cpp.

Referenced by PView::combine().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ combineTime()

bool PViewData::combineTime ( nameData nd)
virtual

Reimplemented in PViewDataGModel, and PViewDataList.

Definition at line 236 of file PViewData.cpp.

Referenced by PView::combine().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ deleteInterpolationMatrices()

void PViewData::deleteInterpolationMatrices ( int  type = 0)

Definition at line 194 of file PViewData.cpp.

◆ destroyAdaptiveData()

void PViewData::destroyAdaptiveData ( )

Definition at line 79 of file PViewData.cpp.

Referenced by PView::combine(), GMSH_LongituteLatitudePlugin::execute(), and saveAdaptedViewForVTK().

Here is the caller graph for this function:

◆ empty()

bool PViewData::empty ( )
virtual

Definition at line 85 of file PViewData.cpp.

Referenced by fromVector(), and PViewDataGModel::getBoundingBox().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fillRemoteVertexArrays()

virtual int PViewData::fillRemoteVertexArrays ( std::string &  options)
inlinevirtual

Reimplemented in PViewDataRemote.

Definition at line 282 of file PViewData.h.

Referenced by GMSH_PostPlugin::executeRemote(), and initPView::operator()().

Here is the caller graph for this function:

◆ finalize()

bool PViewData::finalize ( bool  computeMinMax = true,
const std::string &  interpolationScheme = "" 
)
virtual

◆ findClosestNode()

double PViewData::findClosestNode ( double &  xn,
double &  yn,
double &  zn,
int  step 
)

Definition at line 248 of file PViewData.cpp.

Referenced by searchScalarClosest(), searchTensorClosest(), and searchVectorClosest().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fromVector()

bool PViewData::fromVector ( const std::vector< std::vector< double > > &  vec)
virtual

Definition at line 238 of file PViewDataIO.cpp.

Here is the call graph for this function:

◆ getAdaptiveData()

adaptiveData* PViewData::getAdaptiveData ( )
inline

Definition at line 238 of file PViewData.h.

Referenced by GMSH_LevelsetPlugin::execute(), PView::getData(), PViewDataGModel::getNumNodes(), and GMSH_PostPlugin::getPossiblyAdaptiveData().

Here is the caller graph for this function:

◆ getBoundingBox()

virtual SBoundingBox3d PViewData::getBoundingBox ( int  step = -1)
pure virtual

◆ getDimension()

◆ getDirty()

virtual bool PViewData::getDirty ( )
inlinevirtual

Definition at line 62 of file PViewData.h.

Referenced by drawContext::drawGraph2d(), drawContext::drawScales(), drawPView::operator()(), initPView::operator()(), and PView::writeX3D().

Here is the caller graph for this function:

◆ getElement()

MElement * PViewData::getElement ( int  step,
int  entity,
int  element 
)
virtual

Reimplemented in PViewDataGModel.

Definition at line 148 of file PViewData.cpp.

Here is the call graph for this function:

◆ getEntity()

GEntity * PViewData::getEntity ( int  step,
int  entity 
)
virtual

Reimplemented in PViewDataGModel.

Definition at line 142 of file PViewData.cpp.

Referenced by GMSH_MathEvalPlugin::execute().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFileIndex()

virtual int PViewData::getFileIndex ( )
inlinevirtual

Definition at line 86 of file PViewData.h.

Referenced by PViewDataGModel::smooth().

Here is the caller graph for this function:

◆ getFileName()

virtual std::string PViewData::getFileName ( int  step = -1)
inlinevirtual

Reimplemented in PViewDataGModel.

Definition at line 74 of file PViewData.h.

Referenced by GMSH_LevelsetPlugin::execute(), and PViewDataGModel::getFileName().

Here is the caller graph for this function:

◆ getFirstNonEmptyTimeStep()

◆ getInterpolationMatrices()

int PViewData::getInterpolationMatrices ( int  type,
std::vector< fullMatrix< double > * > &  p 
)

Definition at line 176 of file PViewData.cpp.

Referenced by PViewDataList::_getRawData(), PViewDataList::_setLast(), PViewDataList::_stat(), and adaptiveData::adaptiveData().

Here is the caller graph for this function:

◆ getInterpolationSchemeName()

std::string PViewData::getInterpolationSchemeName ( )
inline

Definition at line 258 of file PViewData.h.

◆ getListPointers()

void PViewData::getListPointers ( int  N[24],
std::vector< double > *  V[24] 
)
virtual

Reimplemented in PViewDataList.

Definition at line 282 of file PViewDataIO.cpp.

Here is the call graph for this function:

◆ getMax()

virtual double PViewData::getMax ( int  step = -1,
bool  onlyVisible = false,
int  tensorRep = 0,
int  forceNumComponents = 0,
int  componentMap[9] = nullptr 
)
pure virtual

◆ getMemoryInMb()

virtual double PViewData::getMemoryInMb ( )
inlinevirtual

Reimplemented in PViewDataGModel, and PViewDataList.

Definition at line 288 of file PViewData.h.

Referenced by PView::getMemoryInMb().

Here is the caller graph for this function:

◆ getMin()

virtual double PViewData::getMin ( int  step = -1,
bool  onlyVisible = false,
int  tensorRep = 0,
int  forceNumComponents = 0,
int  componentMap[9] = nullptr 
)
pure virtual

◆ getModel()

GModel * PViewData::getModel ( int  step)
virtual

Reimplemented in PViewDataGModel.

Definition at line 136 of file PViewData.cpp.

Here is the call graph for this function:

◆ getName()

◆ getNode()

◆ getNumComponents()

◆ getNumEdges()

virtual int PViewData::getNumEdges ( int  step,
int  ent,
int  ele 
)
inlinevirtual

◆ getNumElements()

◆ getNumEntities()

◆ getNumHexahedra()

virtual int PViewData::getNumHexahedra ( int  step = -1)
inlinevirtual

◆ getNumLines()

virtual int PViewData::getNumLines ( int  step = -1)
inlinevirtual

Reimplemented in PViewDataGModel, and PViewDataList.

Definition at line 115 of file PViewData.h.

Referenced by initPView::_estimateNumLines(), adaptiveData::adaptiveData(), adaptiveElements< T >::addInView(), adaptiveElements< T >::addInViewForVTK(), and GetStatistics().

Here is the caller graph for this function:

◆ getNumNodes()

◆ getNumPoints()

virtual int PViewData::getNumPoints ( int  step = -1)
inlinevirtual

◆ getNumPolygons()

virtual int PViewData::getNumPolygons ( int  step = -1)
inlinevirtual

Reimplemented in PViewDataGModel, and PViewDataList.

Definition at line 118 of file PViewData.h.

Referenced by initPView::_estimateNumTriangles().

Here is the caller graph for this function:

◆ getNumPolyhedra()

virtual int PViewData::getNumPolyhedra ( int  step = -1)
inlinevirtual

Reimplemented in PViewDataGModel, and PViewDataList.

Definition at line 124 of file PViewData.h.

Referenced by initPView::_estimateNumTriangles().

Here is the caller graph for this function:

◆ getNumPrisms()

virtual int PViewData::getNumPrisms ( int  step = -1)
inlinevirtual

◆ getNumPyramids()

virtual int PViewData::getNumPyramids ( int  step = -1)
inlinevirtual

◆ getNumQuadrangles()

virtual int PViewData::getNumQuadrangles ( int  step = -1)
inlinevirtual

◆ getNumScalars()

virtual int PViewData::getNumScalars ( int  step = -1)
inlinevirtual

Reimplemented in PViewDataGModel, and PViewDataList.

Definition at line 111 of file PViewData.h.

Referenced by GMSH_CutParametricPlugin::execute(), GMSH_CutGridPlugin::GenerateView(), and GMSH_CutBoxPlugin::GenerateView().

Here is the caller graph for this function:

◆ getNumStrings2D()

virtual int PViewData::getNumStrings2D ( )
inlinevirtual

Reimplemented in PViewDataList.

Definition at line 186 of file PViewData.h.

Referenced by drawContext::drawText2d(), empty(), and GetStatistics().

Here is the caller graph for this function:

◆ getNumStrings3D()

virtual int PViewData::getNumStrings3D ( )
inlinevirtual

Reimplemented in PViewDataList.

Definition at line 187 of file PViewData.h.

Referenced by empty(), GetStatistics(), and drawPView::operator()().

Here is the caller graph for this function:

◆ getNumTensors()

virtual int PViewData::getNumTensors ( int  step = -1)
inlinevirtual

Reimplemented in PViewDataGModel, and PViewDataList.

Definition at line 113 of file PViewData.h.

Referenced by initPView::_estimateNumEllipses(), GMSH_CutParametricPlugin::execute(), GMSH_CutGridPlugin::GenerateView(), and GMSH_CutBoxPlugin::GenerateView().

Here is the caller graph for this function:

◆ getNumTetrahedra()

virtual int PViewData::getNumTetrahedra ( int  step = -1)
inlinevirtual

◆ getNumTimeSteps()

◆ getNumTriangles()

virtual int PViewData::getNumTriangles ( int  step = -1)
inlinevirtual

◆ getNumTrihedra()

virtual int PViewData::getNumTrihedra ( int  step = -1)
inlinevirtual

Reimplemented in PViewDataGModel, and PViewDataList.

Definition at line 123 of file PViewData.h.

Referenced by initPView::_estimateNumTriangles().

Here is the caller graph for this function:

◆ getNumValues()

virtual int PViewData::getNumValues ( int  step,
int  ent,
int  ele 
)
inlinevirtual

Reimplemented in PViewDataGModel, and PViewDataList.

Definition at line 156 of file PViewData.h.

Referenced by adaptiveElements< T >::addInView(), and adaptiveElements< T >::addInViewForVTK().

Here is the caller graph for this function:

◆ getNumVectors()

virtual int PViewData::getNumVectors ( int  step = -1)
inlinevirtual

Reimplemented in PViewDataGModel, and PViewDataList.

Definition at line 112 of file PViewData.h.

Referenced by initPView::_estimateNumVectors(), GMSH_CutParametricPlugin::execute(), GMSH_CutGridPlugin::GenerateView(), and GMSH_CutBoxPlugin::GenerateView().

Here is the caller graph for this function:

◆ getScalarValue()

void PViewData::getScalarValue ( int  step,
int  ent,
int  ele,
int  nod,
double &  val,
int  tensorRep = 0,
int  forceNumComponents = 0,
int  componentMap[9] = nullptr 
)

◆ getSizeInterpolationScheme()

int PViewData::getSizeInterpolationScheme ( )
static

Definition at line 226 of file PViewData.cpp.

◆ getString2D()

virtual void PViewData::getString2D ( int  i,
int  step,
std::string &  str,
double &  x,
double &  y,
double &  style 
)
inlinevirtual

Reimplemented in PViewDataList.

Definition at line 190 of file PViewData.h.

Referenced by drawContext::drawText2d().

Here is the caller graph for this function:

◆ getString3D()

virtual void PViewData::getString3D ( int  i,
int  step,
std::string &  str,
double &  x,
double &  y,
double &  z,
double &  style 
)
inlinevirtual

Reimplemented in PViewDataList.

Definition at line 194 of file PViewData.h.

Referenced by drawPView::operator()().

Here is the caller graph for this function:

◆ getTime()

◆ getType()

◆ getValue() [1/2]

◆ getValue() [2/2]

virtual void PViewData::getValue ( int  step,
int  ent,
int  ele,
int  nod,
int  comp,
double &  val 
)
inlinevirtual

Reimplemented in PViewDataGModel, and PViewDataList.

Definition at line 163 of file PViewData.h.

◆ hasFileName()

virtual bool PViewData::hasFileName ( const std::string &  val)
inlinevirtual

Definition at line 80 of file PViewData.h.

◆ hasModel()

virtual bool PViewData::hasModel ( GModel model,
int  step = -1 
)
inlinevirtual

Reimplemented in PViewDataGModel.

Definition at line 217 of file PViewData.h.

◆ hasMultipleMeshes()

◆ hasPartition()

virtual bool PViewData::hasPartition ( int  step,
int  part 
)
inlinevirtual

Reimplemented in PViewDataGModel.

Definition at line 215 of file PViewData.h.

◆ hasTimeStep()

◆ haveInterpolationMatrices()

bool PViewData::haveInterpolationMatrices ( int  type = 0)

◆ importLists()

void PViewData::importLists ( int  N[24],
std::vector< double > *  V[24] 
)
virtual

Reimplemented in PViewDataGModel, and PViewDataList.

Definition at line 277 of file PViewDataIO.cpp.

Here is the call graph for this function:

◆ initAdaptiveData()

void PViewData::initAdaptiveData ( int  step,
int  level,
double  tol 
)

Definition at line 37 of file PViewData.cpp.

Referenced by _addModelData(), PView::combine(), and PView::PView().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initAdaptiveDataLight()

void PViewData::initAdaptiveDataLight ( int  step,
int  level,
double  tol 
)

Definition at line 47 of file PViewData.cpp.

Referenced by saveAdaptedViewForVTK().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isListBased()

virtual bool PViewData::isListBased ( )
inlinevirtual

Reimplemented in PViewDataList.

Definition at line 285 of file PViewData.h.

◆ isNodeData()

virtual bool PViewData::isNodeData ( )
inlinevirtual

◆ isRemote()

virtual bool PViewData::isRemote ( )
inlinevirtual

Reimplemented in PViewDataRemote.

Definition at line 281 of file PViewData.h.

Referenced by PView::getData(), and initPView::operator()().

Here is the caller graph for this function:

◆ removeAllInterpolationSchemes()

void PViewData::removeAllInterpolationSchemes ( )
static

Definition at line 209 of file PViewData.cpp.

Referenced by DeleteAllModelsAndViews().

Here is the caller graph for this function:

◆ removeInterpolationScheme()

void PViewData::removeInterpolationScheme ( const std::string &  name)
static

Definition at line 199 of file PViewData.cpp.

Referenced by PView::readMSH().

Here is the caller graph for this function:

◆ reverseElement()

virtual void PViewData::reverseElement ( int  step,
int  ent,
int  ele 
)
inlinevirtual

Reimplemented in PViewDataGModel, and PViewDataList.

Definition at line 200 of file PViewData.h.

Referenced by GMSH_TransformPlugin::execute().

Here is the caller graph for this function:

◆ saveAdaptedViewForVTK()

void PViewData::saveAdaptedViewForVTK ( const std::string &  guifileName,
int  useDefaultName,
int  step,
int  level,
double  tol,
int  npart,
bool  isBinary 
)

Definition at line 61 of file PViewData.cpp.

Referenced by PView::writeAdapt().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ searchScalar()

bool PViewData::searchScalar ( double  x,
double  y,
double  z,
double *  values,
int  step = -1,
double *  size = nullptr,
int  qn = 0,
double *  qx = nullptr,
double *  qy = nullptr,
double *  qz = nullptr,
bool  grad = false,
int  dim = -1 
)

Definition at line 322 of file PViewData.cpp.

Referenced by PViewEvaluator::operator()(), and searchScalarClosest().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ searchScalarClosest()

bool PViewData::searchScalarClosest ( double  x,
double  y,
double  z,
double &  distance,
double *  values,
int  step = -1,
double *  size = nullptr,
int  qn = 0,
double *  qx = nullptr,
double *  qy = nullptr,
double *  qz = nullptr,
bool  grad = false,
int  dim = -1 
)

Definition at line 338 of file PViewData.cpp.

Here is the call graph for this function:

◆ searchTensor()

bool PViewData::searchTensor ( double  x,
double  y,
double  z,
double *  values,
int  step = -1,
double *  size = nullptr,
int  qn = 0,
double *  qx = nullptr,
double *  qy = nullptr,
double *  qz = nullptr,
bool  grad = false,
int  dim = -1 
)

Definition at line 402 of file PViewData.cpp.

Referenced by searchTensorClosest().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ searchTensorClosest()

bool PViewData::searchTensorClosest ( double  x,
double  y,
double  z,
double &  distance,
double *  values,
int  step = -1,
double *  size = nullptr,
int  qn = 0,
double *  qx = nullptr,
double *  qy = nullptr,
double *  qz = nullptr,
bool  grad = false,
int  dim = -1 
)

Definition at line 418 of file PViewData.cpp.

Here is the call graph for this function:

◆ searchVector()

bool PViewData::searchVector ( double  x,
double  y,
double  z,
double *  values,
int  step = -1,
double *  size = nullptr,
int  qn = 0,
double *  qx = nullptr,
double *  qy = nullptr,
double *  qz = nullptr,
bool  grad = false,
int  dim = -1 
)

Definition at line 362 of file PViewData.cpp.

Referenced by searchVectorClosest().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ searchVectorClosest()

bool PViewData::searchVectorClosest ( double  x,
double  y,
double  z,
double &  distance,
double *  values,
int  step = -1,
double *  size = nullptr,
int  qn = 0,
double *  qx = nullptr,
double *  qy = nullptr,
double *  qz = nullptr,
bool  grad = false,
int  dim = -1 
)

Definition at line 378 of file PViewData.cpp.

Here is the call graph for this function:

◆ sendToServer()

void PViewData::sendToServer ( const std::string &  name)
virtual

Reimplemented in PViewDataGModel.

Definition at line 287 of file PViewDataIO.cpp.

Referenced by PView::sendToServer().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setBoundingBox()

virtual void PViewData::setBoundingBox ( SBoundingBox3d box)
pure virtual

Implemented in PViewDataGModel, PViewDataList, and PViewDataRemote.

Referenced by GMSH_LongituteLatitudePlugin::execute().

Here is the caller graph for this function:

◆ setDirty()

virtual void PViewData::setDirty ( bool  val)
inlinevirtual

Definition at line 63 of file PViewData.h.

Referenced by adaptiveData::changeResolution(), PViewDataRemote::fillRemoteVertexArrays(), and PView::fillVertexArray().

Here is the caller graph for this function:

◆ setFileIndex()

virtual void PViewData::setFileIndex ( int  val)
inlinevirtual

Definition at line 87 of file PViewData.h.

Referenced by PView::readMSH(), and PView::readPOS().

Here is the caller graph for this function:

◆ setFileName()

◆ setInterpolationMatrices() [1/2]

void PViewData::setInterpolationMatrices ( int  type,
const fullMatrix< double > &  coefVal,
const fullMatrix< double > &  expVal 
)

Definition at line 154 of file PViewData.cpp.

Referenced by PViewDataGModel::finalize(), and PViewDataList::setOrder2().

Here is the caller graph for this function:

◆ setInterpolationMatrices() [2/2]

void PViewData::setInterpolationMatrices ( int  type,
const fullMatrix< double > &  coefVal,
const fullMatrix< double > &  expVal,
const fullMatrix< double > &  coefGeo,
const fullMatrix< double > &  expGeo 
)

Definition at line 163 of file PViewData.cpp.

◆ setInterpolationSchemeName()

void PViewData::setInterpolationSchemeName ( std::string  name)
inline

Definition at line 259 of file PViewData.h.

Referenced by PViewDataGModel::finalize().

Here is the caller graph for this function:

◆ setMax()

virtual void PViewData::setMax ( double  max)
pure virtual

◆ setMin()

virtual void PViewData::setMin ( double  min)
pure virtual

◆ setName()

◆ setNode()

void PViewData::setNode ( int  step,
int  ent,
int  ele,
int  nod,
double  x,
double  y,
double  z 
)
virtual

Reimplemented in PViewDataGModel, and PViewDataList.

Definition at line 124 of file PViewData.cpp.

Referenced by GMSH_LongituteLatitudePlugin::execute(), GMSH_SphericalRaisePlugin::execute(), GMSH_TransformPlugin::execute(), and GMSH_WarpPlugin::execute().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setValue()

void PViewData::setValue ( int  step,
int  ent,
int  ele,
int  nod,
int  comp,
double  val 
)
virtual

Reimplemented in PViewDataGModel, and PViewDataList.

Definition at line 130 of file PViewData.cpp.

Referenced by GMSH_LongituteLatitudePlugin::execute(), GMSH_NearestNeighborPlugin::execute(), GMSH_ModulusPhasePlugin::execute(), GMSH_ModifyComponentsPlugin::execute(), and fromVector().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setXY()

virtual void PViewData::setXY ( std::vector< double > &  x,
std::vector< double > &  y 
)
inlinevirtual

Reimplemented in PViewDataList.

Definition at line 272 of file PViewData.h.

Referenced by PView::PView().

Here is the caller graph for this function:

◆ setXYZV()

virtual void PViewData::setXYZV ( std::vector< double > &  x,
std::vector< double > &  y,
std::vector< double > &  z,
std::vector< double > &  v 
)
inlinevirtual

Reimplemented in PViewDataList.

Definition at line 275 of file PViewData.h.

Referenced by PView::PView().

Here is the caller graph for this function:

◆ skipElement()

◆ skipEntity()

virtual bool PViewData::skipEntity ( int  step,
int  ent 
)
inlinevirtual

◆ smooth()

void PViewData::smooth ( )
virtual

Reimplemented in PViewDataGModel, and PViewDataList.

Definition at line 231 of file PViewData.cpp.

Referenced by GMSH_SmoothPlugin::execute().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tagNode()

virtual void PViewData::tagNode ( int  step,
int  ent,
int  ele,
int  nod,
int  tag 
)
inlinevirtual

◆ toVector()

bool PViewData::toVector ( std::vector< std::vector< double > > &  vec)
virtual

Definition at line 217 of file PViewDataIO.cpp.

Referenced by sendToServer().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ useGaussPoints()

virtual bool PViewData::useGaussPoints ( )
inlinevirtual

Reimplemented in PViewDataGModel.

Definition at line 221 of file PViewData.h.

Referenced by addElementsInArrays().

Here is the caller graph for this function:

◆ writeMED()

bool PViewData::writeMED ( const std::string &  fileName)
virtual

Reimplemented in PViewDataGModel.

Definition at line 211 of file PViewDataIO.cpp.

Referenced by PView::write().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeMSH()

bool PViewData::writeMSH ( const std::string &  fileName,
double  version = 2.2,
bool  binary = false,
bool  saveMesh = true,
bool  multipleView = false,
int  partitionNum = -1,
bool  saveInterpolationMatrices = true,
bool  forceNodeData = false,
bool  forceElementData = false 
)
virtual

Reimplemented in PViewDataGModel, and PViewDataList.

Definition at line 202 of file PViewDataIO.cpp.

Referenced by frameSolver2d::exportFrameData(), PView::write(), and PViewDataList::writeMSH().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writePOS()

bool PViewData::writePOS ( const std::string &  fileName,
bool  binary = false,
bool  parsed = true,
bool  append = false 
)
virtual

Reimplemented in PViewDataList.

Definition at line 106 of file PViewDataIO.cpp.

Referenced by PView::write(), PViewDataList::writePOS(), and writePOS().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeSTL()

bool PViewData::writeSTL ( const std::string &  fileName)
virtual

Definition at line 15 of file PViewDataIO.cpp.

Referenced by PView::write().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeTXT()

bool PViewData::writeTXT ( const std::string &  fileName)
virtual

Definition at line 74 of file PViewDataIO.cpp.

Referenced by PView::write().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _adaptive

◆ _dirty

bool PViewData::_dirty
private

Definition at line 32 of file PViewData.h.

Referenced by finalize(), getDirty(), and setDirty().

◆ _fileIndex

int PViewData::_fileIndex
private

Definition at line 39 of file PViewData.h.

Referenced by getFileIndex(), and setFileIndex().

◆ _fileName

std::string PViewData::_fileName
private

Definition at line 36 of file PViewData.h.

Referenced by getFileName(), and setFileName().

◆ _fileNames

std::set<std::string> PViewData::_fileNames
private

Definition at line 37 of file PViewData.h.

Referenced by hasFileName(), and setFileName().

◆ _interpolation

◆ _interpolationSchemeName

std::string PViewData::_interpolationSchemeName
protected

Definition at line 55 of file PViewData.h.

Referenced by getInterpolationSchemeName(), and setInterpolationSchemeName().

◆ _interpolationSchemes

std::map< std::string, interpolationMatrices > PViewData::_interpolationSchemes
staticprotected

◆ _kdtree

SPoint3KDTree* PViewData::_kdtree
private

Definition at line 45 of file PViewData.h.

Referenced by findClosestNode(), and ~PViewData().

◆ _name

std::string PViewData::_name
private

Definition at line 34 of file PViewData.h.

Referenced by findClosestNode(), getName(), searchScalar(), searchTensor(), searchVector(), and setName().

◆ _octree

OctreePost* PViewData::_octree
private

Definition at line 41 of file PViewData.h.

Referenced by searchScalar(), searchTensor(), searchVector(), and ~PViewData().

◆ _pc

SPoint3Cloud PViewData::_pc
private

Definition at line 43 of file PViewData.h.

Referenced by findClosestNode().

◆ _pc2kdtree

SPoint3CloudAdaptor<SPoint3Cloud> PViewData::_pc2kdtree
private

Definition at line 44 of file PViewData.h.

Referenced by findClosestNode().


The documentation for this class was generated from the following files: