------------------------------------------------------------------------------
| 137 | |
| 138 | //------------------------------------------------------------------------------ |
| 139 | void vtkContextActor::SetForceDevice(vtkContextDevice2D* dev) |
| 140 | { |
| 141 | if (this->ForceDevice != dev) |
| 142 | { |
| 143 | if (this->ForceDevice) |
| 144 | { |
| 145 | this->ForceDevice->UnRegister(this); |
| 146 | } |
| 147 | |
| 148 | this->ForceDevice = dev; |
| 149 | |
| 150 | if (this->ForceDevice) |
| 151 | { |
| 152 | this->ForceDevice->Register(this); |
| 153 | } |
| 154 | |
| 155 | this->Modified(); |
| 156 | |
| 157 | // Mark the class as needed reinitializion: |
| 158 | this->Initialized = false; |
| 159 | } |
| 160 | } |
| 161 | |
| 162 | //------------------------------------------------------------------------------ |
| 163 | void vtkContextActor::ReleaseGraphicsResources(vtkWindow*) {} |
no test coverage detected