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

Method SetNormal

Common/DataModel/vtkPlane.cxx:89–99  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

87
88//------------------------------------------------------------------------------
89void vtkPlane::SetNormal(double x, double y, double z)
90{
91 if ((this->Normal[0] != x) || (this->Normal[1] != y) || (this->Normal[2] != z))
92 {
93 this->Normal[0] = x;
94 this->Normal[1] = y;
95 this->Normal[2] = z;
96 this->Modified();
97 this->InternalUpdates();
98 }
99}
100
101//------------------------------------------------------------------------------
102void vtkPlane::SetNormal(const double normal[3])

Callers 15

DeepCopyMethod · 0.95
CalculateTransformsMethod · 0.45
TestPlaneFunction · 0.45
TestVTKMSlice.pyFile · 0.45
TestVTKMAbortFunction · 0.45
TestVTKMWarpScalarFunction · 0.45
TestStructuredFunction · 0.45
TestUnstructuredFunction · 0.45
ResetViewsMethod · 0.45
mainFunction · 0.45
UpdateClipPlaneNormalMethod · 0.45
TestAbortExecuteFunction · 0.45

Calls 2

InternalUpdatesMethod · 0.95
ModifiedMethod · 0.45

Tested by 15

TestPlaneFunction · 0.36
TestVTKMAbortFunction · 0.36
TestVTKMWarpScalarFunction · 0.36
TestStructuredFunction · 0.36
TestUnstructuredFunction · 0.36
TestAbortExecuteFunction · 0.36
runPipelineFunction · 0.36
testCutterTrianglesMethod · 0.36
testCutterNoTrianglesMethod · 0.36
TestPlaneFunction · 0.36
TestPolyhedron2Function · 0.36