15 #include "CeeVisualization/Base.h" 16 #include "CeeVisualization/Camera.h" 17 #include "CeeCore/RefCountedObject.h" 18 #include "CeeCore/BoundingBox.h" 19 #include "CeeCore/Str.h" 25 class OpenGLCapabilities;
50 void setName(
const Str& name);
52 bool use2dPixelProjection()
const;
53 void setUse2dPixelProjection(
bool use2dMode);
56 virtual Str modelInfo()
const;
65 void notifyObservingViews(
NotifyAction notifyAction,
const View* exceptView);
66 bool hasAnyObservingViewsWithClipping(
bool* outExplicitViewClippingIsActive = NULL,
bool* outDropShadowClippingIsActive = NULL)
const;
69 void internal_addView(
View* view);
70 void internal_removeView(
View* view);
71 virtual cvf::Model* internal_cvfModel() = 0;
72 virtual cvf::Model* internal_cvfModelForOverlayParts();
73 virtual cvf::Model* internal_cvfModelForOverlayDetectVisibleParts();
74 virtual std::vector<OverlayItem*> internal_overlayItems();
75 virtual void internal_setViewCapabilities(
const cvf::OpenGLCapabilities& capabilities,
bool viewDoesHighlighting);
76 virtual bool internal_canAddToViewWithCapabilities(
const cvf::OpenGLCapabilities& viewCapabilities)
const;
77 virtual NotifyAction internal_detectAndConfigureViewClippingInModel(
const View& triggeringView, cvf::OpenGLContext* cvfContext) = 0;
78 virtual void internal_applyViewClippingPlanesBeforeRendering(
const cvf::ClipPlaneSet* viewClipPlaneSet,
const cvf::Plane* dropShadowClipPlane) = 0;
79 virtual void internal_applyCameraTransformationToClippingPlanes(
const cvf::Camera& camera) = 0;
80 virtual NotifyAction internal_preRenderUpdateModel(
const View& triggeringView, cvf::OpenGLContext* cvfContext);
86 CEE_PRIVATE_IMPL(
Model);
87 CEE_DISALLOW_COPY_AND_ASSIGN(
Model);
Definition: LogEvent.h:19
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
A general unicode based string class.
Definition: Str.h:28
Model holds information which is to be gathered to constitute a view.
Definition: Model.h:43
Base class for all reference counted objects with built-in support for intrusive reference counting...
Definition: RefCountedObject.h:34
Axis-aligned bounding box.
Definition: BoundingBox.h:27
Provides a render area in the user control/widget to enable visualization of the current model data a...
Definition: View.h:40
NotifyAction
Notification sent to the view.
Definition: Model.h:59
No update needed. The viewer are not update.
Definition: Model.h:61
Overlay items are visual item presented overlaying the models in the View, for instance a color legen...
Definition: Overlay.h:28