Lexis  1.2.0
Vocabulary of events and shared objects for BBP and HBP software
ClipPlanes.h
1 /* Copyright (c) 2016-2017, Human Brain Project
2  * Ahmet.Bilgili@epfl.ch
3  */
4 
5 #pragma once
6 
7 #include <lexis/api.h>
8 #include <lexis/render/detail/clipPlanes.h>
9 #include <vmmlib/types.hpp>
10 
11 namespace lexis
12 {
13 namespace render
14 {
15 
17 {
18 public:
23  LEXIS_API ClipPlanes();
24 
26  LEXIS_API bool isEmpty() const;
27 
29  LEXIS_API void clear();
30 
32  LEXIS_API void reset();
33 
35  LEXIS_API bool isOutside( const vmml::AABBf& box ) const;
36 };
37 
38 }
39 }
Defines export visibility macros for library Lexis.
void clear()
Clears all planes, results in isEmpty() == true.
ClipPlanes()
Adds 6 othogonal planes in normalized space (+x,-x,+y,-y,+z,-z).
bool isOutside(const vmml::AABBf &box) const
void reset()
Reset to planes setup by constructor.