Constructs with initial 0 values.
| 37 | |
| 38 | // Constructs with initial 0 values. |
| 39 | vtkCollisionDetectionFilter::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. |
| 62 | vtkCollisionDetectionFilter::~vtkCollisionDetectionFilter() |
nothing calls this directly
no test coverage detected