Ignore:
Timestamp:
Dec 17, 2013, 12:26:57 AM (11 years ago)
Author:
ldelgass
Message:

Fix top/right clip planes in XZ image camera mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/vtkvis/Renderer.cpp

    r4073 r4079  
    31733173        _cameraClipPlanes[1]->SetNormal(1, 0, 0);
    31743174        // top
    3175         _cameraClipPlanes[2]->SetOrigin(0, 0, _imgWorldOrigin[1] + _imgWorldDims[1]);
     3175        _cameraClipPlanes[2]->SetOrigin(0, 0, _imgWorldOrigin[1] + _imgWindowWorldDims[1]);
    31763176        _cameraClipPlanes[2]->SetNormal(0, 0, -1);
    31773177        // right
    3178         _cameraClipPlanes[3]->SetOrigin(_imgWorldOrigin[0] + _imgWorldDims[0], 0, 0);
     3178        _cameraClipPlanes[3]->SetOrigin(_imgWorldOrigin[0] + _imgWindowWorldDims[0], 0, 0);
    31793179        _cameraClipPlanes[3]->SetNormal(-1, 0, 0);
    31803180
Note: See TracChangeset for help on using the changeset viewer.