View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015373VTK(No Category)public2015-03-11 23:242016-08-12 09:55
ReporterJustin Hallet 
Assigned ToT.J. Corona 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version6.0.0 
Target VersionFixed in Version 
Summary0015373: vtkOpenGLGlyph3DMapper does not enable/disable clipping planes
DescriptionChange to vtkOpenGLGlyph3DMapper::Render, to correct enable/disable clipping planes -

  if (!immediateMode)
    {
    this->TimeToDraw = 0.0;
    this->Timer->StartTimer();

    // ADSK, JNH, turn on clipping planes
    int numClipPlanes = this->GetNumberOfClippingPlanes();
    if (numClipPlanes > 6)
      {
      vtkErrorMacro(<< "OpenGL has a limit of 6 clipping planes");
      numClipPlanes = 6;
      }
    
    for (int i = 0; i < numClipPlanes; i++)
      {
      double planeEquation[4];
      this->GetClippingPlaneInDataCoords(actor->GetMatrix(), i, planeEquation);
      GLenum clipPlaneId = static_cast<GLenum>(GL_CLIP_PLANE0 + i);
      glEnable(clipPlaneId);
      glClipPlane(clipPlaneId, planeEquation);
      }

    glCallList(this->DisplayListId);

    // ADSK, JNH, turn off clipping planes
    for (int c = 0; c < numClipPlanes; c++)
      {
      GLenum clipPlaneId = static_cast<GLenum>(GL_CLIP_PLANE0 + c);
      glDisable(clipPlaneId);
      }

    this->Timer->StopTimer();
    this->TimeToDraw += this->Timer->GetElapsedTime();
    }
TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0037372)
Kitware Robot (administrator)
2016-08-12 09:55

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2015-03-11 23:24 Justin Hallet New Issue
2015-12-03 17:36 T.J. Corona Assigned To => T.J. Corona
2016-08-12 09:55 Kitware Robot Note Added: 0037372
2016-08-12 09:55 Kitware Robot Status backlog => closed
2016-08-12 09:55 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team