#include <Clip.hpp>
Definition at line 20 of file Clip.hpp.
◆ Clip()
| mgx::Clip::Clip |
( |
int |
id, |
|
|
QObject * |
parent = 0 |
|
) |
| |
◆ changed()
| bool mgx::Clip::changed |
( |
| ) |
const |
|
inline |
◆ clipNo()
| int mgx::Clip::clipNo |
( |
| ) |
const |
|
inline |
◆ computeBasis()
| void mgx::Clip::computeBasis |
( |
| ) |
|
|
protected |
◆ disable()
| void mgx::Clip::disable |
( |
| ) |
|
|
inline |
◆ enable()
| void mgx::Clip::enable |
( |
| ) |
|
|
inline |
◆ enabled()
| bool mgx::Clip::enabled |
( |
| ) |
const |
|
inline |
◆ frame() [1/2]
◆ frame() [2/2]
◆ grid()
| bool mgx::Clip::grid |
( |
| ) |
const |
|
inline |
Returns true if the grid is sto be shown, false otherwise.
Definition at line 66 of file Clip.hpp.
◆ gridSize()
| float mgx::Clip::gridSize |
( |
| ) |
const |
|
inline |
◆ gridSquares()
| uint mgx::Clip::gridSquares |
( |
| ) |
const |
|
inline |
◆ hasChanged()
| void mgx::Clip::hasChanged |
( |
| ) |
|
|
inline |
Call this if you change the manipulated frame.
Definition at line 137 of file Clip.hpp.
◆ hideGrid()
| void mgx::Clip::hideGrid |
( |
| ) |
|
|
inline |
◆ isClipped()
| bool mgx::Clip::isClipped |
( |
const Point3f & |
p | ) |
|
◆ normal()
| const Point3f& mgx::Clip::normal |
( |
| ) |
const |
|
inline |
◆ normalFormNeg()
| Point4f mgx::Clip::normalFormNeg |
( |
| ) |
const |
Return the description of the clipping plane as a 4d point, as used by OpenGL This one returns the negative plane (i.e.
the one with negative normal)
◆ normalFormPos()
| Point4f mgx::Clip::normalFormPos |
( |
| ) |
const |
Return the description of the clipping plane as a 4d point, as used by OpenGL This one returns the positive plane (i.e.
the one with positive normal)
◆ resetChanges()
| void mgx::Clip::resetChanges |
( |
| ) |
|
|
inline |
◆ setGridSize()
| void mgx::Clip::setGridSize |
( |
float |
s | ) |
|
|
inline |
◆ setGridSquares()
| void mgx::Clip::setGridSquares |
( |
uint |
n | ) |
|
|
inline |
◆ setNormal()
| void mgx::Clip::setNormal |
( |
const Point3f & |
n | ) |
|
|
inline |
◆ setWidth()
| void mgx::Clip::setWidth |
( |
float |
f | ) |
|
|
inline |
◆ showGrid()
| void mgx::Clip::showGrid |
( |
| ) |
|
|
inline |
◆ width()
| float mgx::Clip::width |
( |
| ) |
const |
|
inline |
◆ xb()
| const Point3f& mgx::Clip::xb |
( |
| ) |
const |
|
inline |
◆ yb()
| const Point3f& mgx::Clip::yb |
( |
| ) |
const |
|
inline |
◆ zb()
| const Point3f& mgx::Clip::zb |
( |
| ) |
const |
|
inline |
◆ _changed
If true, it changed and need update in OpenGL.
Definition at line 173 of file Clip.hpp.
◆ _clipNo
Id of the clipping region (0, 1 or 2)
Definition at line 172 of file Clip.hpp.
◆ _enable
If true, these planes are used to clipping.
Definition at line 163 of file Clip.hpp.
◆ _frame
◆ _gridSize
| float mgx::Clip::_gridSize |
|
protected |
Size of the grid (i.e. in the clipping plane)
Definition at line 166 of file Clip.hpp.
◆ _gridSquares
| uint mgx::Clip::_gridSquares |
|
protected |
Number of squares drawn for the grid.
Definition at line 171 of file Clip.hpp.
◆ _normal
Normal to the grid.
Definition at line 167 of file Clip.hpp.
◆ _showGrid
| bool mgx::Clip::_showGrid |
|
protected |
Show the grid corresponding to the clipping plane.
Definition at line 164 of file Clip.hpp.
◆ _width
Width of the region.
Definition at line 165 of file Clip.hpp.
◆ _xb
X-axis of the planes.
Definition at line 168 of file Clip.hpp.
◆ _yb
Y-axis of the planes.
Definition at line 169 of file Clip.hpp.
◆ _zb
Thickness of the region.
Definition at line 170 of file Clip.hpp.
The documentation for this class was generated from the following file: