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

Method vtkCollisionDetectionFilter

Filters/Modeling/vtkCollisionDetectionFilter.cxx:39–59  ·  view source on GitHub ↗

Constructs with initial 0 values.

Source from the content-addressed store, hash-verified

37
38// Constructs with initial 0 values.
39vtkCollisionDetectionFilter::vtkCollisionDetectionFilter()
40{
41 // Ask the superclass to set the number of connections.
42 this->SetNumberOfInputPorts(2);
43 this->SetNumberOfInputConnections(0, 1);
44 this->SetNumberOfInputConnections(1, 1);
45 this->SetNumberOfOutputPorts(3);
46 this->Transform[0] = nullptr;
47 this->Transform[1] = nullptr;
48 this->Matrix[0] = nullptr;
49 this->Matrix[1] = nullptr;
50 this->NumberOfBoxTests = 0;
51 this->BoxTolerance = 0.0;
52 this->CellTolerance = 0.0;
53 this->NumberOfCellsPerNode = 2;
54 this->Tree0 = vtkOBBTree::New();
55 this->Tree1 = vtkOBBTree::New();
56 this->GenerateScalars = 0;
57 this->CollisionMode = VTK_ALL_CONTACTS;
58 this->Opacity = 1.0;
59}
60
61// Destroy any allocated memory.
62vtkCollisionDetectionFilter::~vtkCollisionDetectionFilter()

Callers

nothing calls this directly

Calls 4

NewFunction · 0.50
SetNumberOfInputPortsMethod · 0.45

Tested by

no test coverage detected