MCPcopy Create free account
hub / github.com/Kitware/VTK / vtkBiQuadraticTriangle

Method vtkBiQuadraticTriangle

Common/DataModel/vtkBiQuadraticTriangle.cxx:21–35  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Construct the line with two points.

Source from the content-addressed store, hash-verified

19//------------------------------------------------------------------------------
20// Construct the line with two points.
21vtkBiQuadraticTriangle::vtkBiQuadraticTriangle()
22{
23 this->Edge = vtkQuadraticEdge::New();
24 this->Face = vtkTriangle::New();
25 this->Scalars = vtkDoubleArray::New();
26 this->Scalars->SetNumberOfTuples(3);
27
28 this->Points->SetNumberOfPoints(7);
29 this->PointIds->SetNumberOfIds(7);
30 for (int i = 0; i < 7; i++)
31 {
32 this->Points->SetPoint(i, 0.0, 0.0, 0.0);
33 this->PointIds->SetId(i, 0);
34 }
35}
36
37//------------------------------------------------------------------------------
38vtkBiQuadraticTriangle::~vtkBiQuadraticTriangle()

Callers

nothing calls this directly

Calls 6

SetNumberOfIdsMethod · 0.80
NewFunction · 0.50
SetNumberOfTuplesMethod · 0.45
SetNumberOfPointsMethod · 0.45
SetPointMethod · 0.45
SetIdMethod · 0.45

Tested by

no test coverage detected