------------------------------------------------------------------------------ Description: Set the array of filtered props and its size. \pre positive_size: propArrayCount>=0 \pre valid_null_array: propArray!=0 || propArrayCount==0 \post is_set: GetPropArray()==propArray && GetPropArrayCount()==propArrayCount
| 101 | // \pre valid_null_array: propArray!=0 || propArrayCount==0 |
| 102 | // \post is_set: GetPropArray()==propArray && GetPropArrayCount()==propArrayCount |
| 103 | void vtkRenderState::SetPropArrayAndCount(vtkProp** propArray, int propArrayCount) |
| 104 | { |
| 105 | assert("pre: positive_size" && propArrayCount >= 0); |
| 106 | assert("pre: valid_null_array" && (propArray != nullptr || propArrayCount == 0)); |
| 107 | |
| 108 | this->PropArray = propArray; |
| 109 | this->PropArrayCount = propArrayCount; |
| 110 | |
| 111 | assert("post: is_set" && this->GetPropArray() == propArray && |
| 112 | this->GetPropArrayCount() == propArrayCount); |
| 113 | } |
| 114 | |
| 115 | //------------------------------------------------------------------------------ |
| 116 | // Description: |
no test coverage detected