| gmsh-TingyuanDoc
    0.1
    An Open-Source Timing-driven Analytical Mixed-size FPGA Placer | 
 
 
 
Go to the documentation of this file.
   33   return "Plugin(Transform) transforms the homogeneous " 
   34          "node coordinates (x,y,z,1) of the elements in " 
   35          "the view `View' by the matrix\n\n" 
   36          "[`A11' `A12' `A13' `Tx']\n" 
   37          "[`A21' `A22' `A23' `Ty']\n" 
   38          "[`A31' `A32' `A33' `Tz'].\n\n" 
   39          "If `SwapOrientation' is set, the orientation of the " 
   40          "elements is reversed.\n\n" 
   41          "If `View' < 0, the plugin is run on the current view.\n\n" 
   42          "Plugin(Transform) is executed in-place.";
 
   88           for(
int nod = 0; nod < data1->
getNumNodes(step, ent, ele); nod++)
 
   89             data1->
tagNode(step, ent, ele, nod, 0);
 
  100         for(
int nod = 0; nod < data1->
getNumNodes(step, ent, ele); nod++) {
 
  102           int tag = data1->
getNode(step, ent, ele, nod, x, y, 
z);
 
  105           x2 = mat[0][0] * x + mat[0][1] * y + mat[0][2] * 
z + mat[0][3];
 
  106           y2 = mat[1][0] * x + mat[1][1] * y + mat[1][2] * 
z + mat[1][3];
 
  107           z2 = mat[2][0] * x + mat[2][1] * y + mat[2][2] * 
z + mat[2][3];
 
  108           data1->
setNode(step, ent, ele, nod, x2, y2, z2);
 
  
 
virtual bool skipElement(int step, int ent, int ele, bool checkVisibility=false, int samplingRate=1)
virtual int getNumTimeSteps()=0
virtual bool isNodeData()
virtual int getNode(int step, int ent, int ele, int nod, double &x, double &y, double &z)
virtual void reverseElement(int step, int ent, int ele)
virtual void setNode(int step, int ent, int ele, int nod, double x, double y, double z)
virtual int getNumEntities(int step=-1)
void setChanged(bool val)
virtual void tagNode(int step, int ent, int ele, int nod, int tag)
void swap(double &a, double &b)
PViewData * getData(bool useAdaptiveIfAvailable=false)
virtual int getNumNodes(int step, int ent, int ele)
virtual PView * getView(int index, PView *view)
virtual int getNumElements(int step=-1, int ent=-1)
virtual bool finalize(bool computeMinMax=true, const std::string &interpolationScheme="")