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

Method SetProjectionAxes

Imaging/Sources/vtkImageMandelbrotSource.cxx:119–137  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

117
118//------------------------------------------------------------------------------
119void vtkImageMandelbrotSource::SetProjectionAxes(int x, int y, int z)
120{
121 double saveSize[4];
122
123 if (this->ProjectionAxes[0] == x && this->ProjectionAxes[1] == y && this->ProjectionAxes[2] == z)
124 {
125 return;
126 }
127
128 this->Modified();
129 this->GetSizeCX(saveSize);
130 this->ProjectionAxes[0] = x;
131 this->ProjectionAxes[1] = y;
132 this->ProjectionAxes[2] = z;
133 if (this->ConstantSize)
134 {
135 this->SetSizeCX(saveSize[0], saveSize[1], saveSize[2], saveSize[3]);
136 }
137}
138
139//------------------------------------------------------------------------------
140void vtkImageMandelbrotSource::SetWholeExtent(

Callers 6

TestOggTheoraWriterFunction · 0.80
TestFFMPEGWriterFunction · 0.80
TestMP4WriterFunction · 0.80
TestAVIWriterFunction · 0.80
SetProjectionAxesFunction · 0.80

Calls 3

GetSizeCXMethod · 0.95
SetSizeCXMethod · 0.95
ModifiedMethod · 0.45

Tested by 4

TestOggTheoraWriterFunction · 0.64
TestFFMPEGWriterFunction · 0.64
TestMP4WriterFunction · 0.64
TestAVIWriterFunction · 0.64