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

Method SetResolution

Filters/Sources/vtkPlaneSource.cxx:52–64  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Set the number of x-y subdivisions in the plane.

Source from the content-addressed store, hash-verified

50//------------------------------------------------------------------------------
51// Set the number of x-y subdivisions in the plane.
52void vtkPlaneSource::SetResolution(int xR, int yR)
53{
54 if (xR != this->XResolution || yR != this->YResolution)
55 {
56 this->XResolution = xR;
57 this->YResolution = yR;
58
59 this->XResolution = (this->XResolution > 0 ? this->XResolution : 1);
60 this->YResolution = (this->YResolution > 0 ? this->YResolution : 1);
61
62 this->Modified();
63 }
64}
65
66//------------------------------------------------------------------------------
67void vtkPlaneSource::GetAxis1(double a1[3])

Callers 15

testEncodingsMethod · 0.45
MakeInputDataSetFunction · 0.45
android_mainFunction · 0.45
initializeVTKMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
setConeResolutionFunction · 0.45
RunFunction · 0.45
DisplayGraphFunction · 0.45

Calls 1

ModifiedMethod · 0.45

Tested by 15

testEncodingsMethod · 0.36
MakeInputDataSetFunction · 0.36
RunFunction · 0.36
createSourceMethod · 0.36
TestStaticCellLocatorFunction · 0.36
TestPolyhedron1Function · 0.36
BuildRendererFunction · 0.36
TestGlyph3DMapperCullingFunction · 0.36
TestGlyph3DMapperEdgesFunction · 0.36