MorphoGraphX
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
mgx::ClipRegion Class Reference

Class to handle rotatable pair of clipping planes. More...

#include <ClipRegion.hpp>

Public Member Functions

void setClip (Clip *c)
 
void readParms (util::Parms &parms, QString section)
 Read clipping plane parameters.
 
void writeParms (QTextStream &pout, QString section)
 write parms to file
 
void disable ()
 Draw (use) clipping place (ax + by + cz + d = 0)
 
void drawClip ()
 Draw (use) clipping place (ax + by + cz + d = 0)
 
void drawGrid (float width)
 Draw (use) clipping place (ax + by + cz + d = 0)
 

Public Attributes

Clipclip
 
GLenum clip0
 OpenGL identifier for the first clipping plane.
 
GLenum clip1
 OpenGL identifier for the second clipping plane.
 
Colors::ColorType GridColor
 Color used to draw the grid.
 

Detailed Description

Class to handle rotatable pair of clipping planes.


The documentation for this class was generated from the following file: