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

Method vtkImageData

Common/DataModel/vtkImageData.cxx:29–44  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

27
28//------------------------------------------------------------------------------
29vtkImageData::vtkImageData()
30{
31 for (int idx = 0; idx < 3; ++idx)
32 {
33 this->Increments[idx] = 0;
34 this->Origin[idx] = 0.0;
35 this->Spacing[idx] = 1.0;
36 }
37
38 this->DirectionMatrix = vtkMatrix3x3::New();
39 this->DirectionMatrixIsIdentity = true;
40 this->IndexToPhysicalMatrix = vtkMatrix4x4::New();
41 this->PhysicalToIndexMatrix = vtkMatrix4x4::New();
42 this->DirectionMatrix->Identity();
43 this->ComputeTransforms();
44}
45
46//------------------------------------------------------------------------------
47vtkImageData::~vtkImageData()

Callers 10

testMethod · 0.80
testMethod · 0.80
testMethod · 0.80
render_datasetFunction · 0.80
create_image_dataFunction · 0.80
testProbeMethod · 0.80
TestPackLabels.pyFile · 0.80

Calls 3

ComputeTransformsMethod · 0.95
NewFunction · 0.50
IdentityMethod · 0.45

Tested by 4

testMethod · 0.64
testMethod · 0.64
testMethod · 0.64
testProbeMethod · 0.64