gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include <PView.h>
Public Member Functions | |
PView (int tag=-1) | |
PView (PViewData *data, int tag=-1) | |
PView (PView *ref, bool copyOptions=true, int tag=-1) | |
PView (const std::string &xname, const std::string &yname, std::vector< double > &x, std::vector< double > &y) | |
PView (const std::string &name, std::vector< double > &x, std::vector< double > &y, std::vector< double > &z, std::vector< double > &v) | |
PView (const std::string &name, const std::string &type, GModel *model, std::map< int, std::vector< double > > &data, double time=0., int numComp=-1, int tag=-1) | |
void | addStep (GModel *model, const std::map< int, std::vector< double > > &data, double time=0., int numComp=-1) |
void | addStep (std::vector< double > &y) |
~PView () | |
void | deleteVertexArrays () |
PViewOptions * | getOptions () |
void | setOptions (PViewOptions *val=nullptr) |
PViewData * | getData (bool useAdaptiveIfAvailable=false) |
void | setData (PViewData *val) |
int | getTag () |
int | getIndex () |
void | setIndex (int val) |
bool & | getChanged () |
void | setChanged (bool val) |
int | getAliasOf () |
SPoint3 & | getEye () |
void | setEye (SPoint3 &p) |
double | getMemoryInMb () |
bool | write (const std::string &fileName, int format, bool append=false) |
void | sendToServer (const std::string &name) |
bool | writeAdapt (const std::string &fileName, int useDefaultName, bool isBinary, int adaptLev, double adaptErr, int npart, bool append=false) |
bool | fillVertexArrays () |
Static Public Member Functions | |
static int | getGlobalTag () |
static void | setGlobalTag (int tag) |
static void | combine (bool time, int how, bool remove, bool copyOptions) |
static PView * | getViewByName (const std::string &name, int timeStep=-1, int partition=-1, const std::string &fileName="") |
static PView * | getViewByFileName (const std::string &fileName, int timeStep=-1, int partition=-1) |
static PView * | getViewByTag (int tag, int timeStep=-1, int partition=-1) |
static void | sortByName () |
static bool | readPOS (const std::string &fileName, int fileIndex=-1) |
static bool | readMSH (const std::string &fileName, int fileIndex=-1, int partitionToRead=-1) |
static bool | readCGNS (const std::vector< std::vector< MVertex * > > &vertPerZone, const std::vector< std::vector< MElement * > > &eltPerZone, const std::string &fileName) |
static bool | readMED (const std::string &fileName, int fileIndex=-1) |
static bool | readPCH (const std::string &fileName, int fileIndex=-1) |
static bool | writeX3D (const std::string &fileName) |
static void | fillVertexArray (onelab::localNetworkClient *remote, int length, const char *data, int swap) |
Public Attributes | |
VertexArray * | va_points |
VertexArray * | va_lines |
VertexArray * | va_triangles |
VertexArray * | va_vectors |
VertexArray * | va_ellipses |
smooth_normals * | normals |
Static Public Attributes | |
static std::vector< PView * > | list |
Private Member Functions | |
void | _init (int tag=-1) |
Private Attributes | |
int | _tag |
int | _index |
bool | _changed |
int | _aliasOf |
SPoint3 | _eye |
PViewOptions * | _options |
PViewData * | _data |
Static Private Attributes | |
static int | _globalTag = 1 |
PView::PView | ( | int | tag = -1 | ) |
PView::PView | ( | PViewData * | data, |
int | tag = -1 |
||
) |
PView::PView | ( | PView * | ref, |
bool | copyOptions = true , |
||
int | tag = -1 |
||
) |
PView::PView | ( | const std::string & | xname, |
const std::string & | yname, | ||
std::vector< double > & | x, | ||
std::vector< double > & | y | ||
) |
PView::PView | ( | const std::string & | name, |
std::vector< double > & | x, | ||
std::vector< double > & | y, | ||
std::vector< double > & | z, | ||
std::vector< double > & | v | ||
) |
PView::PView | ( | const std::string & | name, |
const std::string & | type, | ||
GModel * | model, | ||
std::map< int, std::vector< double > > & | data, | ||
double | time = 0. , |
||
int | numComp = -1 , |
||
int | tag = -1 |
||
) |
PView::~PView | ( | ) |
|
private |
void PView::addStep | ( | GModel * | model, |
const std::map< int, std::vector< double > > & | data, | ||
double | time = 0. , |
||
int | numComp = -1 |
||
) |
Definition at line 168 of file PView.cpp.
Referenced by GMSH_FieldFromAmplitudePhasePlugin::execute().
void PView::addStep | ( | std::vector< double > & | y | ) |
|
static |
Definition at line 249 of file PView.cpp.
Referenced by GmshFLTK().
void PView::deleteVertexArrays | ( | ) |
Definition at line 210 of file PView.cpp.
Referenced by initPView::operator()(), and ~PView().
|
static |
bool PView::fillVertexArrays | ( | ) |
Definition at line 1568 of file PViewVertexArrays.cpp.
|
inline |
|
inline |
Definition at line 96 of file PView.h.
Referenced by initPView::operator()().
PViewData * PView::getData | ( | bool | useAdaptiveIfAvailable = false | ) |
Definition at line 233 of file PView.cpp.
Referenced by _addModelData(), initPView::_estimateNumEllipses(), initPView::_estimateNumLines(), initPView::_estimateNumPoints(), initPView::_estimateNumTriangles(), initPView::_estimateNumVectors(), addElementsInArrays(), addVectorElement(), combine(), drawGlyphs(), drawGraph(), drawGraphAxes(), drawScale(), drawScaleLabel(), drawContext::drawScales(), GMSH_LongituteLatitudePlugin::execute(), GMSH_MinMaxPlugin::execute(), GMSH_SmoothPlugin::execute(), GMSH_SphericalRaisePlugin::execute(), GMSH_ModulusPhasePlugin::execute(), GMSH_NearestNeighborPlugin::execute(), GMSH_HarmonicToTimePlugin::execute(), GMSH_TransformPlugin::execute(), GMSH_ProbePlugin::execute(), GMSH_ModifyComponentsPlugin::execute(), GMSH_Scal2VecPlugin::execute(), GMSH_FieldFromAmplitudePhasePlugin::execute(), GMSH_Scal2TensPlugin::execute(), GMSH_LevelsetPlugin::execute(), GMSH_AnnotatePlugin::execute(), GMSH_NearToFarFieldPlugin::execute(), GMSH_PostPlugin::executeRemote(), frameSolver2d::exportFrameData(), fillVertexArray(), GMSH_PostPlugin::getDataList(), getExternalValues(), getGraphData(), getLineNormal(), getMemoryInMb(), GMSH_PostPlugin::getPossiblyAdaptiveData(), getViewByFileName(), getViewByName(), getViewByTag(), gmshViewGetModelData(), OctreePost::OctreePost(), PViewEvaluator::operator()(), PViewLessThanName::operator()(), drawPView::operator()(), drawPViewBoundingBox::operator()(), initPView::operator()(), PView(), readMSH(), GModel::readPLY(), writeX3D(), writeX3DScale(), and writeX3DScaleLabel().
|
inline |
Definition at line 103 of file PView.h.
Referenced by eyeChanged(), and drawPView::operator()().
|
inline |
Definition at line 92 of file PView.h.
Referenced by GMSH_SkinPlugin::execute(), GMSH_ExtractElementsPlugin::execute(), GMSH_WarpPlugin::execute(), GMSH_MathEvalPlugin::execute(), GMSH_ModifyComponentsPlugin::execute(), GMSH_StreamLinesPlugin::execute(), GMSH_ParticlesPlugin::execute(), GMSH_LevelsetPlugin::execute(), GMSH_PostPlugin::getView(), and drawPView::operator()().
double PView::getMemoryInMb | ( | ) |
|
inline |
Definition at line 81 of file PView.h.
Referenced by _addModelData(), initPView::_estimateIfClipped(), initPView::_estimateNumEllipses(), initPView::_estimateNumLines(), initPView::_estimateNumPoints(), initPView::_estimateNumTriangles(), initPView::_estimateNumVectors(), addElementsInArrays(), addGraphPoint(), addOutlineElement(), addOutlineQuadrangle(), addOutlineTriangle(), addScalarHexahedron(), addScalarLine(), addScalarPoint(), addScalarPolygon(), addScalarPolyhedron(), addScalarPrism(), addScalarPyramid(), addScalarQuadrangle(), addScalarTetrahedron(), addScalarTriangle(), addTensorElement(), addVectorElement(), applyGeneralRaise(), changeCoordinates(), combine(), drawArrays(), drawEllipseArray(), drawGlyphs(), drawGraph(), drawGraphAxes(), drawGraphCurves(), drawNormalVectorGlyphs(), drawNumberGlyphs(), drawScale(), drawScaleBar(), drawScaleLabel(), drawContext::drawScales(), drawScaleValues(), drawTangentVectorGlyphs(), drawVectorArray(), GMSH_IntegratePlugin::execute(), GMSH_MinMaxPlugin::execute(), GMSH_MeshVolumePlugin::execute(), GMSH_ParticlesPlugin::execute(), GMSH_StreamLinesPlugin::execute(), GMSH_LevelsetPlugin::execute(), GMSH_BoundaryAnglesPlugin::execute(), fillVertexArray(), getExternalValues(), getGraphData(), getLineNormal(), getPointNormal(), GMSH_PostPlugin::getPossiblyAdaptiveData(), drawPView::operator()(), drawPViewBoundingBox::operator()(), initPView::operator()(), PView(), writeX3D(), writeX3DScale(), writeX3DScaleBar(), writeX3DScaleLabel(), and writeX3DScaleValues().
|
inline |
Definition at line 89 of file PView.h.
Referenced by _init(), GMSH_PostPlugin::executeRemote(), getViewByTag(), PView(), GMSH_PostPlugin::run(), and ~PView().
|
static |
|
static |
Definition at line 347 of file PView.cpp.
Referenced by quadqsCleanup(), and readMSH().
|
static |
Definition at line 376 of file PView.cpp.
Referenced by _addModelData(), fillVertexArray(), gmshViewGetModelData(), and PView().
|
static |
Definition at line 179 of file PViewIO_CGNS.cpp.
Referenced by MergeFile().
|
static |
Definition at line 357 of file PViewIO.cpp.
Referenced by MergeFile().
|
static |
Definition at line 84 of file PViewIO.cpp.
Referenced by MergeFile().
|
static |
Definition at line 366 of file PViewIO.cpp.
Referenced by MergeFile().
|
static |
Definition at line 19 of file PViewIO.cpp.
Referenced by MergeFile().
void PView::sendToServer | ( | const std::string & | name | ) |
void PView::setChanged | ( | bool | val | ) |
Definition at line 241 of file PView.cpp.
Referenced by _addModelData(), GMSH_LongituteLatitudePlugin::execute(), GMSH_SmoothPlugin::execute(), GMSH_SphericalRaisePlugin::execute(), GMSH_WarpPlugin::execute(), GMSH_NearestNeighborPlugin::execute(), GMSH_RemovePlugin::execute(), GMSH_MakeSimplexPlugin::execute(), GMSH_ModulusPhasePlugin::execute(), GMSH_TransformPlugin::execute(), GMSH_ModifyComponentsPlugin::execute(), GMSH_LevelsetPlugin::execute(), fillVertexArray(), initPView::operator()(), and Field::putOnNewView().
|
inline |
Definition at line 86 of file PView.h.
Referenced by _addModelData().
|
inline |
Definition at line 104 of file PView.h.
Referenced by eyeChanged().
|
static |
Definition at line 208 of file PView.cpp.
Referenced by DeleteAllModelsAndViews().
|
inline |
Definition at line 93 of file PView.h.
Referenced by _init(), sortByName(), and ~PView().
void PView::setOptions | ( | PViewOptions * | val = nullptr | ) |
|
static |
bool PView::write | ( | const std::string & | fileName, |
int | format, | ||
bool | append = false |
||
) |
Definition at line 378 of file PViewIO.cpp.
Referenced by GMSH_BoundaryAnglesPlugin::execute().
bool PView::writeAdapt | ( | const std::string & | fileName, |
int | useDefaultName, | ||
bool | isBinary, | ||
int | adaptLev, | ||
double | adaptErr, | ||
int | npart, | ||
bool | append = false |
||
) |
|
static |
Definition at line 72 of file PViewX3D.cpp.
Referenced by write().
|
private |
|
private |
Definition at line 35 of file PView.h.
Referenced by _init(), getChanged(), and setChanged().
|
private |
Definition at line 43 of file PView.h.
Referenced by addStep(), getData(), PView(), sendToServer(), setData(), write(), writeAdapt(), and ~PView().
|
private |
|
staticprivate |
Definition at line 29 of file PView.h.
Referenced by _init(), getGlobalTag(), and setGlobalTag().
|
private |
Definition at line 33 of file PView.h.
Referenced by getIndex(), sendToServer(), setIndex(), and ~PView().
|
private |
Definition at line 41 of file PView.h.
Referenced by getOptions(), PView(), setOptions(), writeAdapt(), and ~PView().
|
private |
|
static |
Definition at line 112 of file PView.h.
Referenced by _init(), addExtrudeNormals(), assemblePostAxis(), GMSH_IsosurfacePlugin::callbackValue(), combine(), DeleteAllModelsAndViews(), GMSH_ProbePlugin::draw(), GMSH_CutPlanePlugin::draw(), drawContext::drawGraph2d(), drawContext::drawMesh(), drawContext::drawPost(), drawScaleLabel(), drawContext::drawScales(), drawContext::drawText2d(), GMSH_ModifyComponentsPlugin::execute(), GMSH_LevelsetPlugin::execute(), GMSH_PostPlugin::executeRemote(), GetColorTable(), getExternalValues(), GetMeshOption(), GetStatistics(), GMSH_PostPlugin::getView(), getViewByFileName(), getViewByName(), getViewByTag(), GmshBatch(), GmshFLTK(), MergeFile(), MergePostProcessingFile(), needPolygonOffset(), opt_general_color_scheme(), opt_post_nb_views(), opt_view_name(), PrintColorTable(), PrintOptions(), ReInitOptions(), GMSH_CutMeshPlugin::run(), drawContext::select(), SetBoundingBox(), sortByName(), writeX3D(), writeX3DScaleLabel(), and ~PView().
smooth_normals* PView::normals |
Definition at line 166 of file PView.h.
Referenced by _init(), addOutlineQuadrangle(), addOutlineTriangle(), addScalarTetrahedron(), addScalarTriangle(), initPView::operator()(), and ~PView().
VertexArray * PView::va_ellipses |
Definition at line 156 of file PView.h.
Referenced by _init(), addTensorElement(), deleteVertexArrays(), fillVertexArray(), getMemoryInMb(), drawPView::operator()(), and initPView::operator()().
VertexArray * PView::va_lines |
Definition at line 156 of file PView.h.
Referenced by _init(), addOutlineLine(), addOutlineQuadrangle(), addOutlineTriangle(), addScalarLine(), addScalarTriangle(), addVectorElement(), deleteVertexArrays(), fillVertexArray(), getMemoryInMb(), drawPView::operator()(), and initPView::operator()().
VertexArray* PView::va_points |
Definition at line 156 of file PView.h.
Referenced by _init(), addOutlinePoint(), addScalarLine(), addScalarPoint(), deleteVertexArrays(), fillVertexArray(), getMemoryInMb(), drawPView::operator()(), and initPView::operator()().
VertexArray * PView::va_triangles |
Definition at line 156 of file PView.h.
Referenced by _init(), addScalarTetrahedron(), addScalarTriangle(), addTriangle(), deleteVertexArrays(), fillVertexArray(), getMemoryInMb(), drawPView::operator()(), and initPView::operator()().
VertexArray * PView::va_vectors |
Definition at line 156 of file PView.h.
Referenced by _init(), addVectorElement(), deleteVertexArrays(), fillVertexArray(), getMemoryInMb(), drawPView::operator()(), and initPView::operator()().