223 UpDirectionX = 0xFADE,
332 class MVO_API
HBaseView :
public HUpdateListener ,
public HMouseListener,
public HObjectManipulationListener
368 const char * alias = 0,
369 const char * driver_type = 0,
370 const char * instance_name = 0,
371 void * window_handle = 0,
373 void * clip_override = 0,
374 void * window_handle_2 = 0,
375 const char * driver_path = 0);
405 const char * alias = 0,
406 const char * driver_type = 0,
407 const char * instance_name = 0,
408 void * window_handle = 0,
410 void * clip_override = 0,
411 void * window_handle_2 = 0,
432 virtual void FitWorld(
HPoint * center_out = 0);
441 virtual void FitWorldExact(
HPoint * center_out = 0);
447 virtual void ZoomToExtents();
452 virtual void ZoomToInitialCamera();
459 void FitSegment(
HC_KEY seg_key);
465 void FitSelection(
HC_KEY key = INVALID_KEY,
bool adjustToShellNormal =
false);
470 void FitItemByPath(
HC_KEY key,
int incl_count,
HC_KEY * incl_path);
473 void RenderAntialiasing();
476 void InitAntialiasing();
493 void RenderWireframe();
497 void RenderSilhouette();
500 void RenderHiddenLine();
503 void RenderHiddenLineFast();
512 void RenderGouraud();
518 void RenderWireframeWithSilhouette();
521 void RenderShadedWireframe();
524 void RenderVertices();
527 void RenderShadedVertices();
532 void RenderFakeHiddenLine();
536 void RenderBRepHiddenLine();
540 void RenderBRepHiddenLineFast();
543 void RenderBRepWireframe();
552 void RenderShadedWithLines();
555 void RenderGouraudWithLines();
564 void RemoveTransforms();
572 virtual void Update();
579 virtual void ForceUpdate();
606 return FileInput((__wchar_t*)H_WCS(FileName).encodedText(), handler, options);
620 #ifdef H_USHORT_OVERLOAD
623 utf16.encodedText((utf16_char*)FileName);
624 return FileInput((__wchar_t*)H_WCS(utf16).encodedText(), handler, options);
681 return FileOutput((__wchar_t*)H_WCS(FileName).encodedText(), handler, options);
693 virtual void UpdateHighlighting();
722 virtual void SetViewMode (
ViewMode mode,
bool invert =
false,
bool fitWorld =
true);
737 void SetCPGeomVisibility(
bool lines,
bool faces=
false);
745 bool GetCuttingPlanesExist(
const char *plane = 0);
750 void SetCuttingPlanesExist(
bool state);
758 void SetCuttingPlanesVisibility(
bool visible);
769 void SetEventCheckerCallback(
void (* EventChecker)(HIC_Rendition
const *nr));
788 void SetOcclusionCullingMode(
bool mode,
bool UseOctree =
true,
int threshold = 50);
806 virtual void SetHandedness(
HandednessMode mode,
bool emit_message=
false);
812 virtual void SetHandednessFromMessage(
const char *in_data,
unsigned int data_length);
822 virtual bool SetHandednessFromModel(
bool remove_handedness_from_model =
true,
bool emit_message =
false);
830 virtual void SetFontSize(
const char *font_size,
bool emit_message=
false);
836 virtual void SetFontSizeFromMessage(
const char *in_data,
unsigned int data_length);
839 bool GetBackplaneCulling();
847 void SetBackplaneCulling(
bool cull);
868 bool GetDisplayListMode();
873 void SetDisplayListMode(
bool mode);
901 void SetLodMode(
bool onoff);
916 int GetLodThreshold();
922 void SetLodThreshold(
int val);
935 HC_KEY GetSceneKey() {
return m_SceneKey; }
946 HC_KEY GetShadowMapSegmentKey();
949 HC_KEY GetLightsKey() {
return m_LightsKey; }
957 float GetZoomLimit() {
return m_fZoomLimit; }
965 virtual void SetZoomLimit();
968 HC_KEY GetWindowspaceKey() {
return m_WindowspaceKey; }
976 HC_KEY GetConstructionKey() {
return m_ConstructionKey; }
989 HC_KEY GetCuttingPlanesKey() {
return m_CuttingPlanesKey; }
997 HC_KEY GetCuttingPlaneGeomKey() {
return m_CuttingPlaneGeomKey; }
1004 HC_KEY GetIntersectPolylinesKey() {
return m_IntersectPolylinesKey; }
1021 int GetUpdateInterrupted() {
return m_UpdateInterrupted; }
1029 float GetIdleTime();
1032 void ResetIdleTime();
1039 class HDebugZBuffer *GetDebugZBuffer() {
return m_pDebugZBuffer; }
1052 virtual void SetAxisMode(
AxisMode mode);
1057 virtual void OnSetAxisMode(
AxisMode mode );
1067 virtual void AdjustAxisWindow(
int axis_window_pixels_in = -1,
HIntRectangle *rect_in=0 );
1070 static void AdjustAxisWindowCallback(
int signal,
void * signal_data,
void * user_data);
1073 static void AdjustWindowCallback(
int signal,
void * signal_data,
void * user_data);
1082 virtual void SetShadowMode (
HShadowMode sm,
bool saveMode =
true);
1095 virtual void SetReflectionPlane(
bool state,
float opacity=0.5f,
bool fading=
true,
bool attenuate=
false,
1096 float hither=0.0f,
float yon=1.0f,
bool blur=
false,
int blur_level=1);
1115 virtual void DeleteSelectionList(
bool emit_message=
false);
1123 void RotateOnUpdate(
const char *sname);
1132 virtual void SetWindowColor(
HPoint rgb,
bool emit_message=
false);
1144 virtual void SetWindowColor(
HPoint rgbtop,
HPoint rgbbottom,
bool emit_message=
false);
1157 virtual void SetWindowColorRange(
HPoint rgbtop,
HPoint rgbbottom,
int percentage,
bool emit_message=
false);
1167 virtual void SetWindowMaterial(
const char * name,
bool emit_message=
false);
1174 virtual void SetWindowColorFromMessage(
const char *in_data,
unsigned int data_length);
1179 void GetWindowColor(
HPoint &color_out);
1185 void GetWindowColor(
HPoint &color_top,
HPoint &color_bottom);
1192 void GetWindowColor(
HPoint &color_top,
HPoint &color_bottom,
int &percentage);
1198 void GetWindowMaterial(
char * out_material,
char * out_pattern);
1230 void SetHideOverlappedText(
bool hide);
1243 void SetSmoothTransition(
bool onoff) { m_bSmoothTransition = onoff;}
1259 void SetLightFollowsCamera(
bool onoroff);
1261 static const int MaxLights = 6;
1266 void SetLightCount(
int count);
1281 virtual void CameraPositionChanged(
bool emit_message=
false,
bool smooth_camera_transition=
false);
1287 virtual void PrepareForCameraChange();
1299 virtual void SetCamera(
HPoint pos,
HPoint tar,
HPoint up,
float fieldx,
float fieldy,
const char *proj);
1310 virtual void SetInitialCamera(
HPoint pos,
HPoint tar,
HPoint up,
float fieldx,
float fieldy,
char const * proj);
1322 virtual void GetCamera(
HPoint *pos,
HPoint *tar,
HPoint *up,
float &fieldx,
float &fieldy,
char *proj);
1328 virtual void SetCamera(
HCamera camera);
1334 virtual void GetCamera(
HCamera *camera);
1341 virtual void SetCameraFromMessage(
const char *data,
unsigned int data_length);
1350 virtual void InsertHSFData(
const char *segment,
const char *in_data,
unsigned int data_length,
bool emit_message=
false);
1357 virtual void InsertHSFDataFromMessage(
const char *in_data,
unsigned int data_length);
1365 virtual void EmitHSFData(
const char *segment,
const char *in_data,
unsigned int data_length);
1372 virtual void SetRenderMode (
HRenderMode NewRenderMode,
bool emit_message=
false);
1379 virtual void SetRenderModeFromMessage(
const char *in_data,
unsigned int data_length);
1384 virtual void EmitFlushMessage();
1393 virtual void FlushFromMessage(
const char *in_data,
unsigned int data_length);
1401 virtual void Flush(
bool emit_message=
false);
1411 void * user_data=0) {
1412 emit_message_function=new_emit_message_function;
1413 emit_message_function_user_data=user_data;};
1436 virtual void EmitSelectMessage(HC_KEY key,
bool isSelect);
1443 virtual void SelectFromMessage(
const char *in_data,
unsigned int data_length);
1448 virtual void EmitDeSelectAllMessage();
1454 virtual void EmitDeleteSelectionListMessage();
1460 virtual void DeleteSelectionListFromMessage();
1466 virtual void DeSelectAllFromMessage();
1473 virtual void EmitSetModellingMatrixMessage(HC_KEY key);
1480 virtual void EmitSetModellingMatrixMessage();
1489 virtual void EmitSegment(HC_KEY key,
bool emit_contents_only =
false);
1495 virtual void EmitDeleteByKeyMessage(HC_KEY key);
1502 virtual void DeleteByKeyFromMessage(
const char *in_data,
unsigned int data_length);
1509 virtual void SetModellingMatrixFromMessage(
const char *in_data,
unsigned int data_length);
1520 virtual void StartSharedKey();
1525 HAnimateScene = 0x00000001
1536 virtual void Animate (
int animation_steps = 30, HAnimateMode animate_flags = HAnimateScene,
int MaxRotation = 360);
1540 virtual void SetGeometryChanged();
1559 void SetFastMarkerDrawing(
bool b_fast);
1564 bool GetFastMarkerDrawing();
1571 void SetDoubleBuffering(
bool double_buffer);
1588 void UnSetSignalNotify(
unsigned long cookie );
1594 void SetColorInterpolation(
bool onoff);
1601 void SetColorIndexInterpolation(
bool onoff,
bool isolines =
false);
1608 bool GetColorIndexInterpolation(
char * option = 0);
1618 bool GetFrameBufferEffectsOptions(
char * options = 0,
int *border = 0);
1625 void Notify(
int signal,
void * signal_data = 0);
1633 int UpdateEvent(
bool antialias =
false,
bool forceUpdate =
false);
1653 suppress?m_SuppressUpdate++:m_SuppressUpdate--;
1654 if (m_SuppressUpdate<0)
1655 m_SuppressUpdate = 0;
1670 suppress?m_SuppressUpdateTick++:m_SuppressUpdateTick--;
1671 if (m_SuppressUpdateTick<0)
1672 m_SuppressUpdateTick = 0;
1710 static bool UpdateTick(
float request_time,
float actual_time,
void * user_data);
1719 static bool StreamProgressCallback(
unsigned long so_far,
unsigned long expected,
void * user_data);
1722 void FlushProgressBar();
1739 void SetDynamicHighlighting(
bool state);
1746 virtual int OnNoButtonDownAndMove(
HEventInfo &hevent);
1752 virtual int OnLButtonDownAndMove(
HEventInfo &hevent);
1759 virtual int OnLButtonDblClk(
HEventInfo &hevent);
1765 virtual int OnRButtonDownAndMove(
HEventInfo &hevent);
1770 virtual int OnMButtonDownAndMove(
HEventInfo &hevent);
1775 virtual int OnLRButtonDownAndMove(
HEventInfo &hevent);
1781 virtual int OnLButtonDown(
HEventInfo &hevent);
1801 virtual int OnMouseWheel(
HEventInfo &hevent);
1807 virtual int OnMouseWheel(
HEventInfo &hevent);
1811 virtual bool ComputeReasonableTarget(
HPoint & new_tar,
HPoint const & mouse_win,
HPoint const & tar_orig);
1814 void ComputeNewField(
float & width,
float & height,
HPoint const & new_tar,
1826 virtual void SetShadowColor(
HPoint color);
1832 virtual void SetShadowLightDirection(
bool explicit_light,
HPoint const * direction = 0);
1838 virtual bool GetShadowLightDirection(
HPoint * direction = 0);
1843 virtual void SetShadowIgnoresTransparency(
bool ignore);
1848 virtual bool GetShadowIgnoresTransparency();
1852 virtual void DoDynamicHighlighting(
HPoint mouse_pos);
1856 virtual void SetShadowResolution(
int res);
1860 virtual void SetShadowBlurring(
int blur);
1863 virtual void InternalUpdate();
1892 virtual void SetCameraChanged(
bool val=
true ) { m_bCameraChanged = val;
if(val) ResetIdleTime(); }
1915 virtual void SetVisibilitySelectionMode(
bool onoff);
1918 virtual bool GetVisibilitySelectionMode();
1922 virtual void SetRelatedSelectionLimit(
int limit);
1925 virtual int GetRelatedSelectionLimit();
1931 virtual void SetDetailSelection(
bool onoff);
1934 virtual bool GetDetailSelectionMode();
1939 virtual void SetRespectSelectionCulling(
bool onoff);
1941 virtual bool GetRespectSelectionCulling();
1950 virtual void SmartFilterCircumcuboid(
const char *segment,
const char *defaults,
HPoint *bottomfrontleft,
HPoint *topbackright);
1958 int SetupHandlesEvent(
HBaseView *view, HC_KEY key,
bool complex);
1966 virtual void SetHasObjects(
bool hasobjects);
1986 virtual void SetDefaultSelectionProximity(
float selectionproximity);
1991 return m_bAllowInteractiveShadows;
2000 m_bAllowInteractiveShadows = onoff;
2022 m_bAllowInteractiveCutGeometry = onoff;
2057 void SetRecordCamera(
bool rc);
2082 void SetTransparency(
char const * text,
bool fast_z_sort=
false);
2088 void SetLineAntialiasing(
bool onoff );
2096 void SetTextAntialiasing(
bool onoff );
2102 void SetDepthOfField(
bool onoff,
float strength = 1.0f);
2108 void SetDepthOfFieldRange(
float near=0.0f,
float far=0.0f);
2127 void SetCullingThreshold(
int cullingthreshold);
2132 int GetCullingThreshold();
2140 void SetHardExtent(
int cutoff);
2145 int GetHardExtent();
2151 void BeginShellSelection();
2155 void EndShellSelection();
2176 void SetDefaultHSRA();
2203 virtual void SetReferenceSelection(
bool use_ref);
2211 bool GetKeyState(
unsigned int key,
int &flags);
2214 void ResetKeyState();
2246 void SetLightScaling(
float sv);
2248 void SetXYSizeOverride(
int x,
int y) { m_XSize_override = x, m_YSize_override = y; }
2278 void EnableTargetFrameRate(
bool enable=
true,
int target=100,
int threshold=10,
int steps=5);
2284 float GetFramerate();
2290 int GetFramerateCullingThreshold();
2296 int GetFramerateSteps();
2299 bool IsFramerateLodEnabled();
2314 void SetFramerateMode(
FramerateMode mode,
float framerate = 0.1f,
int cullingthreshold = 150,
2315 bool enableLods =
false,
int steps = 20,
int cutoff = 1);
2318 bool IsFrameRateEnabled();
2321 bool GetViewActive();
2324 void cleanupSimpList();
2329 void SetAnnotationResize(
bool value);
2347 void ExhaustiveUpdate();
2357 void SetMouseWheelSensitivity(
float sensitivity) {
2358 if (sensitivity > 0)
2359 m_MouseWheelSensitivity = sensitivity;
2363 float GetMouseWheelSensitivity() {
return m_MouseWheelSensitivity; }
2366 void SetSplatRendering(
bool onoff);
2372 void SetSplatSize(
int splat_size);
2387 void UpdateFakeHLRColor(
HPoint paper_color);
2398 static void StaticForceUpdateRequest(
void * view_pointer);
2412 void VisualizeBounding(
bool draw_something, HC_KEY key=INVALID_KEY,
int incl_count=0, HC_KEY * incl_path=0);
2419 HPoint GetFakeHLRColor();
2425 void SetFakeHLRColor(
HPoint color);
2431 void FocusOnSelection(
bool onoff =
true);
2436 bool GetFocusOnSelection() {
return m_FocusedOnSelection; }
2457 bool m_bDisplayHandlesOnDblClk;
2458 bool m_has_initial_view;
2462 int m_HardwareAntialiasing;
2470 HPoint m_SceneBoundingMin;
2471 HPoint m_SceneBoundingMax;
2472 bool m_bSceneBoundingSet;
2473 bool m_bFastFitWorld;
2474 bool m_bDetailedFitWorld;
2529 void (* m_pfEventChecker)(HIC_Rendition
const *nr);
2530 bool (* m_pfKeyState)(
unsigned int,
int &);
2556 unsigned long m_AnnotationCookie;
2557 unsigned long m_AxisResizeCookie;
2559 bool m_bSplatRendering;
2562 bool m_FocusedOnSelection;
2570 void ComputeShadowParams(
HPlane& shadow_plane,
HPoint& light_pos);
2577 void AdjustShadowPlane(
HPlane& shadow_plane,
HPoint const & light_pos);
2584 void SetShadowParams(
const HPlane& shadow_plane,
const HPoint& light_pos,
2585 const HPoint* color = 0,
const char * filter = 0);
2593 virtual void SetShadowParams(
HShadow* shadowObj);
2597 void RefreshViewSize();
2604 void QueryDeviceCapabilities();
2614 virtual void UpdateInternal(
bool antialias =
false,
bool force_update =
false);
2621 virtual void SetupLights();
2624 float m_LastRecordTime;
2626 char * m_sDriverPath;
2627 char * m_sDriverType;
2629 void * m_pWindowHandle;
2631 void * m_pClipOverride;
2632 void * m_pWindowHandle2;
2633 struct vlist_s *m_SignalRequestsList;
2635 void * emit_message_function_user_data;
2637 bool m_bPrevBackplaneCullMode;
2640 int m_SuppressUpdate;
2641 int m_SuppressUpdateTick;
2642 bool m_bDynamicHighlighting;
2645 int m_XSize_override;
2646 int m_YSize_override;
2647 float m_LastMouseWheelTime;
2648 float m_MouseWheelSensitivity;
2652 bool m_bUpdateNotFinished;
2653 int m_NotFinishedCounter;
2657 int m_OldCullingThreshold;
2658 float *m_pTempClipArray;
2660 bool m_UseExplicitShadowLight;
2661 HPoint m_ExplicitShadowLightDirection;
2668 HBaseView(
HBaseModel *model,
char const * alias,
char const * driver_type,
char const * instance_name,
long window_handle,
long colormap) {
2669 UNREFERENCED(model);
2670 UNREFERENCED(alias);
2671 UNREFERENCED(driver_type);
2672 UNREFERENCED(instance_name);
2673 UNREFERENCED(window_handle);
2674 UNREFERENCED(colormap);
2678 void RebindView(
HBaseModel *model,
char const * alias,
char const * driver_type,
char const * instance_name,
long window_handle,
long colormap) {
2679 UNREFERENCED(model);
2680 UNREFERENCED(alias);
2681 UNREFERENCED(driver_type);
2682 UNREFERENCED(instance_name);
2683 UNREFERENCED(window_handle);
2684 UNREFERENCED(colormap);
self-explanatory
Definition: HBaseView.h:99
bool GetFirstUpdate()
Definition: HBaseView.h:2335
HBaseOperator * m_pOperator
Definition: HBaseView.h:2520
bool GetAllowInteractiveCutGeometry()
Definition: HBaseView.h:2015
void SetKeyStateCallback(bool(*KeyState)(unsigned int, int &))
Definition: HBaseView.h:772
HUndoManager * m_pUndoManager
Definition: HBaseView.h:2534
SplatSymbol
Definition: HBaseView.h:282
no handedness; only applies to polygon-handedness
Definition: HBaseView.h:176
bool m_bUpdateRequested
Definition: HBaseView.h:2532
void ClearUpdateRequest()
Definition: HBaseView.h:1645
void(* HBaseViewEmitMessageFunction)(const char *message, unsigned int length, void *user_data)
Definition: HBaseView.h:296
bool m_bBeginShellSelection
Definition: HBaseView.h:2456
bool GetShadowRegenerationMode()
Definition: HBaseView.h:1887
The HConstantFrameRate class provides support for maintaining a constant framerate when rendering...
Definition: HConstantFrameRate.h:494
void SetConstructionKey(HC_KEY construct_key)
Definition: HBaseView.h:981
self-explanatory
Definition: HBaseView.h:101
HC_KEY GetOverwriteKey()
Definition: HBaseView.h:943
same as HReanderShaded but with lines visible
Definition: HBaseView.h:79
bool GetSpritingMode()
Definition: HBaseView.h:904
bool GetCPFaceVisibility()
Definition: HBaseView.h:728
float m_SmoothTransitionDuration
Definition: HBaseView.h:2482
FramerateMode
Definition: HBaseView.h:147
MultiThreadingType
Definition: HBaseView.h:193
void InvalidateSceneBounding()
Definition: HBaseView.h:1554
void SetCuttingPlaneGeomKey(HC_KEY cuttingplanegeom_key)
Definition: HBaseView.h:1002
HC_KEY m_ViewKey
Definition: HBaseView.h:2489
virtual HFileOutputResult FileOutput(const char *FileName, HOutputHandler *handler, HOutputHandlerOptions *options=0)
Definition: HBaseView.h:680
HShadowRenderingMode
Definition: HBaseView.h:241
ViewMode GetViewMode()
Definition: HBaseView.h:714
bool m_bCPFaceVisibility
Definition: HBaseView.h:2445
opengl p-buffer shadow generation
Definition: HBaseView.h:244
bool m_bAllowInteractiveShadows
Definition: HBaseView.h:2547
HUtilityAntialiasing * GetAntialiasing()
Definition: HBaseView.h:479
simulate hidden line (regular hardware z-buffer, with faces set to window background color) ...
Definition: HBaseView.h:68
HBaseModel * m_pModel
Definition: HBaseView.h:2488
ViewUpdateMode
Definition: HBaseView.h:232
bool m_bShadowRegeneration
Definition: HBaseView.h:2540
bool IsLightFollowCamera()
Definition: HBaseView.h:1254
opengl software shadow generation
Definition: HBaseView.h:245
void SetViewKey(HC_KEY view_key)
Definition: HBaseView.h:927
negative X, positive Y, positive Z
Definition: HBaseView.h:106
const char * GetDriverPath()
Definition: HBaseView.h:687
HBaseOperator * GetOperator()
Definition: HBaseView.h:1212
HUtilityAntialiasing * m_pAntialiasing
Definition: HBaseView.h:2476
void SetSmoothTransitionDuration(float duration)
Definition: HBaseView.h:1248
Definition: HMarkupManager.h:28
void SetMarkupManager(HMarkupManager *markup)
Definition: HBaseView.h:490
edges and non-lit faces
Definition: HBaseView.h:64
HC_KEY GetViewKey()
Definition: HBaseView.h:925
negative X, positive Y, positive Z
Definition: HBaseView.h:108
HC_KEY m_FakeHLRStyle
Definition: HBaseView.h:2442
ViewUpdateMode GetViewUpdateMode()
Definition: HBaseView.h:1701
void HasInitialView(bool does_it)
Definition: HBaseView.h:2344
self-explanatory
Definition: HBaseView.h:135
unknown mode
Definition: HBaseView.h:161
HC_KEY GetDefaultLightKey(int which=0)
Definition: HBaseView.h:1099
void SetCurrentOperator(HBaseOperator *NewOperator)
Definition: HBaseView.h:1207
bool m_bMouseMove
Definition: HBaseView.h:2538
bool GetUpdateNotFinished()
Definition: HBaseView.h:2350
fake hidden line
Definition: HBaseView.h:86
No display lists.
Definition: HBaseView.h:185
virtual void SetCuttingPlaneRegenerationMode(bool onoff)
Definition: HBaseView.h:1882
The HObjectManager class keeps track of generic MVO objects.
Definition: HEventManager.h:137
int GetXSize()
Definition: HBaseView.h:2252
self-explanatory
Definition: HBaseView.h:96
HConstantFrameRate * m_pConstantFrameRate
Definition: HBaseView.h:2524
DisplayListType m_DisplayListType
Definition: HBaseView.h:2465
bool m_bCuttingPlaneRegeneration
Definition: HBaseView.h:2542
bool m_bFirstUpdate
Definition: HBaseView.h:2545
bool GetSmoothTransition()
Definition: HBaseView.h:1238
void SetZoomLimit(float zoomLimit)
Definition: HBaseView.h:962
void UpdateAxisTriad()
Definition: HBaseView.h:1060
bool(* HSignalNotifyFunction)(int signal, void *signal_data, void *user_data)
Definition: HBaseView.h:54
HC_KEY m_CuttingPlanesKey
Definition: HBaseView.h:2501
self-explanatory
Definition: HBaseView.h:150
phong shading
Definition: HBaseView.h:72
gouraud (smooth) shading with edges turned on
Definition: HBaseView.h:71
void SetLightsKey(HC_KEY lights_key)
Definition: HBaseView.h:954
virtual HFileInputResult FileInput(const char *FileName, HInputHandler *handler, HInputHandlerOptions *options=0)
Definition: HBaseView.h:605
bool m_bAxisTriadTransparencyAllowed
Definition: HBaseView.h:2450
bool GetForceFastHiddenLine()
Definition: HBaseView.h:2075
virtual void SetShadowRegenerationToggle()
Definition: HBaseView.h:1872
int GetSplatSize()
Definition: HBaseView.h:2375
quick-moved geometry was last drawn as overlay, meaning that colors are correct, but that the quick-m...
Definition: HBaseView.h:260
This tells the MVO framework to implicitly perform continuous updates by polling for posted update ev...
Definition: HBaseView.h:235
gouraud (smooth) shading
Definition: HBaseView.h:70
HSelectionSet * m_pHighlight
Definition: HBaseView.h:2523
The HCamera class is the data type of a HOOPS Camera Attribute.
Definition: HUtility.h:540
bool GetDetailedFitWorld()
Definition: HBaseView.h:2234
void SetEmitMessageFunction(HBaseViewEmitMessageFunction new_emit_message_function, void *user_data=0)
Definition: HBaseView.h:1409
HImCuttingGeometry * m_pHImCuttingGeometry
Definition: HBaseView.h:2475
bool GetTransparentSelectionBoxMode()
Definition: HBaseView.h:1103
The represented size of an object doesn't depend on how close or far it is—this can be handy in arch...
Definition: HBaseView.h:163
bool m_bAllowInteractiveCutGeometry
Definition: HBaseView.h:2548
virtual bool GetHasObjects()
Definition: HBaseView.h:1961
bool m_bLButtonDown
Definition: HBaseView.h:2537
void SetUpdateInterrupted(int val)
Definition: HBaseView.h:1026
clamps to LOD1
Definition: HBaseView.h:80
void SetAllowInteractiveCutGeometry(bool onoff)
Definition: HBaseView.h:2021
HSelectionSet * GetHighlightSelection()
Definition: HBaseView.h:2158
self-explanatory
Definition: HBaseView.h:174
bool GetCPLineVisibility()
Definition: HBaseView.h:725
float GetSmoothTransitionDuration()
Definition: HBaseView.h:1251
self-explanatory
Definition: HBaseView.h:175
HC_KEY m_IntersectPolylinesKey
Definition: HBaseView.h:2505
Definition: HImCuttingGeometry.h:119
This tells the MVO framework not to implicitly perform updates. They will be explicity made by calls ...
Definition: HBaseView.h:234
void SetIsoDefault(ViewMode vm)
Definition: HBaseView.h:2116
Fast hidden line.
Definition: HBaseView.h:206
HVector m_TopAxis
Definition: HBaseView.h:2486
const char * GetDriverType()
Definition: HBaseView.h:690
bool m_bCuttingPlanesVisibility
Definition: HBaseView.h:2448
bool GetTextAntialiasing()
Definition: HBaseView.h:2111
brep wireframe
Definition: HBaseView.h:84
positive X, positive Y, positive Z (same as HViewISO)
Definition: HBaseView.h:110
wireframe, with shaded lines
Definition: HBaseView.h:76
bool m_bNavCube
Definition: HBaseView.h:2480
void SetBBoxGeometryKey(HC_KEY bbox_key)
Definition: HBaseView.h:986
HLRMode
Definition: HBaseView.h:203
bool m_bCPLineVisibility
Definition: HBaseView.h:2444
HandednessMode
Definition: HBaseView.h:172
virtual void SetShadowRegenerationMode(bool onoff)
Definition: HBaseView.h:1868
In a "stretched" view, an orthographic projection is made, and then the view is "stretched" to fit ex...
Definition: HBaseView.h:164
HObjectManager * m_pObjectManager
Definition: HBaseView.h:2535
The HSelectionSet class manages a list of selected items.
Definition: HSelectionSet.h:66
AxisMode m_bAxisMode
Definition: HBaseView.h:2478
HOutputHandler an abstract base class for model and image output.
Definition: HIOManager.h:1249
HSelectionHighlightMode
Definition: HGlobals.h:547
bool m_bTransparentSelectionBox
Definition: HBaseView.h:2554
Definition: HGlobals.h:310
Definition: HTManager.h:157
void SetFastFitWorld(bool fw)
Definition: HBaseView.h:2219
Analytic hidden line.
Definition: HBaseView.h:205
HEventManager * m_pEventManager
Definition: HBaseView.h:2533
HC_KEY m_ProgressBarKey
Definition: HBaseView.h:2509
HC_KEY m_OverwriteKey
Definition: HBaseView.h:2493
self-explanatory
Definition: HBaseView.h:97
HC_KEY GetIncludeLinkKey()
Definition: HBaseView.h:930
void SetSpritingMode(bool onoff)
Definition: HBaseView.h:911
virtual const HSelectionHighlightMode GetHighlightMode()
Definition: HBaseView.h:2192
HC_KEY m_WindowspaceKey
Definition: HBaseView.h:2497
virtual bool GetCameraChanged()
Definition: HBaseView.h:1895
void SetUpdateNotFinished(bool NotFinished)
Definition: HBaseView.h:2353
void(*)(HIC_Rendition const *nr) GetEventCheckerCallback()
Definition: HBaseView.h:778
float m_IdleTime
Definition: HBaseView.h:2544
class HPoint HVector
The HVector class is the data type of a three-dimensional vector.
Definition: HGlobals.h:326
int m_CPMode
Definition: HBaseView.h:2446
star bloom
Definition: HBaseView.h:252
unknown view mode
Definition: HBaseView.h:124
virtual void SetInvertMouseWheelZoom(bool val=true)
Definition: HBaseView.h:1900
Geometry-level display lists.
Definition: HBaseView.h:186
bool GetDynamicHighlighting()
Definition: HBaseView.h:1734
HSelectionHighlightMode m_HighlightMode
Definition: HBaseView.h:2464
bool GetSceneBoundingSet()
Definition: HBaseView.h:1545
ViewUpdateMode m_ViewUpdateMode
Definition: HBaseView.h:2531
class HDebugZBuffer * m_pDebugZBuffer
Definition: HBaseView.h:2536
void SetViewAxis(HVector *front_axis, HVector *top_axis)
Definition: HBaseView.h:2166
bool GetFastFitWorld()
Definition: HBaseView.h:2229
same as HViewIsoxYz
Definition: HBaseView.h:115
bool EmittingMessages()
Definition: HBaseView.h:1419
unknown mode
Definition: HBaseView.h:133
void SetSuppressUpdateTick(bool suppress)
Definition: HBaseView.h:1669
HCutGeometryVisibility
Definition: HGlobals.h:102
HEventInfo * m_pEvent
Definition: HBaseView.h:2521
bool m_bTextAntialiasing
Definition: HBaseView.h:2455
currently does nothing
Definition: HBaseView.h:67
bool GetAnnotationResize()
Definition: HBaseView.h:2332
void SetHardwareAntialiasing(int antialiasinglevel)
Definition: HBaseView.h:2390
Objects which are close to the eye appear large, and objects which are far away appear small...
Definition: HBaseView.h:162
Like AxisOn, but without the planes.
Definition: HBaseView.h:215
The HEventManager class dispatches arbitrary events.
Definition: HEventManager.h:44
vertices only (shaded)
Definition: HBaseView.h:78
The driver returns geometry objects from selections.
Definition: HBaseView.h:273
void SetProgressBarKey(HC_KEY key)
Definition: HBaseView.h:1017
bool GetCuttingPlaneRegenerationMode()
Definition: HBaseView.h:1876
void SetDisplayHandlesOnDblClk(bool dh)
Definition: HBaseView.h:2338
bool m_bSmoothTransition
Definition: HBaseView.h:2481
the driver is unable to quick move at all
Definition: HBaseView.h:258
HBloomShape
Definition: HBaseView.h:249
HSelectionSet * GetSelection()
Definition: HBaseView.h:696
same as HReanderShaded but with lines visible
Definition: HBaseView.h:74
HC_KEY m_BBoxGeometryKey
Definition: HBaseView.h:2495
bool m_bLineAntialiasing
Definition: HBaseView.h:2454
AxisMode GetAxisMode()
Definition: HBaseView.h:1046
The HDB class serves as a wrapper/utility class to manage an instance of the HOOPS/3dGS scene-graph...
Definition: HDB.h:32
HRenderMode
Definition: HBaseView.h:61
self-explanatory
Definition: HBaseView.h:134
bool GetHideOverlappedText()
Definition: HBaseView.h:1225
ViewMode
Definition: HBaseView.h:93
HRenderMode m_RenderMode
Definition: HBaseView.h:2518
HSelectionSet * m_pSelection
Definition: HBaseView.h:2522
LightingIntMode
Definition: HBaseView.h:131
self-explanatory
Definition: HBaseView.h:151
void RequestUpdate()
Definition: HBaseView.h:1641
void SetNavCube(bool onoff)
Definition: HBaseView.h:1235
HC_KEY GetAxisTriadKey()
Definition: HBaseView.h:1222
bool(*)(unsigned int, int &) GetKeyStateCallback()
Definition: HBaseView.h:775
The HBaseModel class is used to store and manage model information.
Definition: HBaseModel.h:47
bool m_bLightFollowsCamera
Definition: HBaseView.h:2483
The HBaseOperator class serves as a base for classes which handle user input and operate on the scene...
Definition: HBaseOperator.h:60
quick-moved geometry was last drawn as spriting, color-correct and depth-mixed with the rest of the s...
Definition: HBaseView.h:261
hidden line-ish removal
Definition: HBaseView.h:83
wireframe + silhouette
Definition: HBaseView.h:75
bool GetRecordMode()
Definition: HBaseView.h:2060
The HPoint class is the data type of a three-dimensional point.
Definition: HGlobals.h:121
The HUtilityAntialiasing class contains a set of function for software based image antialiasing...
Definition: HUtilityAntialiasing.h:30
void SetForceFastHiddenLine(bool force)
Definition: HBaseView.h:2072
negative X, positive Y, positive Z
Definition: HBaseView.h:105
This class has been deprecated.
Definition: HUtilityShadow.h:93
HQuickMovesMethod
Definition: HBaseView.h:256
HBaseOperator * GetCurrentOperator()
Definition: HBaseView.h:1218
float GetMaximumUpdateTime()
Definition: HBaseView.h:2187
bool GetAllowInteractiveShadows()
Definition: HBaseView.h:1990
DisplayListType
Definition: HBaseView.h:183
Definition: HIOManager.h:892
HC_KEY m_AxisTriadKey
Definition: HBaseView.h:2507
The HBaseView class defines and manages a view of model information.
Definition: HBaseView.h:332
HRenderMode GetRenderMode()
Definition: HBaseView.h:711
self-explanatory
Definition: HBaseView.h:98
void * GetEmitMessageFunctionUserData()
Definition: HBaseView.h:1429
virtual HBaseModel * GetModel()
Definition: HBaseView.h:704
none view mode
Definition: HBaseView.h:95
void SetDetailedFitWorld(bool fw)
Definition: HBaseView.h:2224
bool HasInitialView()
Definition: HBaseView.h:2341
HAnimateMode
Definition: HBaseView.h:1524
HC_KEY m_FakeHLRSource
Definition: HBaseView.h:2443
bool m_bCuttingPlanesExist
Definition: HBaseView.h:2447
virtual float GetDefaultSelectionProximity()
Definition: HBaseView.h:1982
void SetCuttingPlanesKey(HC_KEY cuttingplanes_key)
Definition: HBaseView.h:994
bool m_bSpritingAllowed
Definition: HBaseView.h:2449
HBaseOperator * m_pHandleOperator
Definition: HBaseView.h:2546
bool m_bGeometryChanged
Definition: HBaseView.h:2469
bool GetSuppressUpdateTick()
Definition: HBaseView.h:1679
Segment-level display lists.
Definition: HBaseView.h:187
HMarkupManager * m_pMarkupManager
Definition: HBaseView.h:2477
edges/lines only
Definition: HBaseView.h:63
Square.
Definition: HBaseView.h:285
HVector m_FrontAxis
Definition: HBaseView.h:2485
bool m_bInvertMouseWheelZoom
Definition: HBaseView.h:2555
ViewMode m_ViewMode
Definition: HBaseView.h:2519
image driver shadow generation
Definition: HBaseView.h:243
int m_AxisWindowSize
Definition: HBaseView.h:2451
HSharedKey * GetSharedKey()
Definition: HBaseView.h:1514
bool GetCuttingPlanesVisibility()
Definition: HBaseView.h:753
void * GetWindowHandle()
Definition: HBaseView.h:2037
positive X, positive Y, positive Z (same as HViewISO)
Definition: HBaseView.h:103
void SetAllowInteractiveShadows(bool onoff)
Definition: HBaseView.h:1999
Definition: HConstantFrameRate.h:79
HCamera m_InitialCamera
Definition: HBaseView.h:2551
int m_InUpdateInternal
Definition: HBaseView.h:2528
ViewMode m_IsoDefault
Definition: HBaseView.h:2463
bool GetSuppressUpdate()
Definition: HBaseView.h:1662
unknown mode
Definition: HBaseView.h:149
The HEventInfo class stores and manages event information.
Definition: HEventInfo.h:207
bool m_bForceFastHiddenLine
Definition: HBaseView.h:2453
indicates shaded rendering; underlying code will use phong if hardware accel is avialable, otherwise gouraud will be used
Definition: HBaseView.h:73
virtual void ClearGeometryChanged()
Definition: HBaseView.h:1574
void SetSelection(HSelectionSet *selection)
Definition: HBaseView.h:701
float m_DefaultSelectionProximity
Definition: HBaseView.h:2549
UpDirection
Definition: HBaseView.h:221
Gooch Shaded.
Definition: HBaseView.h:85
HShadowMode
Definition: HGlobals.h:92
HC_KEY m_SceneKey
Definition: HBaseView.h:2491
void SetMaximumUpdateTime(float mut)
Definition: HBaseView.h:2182
HSharedKey * m_pSharedKey
Definition: HBaseView.h:2526
HShadowMode m_ShadowMode
Definition: HBaseView.h:2525
negative X, positive Y, positive Z
Definition: HBaseView.h:107
This tells the MVO framework to implicitly perform continuous culled, timed updates drawing culled it...
Definition: HBaseView.h:236
hidden line-ish removal
Definition: HBaseView.h:82
HBaseViewEmitMessageFunction GetEmitMessageFunction()
Definition: HBaseView.h:1424
Definition: HUndoManager.h:168
quick-moved geometry was last drawn as XOR (exclusive OR), meaning that colors are often inverted or ...
Definition: HBaseView.h:259
bool GetUpdateRequested()
Definition: HBaseView.h:1637
ProjMode
Definition: HBaseView.h:159
void SetSuppressUpdate(bool suppress)
Definition: HBaseView.h:1652
self-explanatory
Definition: HBaseView.h:217
HOpCameraManipulate * m_pManipulateOperator
Definition: HBaseView.h:2539
bool m_bCameraChanged
Definition: HBaseView.h:2543
self-explanatory
Definition: HBaseView.h:100
bool GetSplatRendering()
Definition: HBaseView.h:2369
bool m_bInitialCameraSet
Definition: HBaseView.h:2552
virtual bool GetInvertMouseWheelZoom()
Definition: HBaseView.h:1903
void SetIntersectPolylinesKey(HC_KEY intersectpolylines_key)
Definition: HBaseView.h:1009
int m_UpdateInterrupted
Definition: HBaseView.h:2527
virtual void SetCameraChanged(bool val=true)
Definition: HBaseView.h:1892
The HTouchManager class stores and manages touch input.
Definition: HEventInfo.h:135
same as HViewIsoXYZ and HViewISO
Definition: HBaseView.h:112
clamps to LOD2
Definition: HBaseView.h:81
HC_KEY m_LightsKey
Definition: HBaseView.h:2516
int GetYSize()
Definition: HBaseView.h:2255
AxisMode
Definition: HBaseView.h:212
The HOpCameraManipulate class combines the Orbit, Pan and Zoom Operators.
Definition: HOpCameraManipulate.h:42
bool m_bHideOverlappedText
Definition: HBaseView.h:2479
Like AxisOn, but centered differently.
Definition: HBaseView.h:216
bool m_bShadowRegenerationToggle
Definition: HBaseView.h:2541
HC_KEY m_lIncludeLinkKey
Definition: HBaseView.h:2515
shell/mesh silhouette edges
Definition: HBaseView.h:65
self-explanatory
Definition: HBaseView.h:214
void SetDebugZBuffer(HDebugZBuffer *dzb)
Definition: HBaseView.h:1043
hidden line removal
Definition: HBaseView.h:66
ViewMode GetIsoDefault()
Definition: HBaseView.h:2119
The HPlane class is the data type of a plane.
Definition: HGlobals.h:333
void SetConstantFrameRateObject(HConstantFrameRate *cf)
Definition: HBaseView.h:766
int GetHardwareAntialiasing()
Definition: HBaseView.h:2393
SplatSymbol GetSplatSymbol()
Definition: HBaseView.h:2381
bool GetInitialCameraSet()
Definition: HBaseView.h:2042
negative X, positive Y, positive Z
Definition: HBaseView.h:104
void SetIncludeLinkKey(HC_KEY link)
Definition: HBaseView.h:932
The driver returns segment trees from selections.
Definition: HBaseView.h:275
radial bloom
Definition: HBaseView.h:251
vertices only
Definition: HBaseView.h:77
void SetWindowspaceKey(HC_KEY winspace_key)
Definition: HBaseView.h:973
Round.
Definition: HBaseView.h:284
Fake hidden line.
Definition: HBaseView.h:207
Definition: HDebugZBuffer.h:29
HTouchManager * GetTouchManager()
Definition: HBaseView.h:2439
HTouchManager * m_TouchManager
Definition: HBaseView.h:2460
The driver returns segment objects from selections.
Definition: HBaseView.h:274
HC_KEY GetBBoxGeometryKey()
Definition: HBaseView.h:984
HC_KEY m_CuttingPlaneGeomKey
Definition: HBaseView.h:2503
positive X, positive Y, positive Z (same as HViewISO)
Definition: HBaseView.h:109
int m_WindowColorPercentage
Definition: HBaseView.h:2484
flat shading
Definition: HBaseView.h:69
bool HaveMarkupManager()
Definition: HBaseView.h:485
float m_MaximumUpdateTime
Definition: HBaseView.h:2550
HC_KEY m_ConstructionKey
Definition: HBaseView.h:2499
bool m_bRecordCamera
Definition: HBaseView.h:2553
same as HViewIsoXYz
Definition: HBaseView.h:114
HShadowMode GetShadowMode()
Definition: HBaseView.h:1076
self-explanatory
Definition: HBaseView.h:102
virtual bool GeometryChanged()
Definition: HBaseView.h:1577
HC_KEY GetProgressBarKey()
Definition: HBaseView.h:1012
same as HViewIsoxYZ
Definition: HBaseView.h:113
bool GetLineAntialiasing()
Definition: HBaseView.h:2091
int GetLightCount()
Definition: HBaseView.h:1271
virtual HBaseOperator * GetHandleOperator()
Definition: HBaseView.h:1977
Definition: HSharedKey.h:80
virtual void SetHandleOperator(HBaseOperator *op)
Definition: HBaseView.h:1972
void GetViewAxis(HVector *front_axis, HVector *top_axis)
Definition: HBaseView.h:2171
HConstantFrameRate * GetConstantFrameRateObject()
Definition: HBaseView.h:761
HViewSelectionLevel
Definition: HBaseView.h:271
void SetSceneKey(HC_KEY scene_key)
Definition: HBaseView.h:940
void SetTransparentSelectionBoxMode(bool mode)
Definition: HBaseView.h:1108