40 class HOutputHandlerOptions;
228 UpDirectionX = 0xFADE,
337 class MVO_API
HBaseView :
public HUpdateListener ,
public HMouseListener,
public HObjectManipulationListener
373 const char * alias = 0,
374 const char * driver_type = 0,
375 const char * instance_name = 0,
376 void * window_handle = 0,
378 void * clip_override = 0,
379 void * window_handle_2 = 0,
380 const char * driver_path = 0);
410 const char * alias = 0,
411 const char * driver_type = 0,
412 const char * instance_name = 0,
413 void * window_handle = 0,
415 void * clip_override = 0,
416 void * window_handle_2 = 0,
437 virtual void FitWorld(
HPoint * center_out = 0);
446 virtual void FitWorldExact(
HPoint * center_out = 0);
452 virtual void ZoomToExtents();
457 virtual void ZoomToInitialCamera();
464 void FitSegment(
HC_KEY seg_key);
470 void FitSelection(
HC_KEY key = INVALID_KEY,
bool adjustToShellNormal =
false);
475 void FitItemByPath(
HC_KEY key,
int incl_count,
HC_KEY * incl_path);
478 void RenderAntialiasing();
481 void InitAntialiasing();
498 void RenderWireframe();
502 void RenderSilhouette();
505 void RenderHiddenLine();
508 void RenderHiddenLineFast();
517 void RenderGouraud();
523 void RenderWireframeWithSilhouette();
526 void RenderShadedWireframe();
529 void RenderVertices();
532 void RenderShadedVertices();
537 void RenderFakeHiddenLine();
541 void RenderBRepHiddenLine();
545 void RenderBRepHiddenLineFast();
548 void RenderBRepWireframe();
557 void RenderShadedWithLines();
560 void RenderGouraudWithLines();
569 void RemoveTransforms();
577 virtual void Update();
584 virtual void ForceUpdate();
611 return FileInput((__wchar_t*)H_WCS(FileName).encodedText(), handler, options);
625 #ifdef H_USHORT_OVERLOAD
628 utf16.encodedText((utf16_char*)FileName);
629 return FileInput((__wchar_t*)H_WCS(utf16).encodedText(), handler, options);
658 virtual HFileOutputResult FileOutput(
const __wchar_t * FileName, HOutputHandler * handler, HOutputHandlerOptions * options = 0);
685 virtual HFileOutputResult
FileOutput(
const char * FileName, HOutputHandler * handler, HOutputHandlerOptions * options = 0){
686 return FileOutput((__wchar_t*)H_WCS(FileName).encodedText(), handler, options);
698 virtual void UpdateHighlighting();
727 virtual void SetViewMode (
ViewMode mode,
bool invert =
false,
bool fitWorld =
true);
742 void SetCPGeomVisibility(
bool lines,
bool faces=
false);
750 bool GetCuttingPlanesExist(
const char *plane = 0);
755 void SetCuttingPlanesExist(
bool state);
763 void SetCuttingPlanesVisibility(
bool visible);
774 void SetEventCheckerCallback(
void (* EventChecker)(HIC_Rendition
const *nr));
793 void SetOcclusionCullingMode(
bool mode,
bool UseOctree =
true,
int threshold = 50);
811 virtual void SetHandedness(
HandednessMode mode,
bool emit_message=
false);
817 virtual void SetHandednessFromMessage(
const char *in_data,
unsigned int data_length);
825 virtual void SetFontSize(
const char *font_size,
bool emit_message=
false);
831 virtual void SetFontSizeFromMessage(
const char *in_data,
unsigned int data_length);
834 bool GetBackplaneCulling();
842 void SetBackplaneCulling(
bool cull);
863 bool GetDisplayListMode();
868 void SetDisplayListMode(
bool mode);
896 void SetLodMode(
bool onoff);
911 int GetLodThreshold();
917 void SetLodThreshold(
int val);
930 HC_KEY GetSceneKey(
void ) {
return m_SceneKey; }
944 HC_KEY GetLightsKey(
void ) {
return m_LightsKey; }
952 float GetZoomLimit(
void ) {
return m_fZoomLimit; }
960 virtual void SetZoomLimit();
963 HC_KEY GetWindowspaceKey(
void ) {
return m_WindowspaceKey; }
971 HC_KEY GetConstructionKey(
void ) {
return m_ConstructionKey; }
984 HC_KEY GetCuttingPlanesKey(
void ) {
return m_CuttingPlanesKey; }
992 HC_KEY GetCuttingPlaneGeomKey(
void ) {
return m_CuttingPlaneGeomKey; }
999 HC_KEY GetIntersectPolylinesKey(
void ) {
return m_IntersectPolylinesKey; }
1016 int GetUpdateInterrupted() {
return m_UpdateInterrupted; }
1024 float GetIdleTime(
void );
1027 void ResetIdleTime(
void );
1034 class HDebugZBuffer *GetDebugZBuffer() {
return m_pDebugZBuffer; }
1047 virtual void SetAxisMode(
AxisMode mode);
1052 virtual void OnSetAxisMode(
AxisMode mode );
1062 virtual void AdjustAxisWindow(
int axis_window_pixels_in = -1,
HIntRectangle *rect_in=0 );
1065 static void AdjustAxisWindowCallback(
int signal,
void * signal_data,
void * user_data);
1068 static void AdjustWindowCallback(
int signal,
void * signal_data,
void * user_data);
1077 virtual void SetShadowMode (
HShadowMode sm,
bool saveMode =
true);
1090 virtual void SetReflectionPlane(
bool state,
float opacity=0.5f,
bool fading=
true,
bool attenuate=
false,
1091 float hither=0.0f,
float yon=1.0f,
bool blur=
false,
int blur_level=1);
1110 virtual void DeleteSelectionList(
bool emit_message=
false);
1118 void RotateOnUpdate(
const char *sname);
1127 virtual void SetWindowColor(
HPoint rgb,
bool emit_message=
false);
1139 virtual void SetWindowColor(
HPoint rgbtop,
HPoint rgbbottom,
bool emit_message=
false);
1152 virtual void SetWindowColorRange(
HPoint rgbtop,
HPoint rgbbottom,
int percentage,
bool emit_message=
false);
1162 virtual void SetWindowMaterial(
const char * name,
bool emit_message=
false);
1169 virtual void SetWindowColorFromMessage(
const char *in_data,
unsigned int data_length);
1174 void GetWindowColor(
HPoint &color_out);
1180 void GetWindowColor(
HPoint &color_top,
HPoint &color_bottom);
1187 void GetWindowColor(
HPoint &color_top,
HPoint &color_bottom,
int &percentage);
1193 void GetWindowMaterial(
char * out_material,
char * out_pattern);
1225 void SetHideOverlappedText(
bool hide);
1238 void SetSmoothTransition(
bool onoff) { m_bSmoothTransition = onoff;}
1254 void SetLightFollowsCamera(
bool onoroff);
1256 static const int MaxLights = 6;
1261 void SetLightCount(
int count);
1276 virtual void CameraPositionChanged(
bool emit_message=
false,
bool smooth_camera_transition=
false);
1282 virtual void PrepareForCameraChange();
1294 virtual void SetCamera(
HPoint pos,
HPoint tar,
HPoint up,
float fieldx,
float fieldy,
const char *proj);
1305 virtual void SetInitialCamera(
HPoint pos,
HPoint tar,
HPoint up,
float fieldx,
float fieldy,
char const * proj);
1317 virtual void GetCamera(
HPoint *pos,
HPoint *tar,
HPoint *up,
float &fieldx,
float &fieldy,
char *proj);
1323 virtual void SetCamera(
HCamera camera);
1329 virtual void GetCamera(
HCamera *camera);
1336 virtual void SetCameraFromMessage(
const char *data,
unsigned int data_length);
1345 virtual void InsertHSFData(
const char *segment,
const char *in_data,
unsigned int data_length,
bool emit_message=
false);
1352 virtual void InsertHSFDataFromMessage(
const char *in_data,
unsigned int data_length);
1360 virtual void EmitHSFData(
const char *segment,
const char *in_data,
unsigned int data_length);
1367 virtual void SetRenderMode (
HRenderMode NewRenderMode,
bool emit_message=
false);
1374 virtual void SetRenderModeFromMessage(
const char *in_data,
unsigned int data_length);
1379 virtual void EmitFlushMessage();
1388 virtual void FlushFromMessage(
const char *in_data,
unsigned int data_length);
1396 virtual void Flush(
bool emit_message=
false);
1406 void * user_data=0) {
1407 emit_message_function=new_emit_message_function;
1408 emit_message_function_user_data=user_data;};
1431 virtual void EmitSelectMessage(HC_KEY key,
bool isSelect);
1438 virtual void SelectFromMessage(
const char *in_data,
unsigned int data_length);
1443 virtual void EmitDeSelectAllMessage();
1449 virtual void EmitDeleteSelectionListMessage();
1455 virtual void DeleteSelectionListFromMessage();
1461 virtual void DeSelectAllFromMessage();
1468 virtual void EmitSetModellingMatrixMessage(HC_KEY key);
1475 virtual void EmitSetModellingMatrixMessage();
1484 virtual void EmitSegment(HC_KEY key,
bool emit_contents_only =
false);
1490 virtual void EmitDeleteByKeyMessage(HC_KEY key);
1497 virtual void DeleteByKeyFromMessage(
const char *in_data,
unsigned int data_length);
1504 virtual void SetModellingMatrixFromMessage(
const char *in_data,
unsigned int data_length);
1515 virtual void StartSharedKey();
1520 HAnimateScene = 0x00000001
1531 virtual void Animate (
int animation_steps = 30, HAnimateMode animate_flags = HAnimateScene,
int MaxRotation = 360);
1535 virtual void SetGeometryChanged();
1554 void SetFastMarkerDrawing(
bool b_fast);
1559 bool GetFastMarkerDrawing();
1566 void SetDoubleBuffering(
bool double_buffer);
1583 void UnSetSignalNotify(
unsigned long cookie );
1589 void SetColorInterpolation(
bool onoff);
1596 void SetColorIndexInterpolation(
bool onoff,
bool isolines =
false);
1603 bool GetColorIndexInterpolation(
char * option = 0);
1613 bool GetFrameBufferEffectsOptions(
char * options = 0,
int *border = 0);
1620 void Notify(
int signal,
void * signal_data = 0);
1628 int UpdateEvent(
bool antialias =
false,
bool forceUpdate =
false);
1648 suppress?m_SuppressUpdate++:m_SuppressUpdate--;
1649 if (m_SuppressUpdate<0)
1650 m_SuppressUpdate = 0;
1665 suppress?m_SuppressUpdateTick++:m_SuppressUpdateTick--;
1666 if (m_SuppressUpdateTick<0)
1667 m_SuppressUpdateTick = 0;
1705 static bool UpdateTick(
float request_time,
float actual_time,
void * user_data);
1714 static bool StreamProgressCallback(
unsigned long so_far,
unsigned long expected,
void * user_data);
1717 void FlushProgressBar();
1734 void SetDynamicHighlighting(
bool state);
1741 virtual int OnNoButtonDownAndMove(
HEventInfo &hevent);
1747 virtual int OnLButtonDownAndMove(
HEventInfo &hevent);
1754 virtual int OnLButtonDblClk(
HEventInfo &hevent);
1760 virtual int OnRButtonDownAndMove(
HEventInfo &hevent);
1765 virtual int OnMButtonDownAndMove(
HEventInfo &hevent);
1770 virtual int OnLRButtonDownAndMove(
HEventInfo &hevent);
1776 virtual int OnLButtonDown(
HEventInfo &hevent);
1796 virtual int OnMouseWheel(
HEventInfo &hevent);
1802 virtual int OnMouseWheel(
HEventInfo &hevent);
1806 virtual bool ComputeReasonableTarget(
HPoint & new_tar,
HPoint const & mouse_win,
HPoint const & tar_orig);
1809 void ComputeNewField(
float & width,
float & height,
HPoint const & new_tar,
1821 virtual void SetShadowColor(
HPoint color);
1827 virtual void SetShadowLightDirection(
bool explicit_light,
HPoint const * direction = 0);
1833 virtual bool GetShadowLightDirection(
HPoint * direction = 0);
1838 virtual void SetShadowIgnoresTransparency(
bool ignore);
1843 virtual bool GetShadowIgnoresTransparency();
1847 virtual void DoDynamicHighlighting(
HPoint mouse_pos);
1851 virtual void SetShadowResolution(
int res);
1855 virtual void SetShadowBlurring(
int blur);
1858 virtual void InternalUpdate();
1887 virtual void SetCameraChanged(
bool val=
true ) { m_bCameraChanged = val;
if(val) ResetIdleTime(); }
1910 virtual void SetVisibilitySelectionMode(
bool onoff);
1913 virtual bool GetVisibilitySelectionMode();
1917 virtual void SetRelatedSelectionLimit(
int limit);
1920 virtual int GetRelatedSelectionLimit();
1926 virtual void SetDetailSelection(
bool onoff);
1929 virtual bool GetDetailSelectionMode();
1938 virtual void SmartFilterCircumcuboid(
const char *segment,
const char *defaults,
HPoint *bottomfrontleft,
HPoint *topbackright);
1946 int SetupHandlesEvent(
HBaseView *view, HC_KEY key,
bool complex);
1954 virtual void SetHasObjects(
bool hasobjects);
1974 virtual void SetDefaultSelectionProximity(
float selectionproximity);
1979 return m_bAllowInteractiveShadows;
1988 m_bAllowInteractiveShadows = onoff;
2010 m_bAllowInteractiveCutGeometry = onoff;
2045 void SetRecordCamera(
bool rc);
2070 void SetTransparency(
char const * text,
bool fast_z_sort=
false);
2076 void SetLineAntialiasing(
bool onoff );
2084 void SetTextAntialiasing(
bool onoff );
2090 void SetDepthOfField(
bool onoff,
float strength = 1.0f);
2096 void SetDepthOfFieldRange(
float near=0.0f,
float far=0.0f);
2115 void SetCullingThreshold(
int cullingthreshold);
2120 int GetCullingThreshold();
2128 void SetHardExtent(
int cutoff);
2133 int GetHardExtent();
2139 void BeginShellSelection();
2143 void EndShellSelection();
2164 void SetDefaultHSRA();
2191 virtual void SetReferenceSelection(
bool use_ref);
2199 bool GetKeyState(
unsigned int key,
int &flags);
2202 void ResetKeyState();
2219 void SetLightScaling(
float sv);
2221 void SetXYSizeOverride(
int x,
int y) { m_XSize_override = x, m_YSize_override = y; }
2251 void EnableTargetFrameRate(
bool enable=
true,
int target=100,
int threshold=10,
int steps=5);
2257 float GetFramerate();
2263 int GetFramerateCullingThreshold();
2269 int GetFramerateSteps();
2272 bool IsFramerateLodEnabled();
2287 void SetFramerateMode(
FramerateMode mode,
float framerate = 0.1f,
int cullingthreshold = 150,
2288 bool enableLods =
false,
int steps = 20,
int cutoff = 1);
2291 bool IsFrameRateEnabled();
2294 bool GetViewActive();
2297 void cleanupSimpList();
2302 void SetAnnotationResize(
bool value);
2320 void ExhaustiveUpdate();
2330 void SetMouseWheelSensitivity(
float sensitivity) {
2331 if (sensitivity > 0)
2332 m_MouseWheelSensitivity = sensitivity;
2336 float GetMouseWheelSensitivity() {
return m_MouseWheelSensitivity; }
2339 void SetSplatRendering(
bool onoff);
2345 void SetSplatSize(
int splat_size);
2360 void UpdateFakeHLRColor(
HPoint paper_color);
2371 static void StaticForceUpdateRequest(
void * view_pointer);
2385 void VisualizeBounding(
bool draw_something, HC_KEY key=INVALID_KEY,
int incl_count=0, HC_KEY * incl_path=0);
2392 HPoint GetFakeHLRColor();
2398 void SetFakeHLRColor(
HPoint color);
2404 void FocusOnSelection(
bool onoff =
true);
2409 bool GetFocusOnSelection() {
return m_FocusedOnSelection; }
2430 bool m_bDisplayHandlesOnDblClk;
2431 bool m_has_initial_view;
2434 int m_HardwareAntialiasing;
2442 HPoint m_SceneBoundingMin;
2443 HPoint m_SceneBoundingMax;
2444 bool m_bSceneBoundingSet;
2445 bool m_bFastFitWorld;
2500 void (* m_pfEventChecker)(HIC_Rendition
const *nr);
2501 bool (* m_pfKeyState)(
unsigned int,
int &);
2527 unsigned long m_AnnotationCookie;
2528 unsigned long m_AxisResizeCookie;
2530 bool m_bSplatRendering;
2533 bool m_FocusedOnSelection;
2541 void ComputeShadowParams(
HPlane& shadow_plane,
HPoint& light_pos);
2548 void AdjustShadowPlane(
HPlane& shadow_plane,
HPoint const & light_pos);
2555 void SetShadowParams(
const HPlane& shadow_plane,
const HPoint& light_pos,
2556 const HPoint* color = 0,
const char * filter = 0);
2564 virtual void SetShadowParams(
HShadow* shadowObj);
2568 void RefreshViewSize();
2575 void QueryDeviceCapabilities();
2585 virtual void UpdateInternal(
bool antialias =
false,
bool force_update =
false);
2592 virtual void SetupLights();
2595 float m_LastRecordTime;
2597 char * m_sDriverPath;
2598 char * m_sDriverType;
2600 void * m_pWindowHandle;
2602 void * m_pClipOverride;
2603 void * m_pWindowHandle2;
2604 struct vlist_s *m_SignalRequestsList;
2606 void * emit_message_function_user_data;
2608 bool m_bPrevBackplaneCullMode;
2611 int m_SuppressUpdate;
2612 int m_SuppressUpdateTick;
2613 bool m_bDynamicHighlighting;
2616 int m_XSize_override;
2617 int m_YSize_override;
2618 float m_LastMouseWheelTime;
2619 float m_MouseWheelSensitivity;
2623 bool m_bUpdateNotFinished;
2624 int m_NotFinishedCounter;
2628 int m_OldCullingThreshold;
2629 float *m_pTempClipArray;
2631 bool m_UseExplicitShadowLight;
2632 HPoint m_ExplicitShadowLightDirection;
2639 HBaseView(
HBaseModel *model,
char * alias,
char * driver_type,
char * instance_name,
long window_handle,
long colormap) {;};
2642 void RebindView(
HBaseModel *model,
char * alias,
char * driver_type,
char * instance_name,
long window_handle,
long colormap) {;};
self-explanatory
Definition: HBaseView.h:104
bool GetFirstUpdate()
Definition: HBaseView.h:2308
HBaseOperator * m_pOperator
Definition: HBaseView.h:2491
bool GetAllowInteractiveCutGeometry()
Definition: HBaseView.h:2003
void SetKeyStateCallback(bool(*KeyState)(unsigned int, int &))
Definition: HBaseView.h:777
HUndoManager * m_pUndoManager
Definition: HBaseView.h:2505
SplatSymbol
Definition: HBaseView.h:287
no handedness; only applies to polygon-handedness
Definition: HBaseView.h:181
bool m_bUpdateRequested
Definition: HBaseView.h:2503
void ClearUpdateRequest()
Definition: HBaseView.h:1640
void(* HBaseViewEmitMessageFunction)(const char *message, unsigned int length, void *user_data)
Definition: HBaseView.h:301
bool m_bBeginShellSelection
Definition: HBaseView.h:2429
bool GetShadowRegenerationMode()
Definition: HBaseView.h:1882
The HConstantFrameRate class provides support for maintaining a constant framerate when rendering...
Definition: HConstantFrameRate.h:493
void SetConstructionKey(HC_KEY construct_key)
Definition: HBaseView.h:976
self-explanatory
Definition: HBaseView.h:106
same as HReanderShaded but with lines visible
Definition: HBaseView.h:84
bool GetSpritingMode()
Definition: HBaseView.h:899
bool GetCPFaceVisibility()
Definition: HBaseView.h:733
float m_SmoothTransitionDuration
Definition: HBaseView.h:2453
FramerateMode
Definition: HBaseView.h:152
MultiThreadingType
Definition: HBaseView.h:198
void InvalidateSceneBounding()
Definition: HBaseView.h:1549
void SetCuttingPlaneGeomKey(HC_KEY cuttingplanegeom_key)
Definition: HBaseView.h:997
HC_KEY m_ViewKey
Definition: HBaseView.h:2460
virtual HFileOutputResult FileOutput(const char *FileName, HOutputHandler *handler, HOutputHandlerOptions *options=0)
Definition: HBaseView.h:685
HShadowRenderingMode
Definition: HBaseView.h:246
ViewMode GetViewMode()
Definition: HBaseView.h:719
bool m_bCPFaceVisibility
Definition: HBaseView.h:2418
opengl p-buffer shadow generation
Definition: HBaseView.h:249
bool m_bAllowInteractiveShadows
Definition: HBaseView.h:2518
HUtilityAntialiasing * GetAntialiasing()
Definition: HBaseView.h:484
simulate hidden line (regular hardware z-buffer, with faces set to window background color) ...
Definition: HBaseView.h:73
HBaseModel * m_pModel
Definition: HBaseView.h:2459
ViewUpdateMode
Definition: HBaseView.h:237
bool m_bShadowRegeneration
Definition: HBaseView.h:2511
bool IsLightFollowCamera()
Definition: HBaseView.h:1249
opengl software shadow generation
Definition: HBaseView.h:250
void SetViewKey(HC_KEY view_key)
Definition: HBaseView.h:922
negative X, positive Y, positive Z
Definition: HBaseView.h:111
HBaseOperator * GetOperator()
Definition: HBaseView.h:1207
HUtilityAntialiasing * m_pAntialiasing
Definition: HBaseView.h:2447
void SetSmoothTransitionDuration(float duration)
Definition: HBaseView.h:1243
Definition: HMarkupManager.h:35
void SetMarkupManager(HMarkupManager *markup)
Definition: HBaseView.h:495
edges and non-lit faces
Definition: HBaseView.h:69
const char * GetDriverPath(void)
Definition: HBaseView.h:692
negative X, positive Y, positive Z
Definition: HBaseView.h:113
HC_KEY m_FakeHLRStyle
Definition: HBaseView.h:2415
ViewUpdateMode GetViewUpdateMode()
Definition: HBaseView.h:1696
void HasInitialView(bool does_it)
Definition: HBaseView.h:2317
self-explanatory
Definition: HBaseView.h:140
unknown mode
Definition: HBaseView.h:166
HC_KEY GetDefaultLightKey(int which=0)
Definition: HBaseView.h:1094
void SetCurrentOperator(HBaseOperator *NewOperator)
Definition: HBaseView.h:1202
bool m_bMouseMove
Definition: HBaseView.h:2509
bool GetUpdateNotFinished()
Definition: HBaseView.h:2323
fake hidden line
Definition: HBaseView.h:91
No display lists.
Definition: HBaseView.h:190
virtual void SetCuttingPlaneRegenerationMode(bool onoff)
Definition: HBaseView.h:1877
The HObjectManager class keeps track of generic MVO objects.
Definition: HEventManager.h:143
HC_KEY GetIncludeLinkKey(void)
Definition: HBaseView.h:925
int GetXSize()
Definition: HBaseView.h:2225
self-explanatory
Definition: HBaseView.h:101
HConstantFrameRate * m_pConstantFrameRate
Definition: HBaseView.h:2495
DisplayListType m_DisplayListType
Definition: HBaseView.h:2437
bool m_bCuttingPlaneRegeneration
Definition: HBaseView.h:2513
bool m_bFirstUpdate
Definition: HBaseView.h:2516
HC_KEY GetProgressBarKey(void)
Definition: HBaseView.h:1007
bool GetSmoothTransition()
Definition: HBaseView.h:1233
void SetZoomLimit(float zoomLimit)
Definition: HBaseView.h:957
void UpdateAxisTriad()
Definition: HBaseView.h:1055
bool(* HSignalNotifyFunction)(int signal, void *signal_data, void *user_data)
Definition: HBaseView.h:59
HC_KEY m_CuttingPlanesKey
Definition: HBaseView.h:2472
self-explanatory
Definition: HBaseView.h:155
phong shading
Definition: HBaseView.h:77
gouraud (smooth) shading with edges turned on
Definition: HBaseView.h:76
void SetLightsKey(HC_KEY lights_key)
Definition: HBaseView.h:949
virtual HFileInputResult FileInput(const char *FileName, HInputHandler *handler, HInputHandlerOptions *options=0)
Definition: HBaseView.h:610
bool m_bAxisTriadTransparencyAllowed
Definition: HBaseView.h:2423
bool GetForceFastHiddenLine()
Definition: HBaseView.h:2063
virtual void SetShadowRegenerationToggle()
Definition: HBaseView.h:1867
int GetSplatSize()
Definition: HBaseView.h:2348
quick-moved geometry was last drawn as overlay, meaning that colors are correct, but that the quick-m...
Definition: HBaseView.h:265
This tells the MVO framework to implicitly perform continuous updates by polling for posted update ev...
Definition: HBaseView.h:240
gouraud (smooth) shading
Definition: HBaseView.h:75
HSelectionSet * m_pHighlight
Definition: HBaseView.h:2494
The HCamera class is the data type of a HOOPS Camera Attribute.
Definition: HUtility.h:543
void SetEmitMessageFunction(HBaseViewEmitMessageFunction new_emit_message_function, void *user_data=0)
Definition: HBaseView.h:1404
HImCuttingGeometry * m_pHImCuttingGeometry
Definition: HBaseView.h:2446
bool GetTransparentSelectionBoxMode()
Definition: HBaseView.h:1098
The represented size of an object doesn't depend on how close or far it is—this can be handy in archi...
Definition: HBaseView.h:168
bool m_bAllowInteractiveCutGeometry
Definition: HBaseView.h:2519
virtual bool GetHasObjects()
Definition: HBaseView.h:1949
bool m_bLButtonDown
Definition: HBaseView.h:2508
void SetUpdateInterrupted(int val)
Definition: HBaseView.h:1021
clamps to LOD1
Definition: HBaseView.h:85
void SetAllowInteractiveCutGeometry(bool onoff)
Definition: HBaseView.h:2009
HSelectionSet * GetHighlightSelection()
Definition: HBaseView.h:2146
self-explanatory
Definition: HBaseView.h:179
bool GetCPLineVisibility()
Definition: HBaseView.h:730
float GetSmoothTransitionDuration()
Definition: HBaseView.h:1246
self-explanatory
Definition: HBaseView.h:180
HC_KEY m_IntersectPolylinesKey
Definition: HBaseView.h:2476
Definition: HImCuttingGeometry.h:124
This tells the MVO framework not to implicitly perform updates. They will be explicity made by calls ...
Definition: HBaseView.h:239
void SetIsoDefault(ViewMode vm)
Definition: HBaseView.h:2104
Fast hidden line.
Definition: HBaseView.h:211
HVector m_TopAxis
Definition: HBaseView.h:2457
bool m_bCuttingPlanesVisibility
Definition: HBaseView.h:2421
bool GetTextAntialiasing()
Definition: HBaseView.h:2099
brep wireframe
Definition: HBaseView.h:89
positive X, positive Y, positive Z (same as HViewISO)
Definition: HBaseView.h:115
wireframe, with shaded lines
Definition: HBaseView.h:81
bool m_bNavCube
Definition: HBaseView.h:2451
HC_KEY GetOverwriteKey(void)
Definition: HBaseView.h:938
void SetBBoxGeometryKey(HC_KEY bbox_key)
Definition: HBaseView.h:981
HLRMode
Definition: HBaseView.h:208
bool m_bCPLineVisibility
Definition: HBaseView.h:2417
HandednessMode
Definition: HBaseView.h:177
virtual void SetShadowRegenerationMode(bool onoff)
Definition: HBaseView.h:1863
In a "stretched" view, an orthographic projection is made, and then the view is "stretched" to fit ex...
Definition: HBaseView.h:169
HObjectManager * m_pObjectManager
Definition: HBaseView.h:2506
The HSelectionSet class manages a list of selected items.
Definition: HSelectionSet.h:71
AxisMode m_bAxisMode
Definition: HBaseView.h:2449
HSelectionHighlightMode
Definition: HGlobals.h:554
bool m_bTransparentSelectionBox
Definition: HBaseView.h:2525
Definition: HGlobals.h:316
Definition: HTManager.h:162
void SetFastFitWorld(bool fw)
Definition: HBaseView.h:2207
Analytic hidden line.
Definition: HBaseView.h:210
HEventManager * m_pEventManager
Definition: HBaseView.h:2504
HC_KEY m_ProgressBarKey
Definition: HBaseView.h:2480
HC_KEY m_OverwriteKey
Definition: HBaseView.h:2464
self-explanatory
Definition: HBaseView.h:102
void SetSpritingMode(bool onoff)
Definition: HBaseView.h:906
virtual const HSelectionHighlightMode GetHighlightMode()
Definition: HBaseView.h:2180
HC_KEY m_WindowspaceKey
Definition: HBaseView.h:2468
virtual bool GetCameraChanged()
Definition: HBaseView.h:1890
void SetUpdateNotFinished(bool NotFinished)
Definition: HBaseView.h:2326
void(*)(HIC_Rendition const *nr) GetEventCheckerCallback()
Definition: HBaseView.h:783
float m_IdleTime
Definition: HBaseView.h:2515
class HPoint HVector
The HVector class is the data type of a three-dimensional vector.
Definition: HGlobals.h:332
int m_CPMode
Definition: HBaseView.h:2419
star bloom
Definition: HBaseView.h:257
unknown view mode
Definition: HBaseView.h:129
const char * GetDriverType(void)
Definition: HBaseView.h:695
virtual void SetInvertMouseWheelZoom(bool val=true)
Definition: HBaseView.h:1895
Geometry-level display lists.
Definition: HBaseView.h:191
bool GetDynamicHighlighting()
Definition: HBaseView.h:1729
HSelectionHighlightMode m_HighlightMode
Definition: HBaseView.h:2436
bool GetSceneBoundingSet()
Definition: HBaseView.h:1540
ViewUpdateMode m_ViewUpdateMode
Definition: HBaseView.h:2502
class HDebugZBuffer * m_pDebugZBuffer
Definition: HBaseView.h:2507
void SetViewAxis(HVector *front_axis, HVector *top_axis)
Definition: HBaseView.h:2154
same as HViewIsoxYz
Definition: HBaseView.h:120
bool EmittingMessages()
Definition: HBaseView.h:1414
unknown mode
Definition: HBaseView.h:138
void SetSuppressUpdateTick(bool suppress)
Definition: HBaseView.h:1664
HCutGeometryVisibility
Definition: HGlobals.h:107
HC_KEY GetShadowMapSegmentKey(void)
Definition: HBaseView.h:941
HEventInfo * m_pEvent
Definition: HBaseView.h:2492
bool m_bTextAntialiasing
Definition: HBaseView.h:2428
currently does nothing
Definition: HBaseView.h:72
bool GetAnnotationResize()
Definition: HBaseView.h:2305
void SetHardwareAntialiasing(int antialiasinglevel)
Definition: HBaseView.h:2363
Objects which are close to the eye appear large, and objects which are far away appear small...
Definition: HBaseView.h:167
Like AxisOn, but without the planes.
Definition: HBaseView.h:220
The HEventManager class dispatches arbitrary events.
Definition: HEventManager.h:50
vertices only (shaded)
Definition: HBaseView.h:83
The driver returns geometry objects from selections.
Definition: HBaseView.h:278
void SetProgressBarKey(HC_KEY key)
Definition: HBaseView.h:1012
bool GetCuttingPlaneRegenerationMode()
Definition: HBaseView.h:1871
void SetDisplayHandlesOnDblClk(bool dh)
Definition: HBaseView.h:2311
bool m_bSmoothTransition
Definition: HBaseView.h:2452
the driver is unable to quick move at all
Definition: HBaseView.h:263
HBloomShape
Definition: HBaseView.h:254
same as HReanderShaded but with lines visible
Definition: HBaseView.h:79
HC_KEY m_BBoxGeometryKey
Definition: HBaseView.h:2466
bool m_bLineAntialiasing
Definition: HBaseView.h:2427
AxisMode GetAxisMode()
Definition: HBaseView.h:1041
The HDB class serves as a wrapper/utility class to manage an instance of the HOOPS/3dGS scene-graph...
Definition: HDB.h:38
HRenderMode
Definition: HBaseView.h:66
self-explanatory
Definition: HBaseView.h:139
bool GetHideOverlappedText()
Definition: HBaseView.h:1220
ViewMode
Definition: HBaseView.h:98
HRenderMode m_RenderMode
Definition: HBaseView.h:2489
HSelectionSet * m_pSelection
Definition: HBaseView.h:2493
LightingIntMode
Definition: HBaseView.h:136
self-explanatory
Definition: HBaseView.h:156
void RequestUpdate()
Definition: HBaseView.h:1636
void SetNavCube(bool onoff)
Definition: HBaseView.h:1230
HC_KEY GetAxisTriadKey()
Definition: HBaseView.h:1217
bool(*)(unsigned int, int &) GetKeyStateCallback()
Definition: HBaseView.h:780
The HBaseModel class is used to store and manage model information.
Definition: HBaseModel.h:52
bool m_bLightFollowsCamera
Definition: HBaseView.h:2454
The HBaseOperator class serves as a base for classes which handle user input and operate on the scene...
Definition: HBaseOperator.h:65
quick-moved geometry was last drawn as spriting, color-correct and depth-mixed with the rest of the s...
Definition: HBaseView.h:266
hidden line-ish removal
Definition: HBaseView.h:88
wireframe + silhouette
Definition: HBaseView.h:80
bool GetRecordMode()
Definition: HBaseView.h:2048
The HPoint class is the data type of a three-dimensional point.
Definition: HGlobals.h:126
The HUtilityAntialiasing class contains a set of function for software based image antialiasing...
Definition: HUtilityAntialiasing.h:35
HC_KEY GetBBoxGeometryKey(void)
Definition: HBaseView.h:979
void SetForceFastHiddenLine(bool force)
Definition: HBaseView.h:2060
negative X, positive Y, positive Z
Definition: HBaseView.h:110
This class has been deprecated.
Definition: HUtilityShadow.h:98
HQuickMovesMethod
Definition: HBaseView.h:261
HBaseOperator * GetCurrentOperator()
Definition: HBaseView.h:1213
float GetMaximumUpdateTime()
Definition: HBaseView.h:2175
bool GetAllowInteractiveShadows()
Definition: HBaseView.h:1978
DisplayListType
Definition: HBaseView.h:188
HC_KEY m_AxisTriadKey
Definition: HBaseView.h:2478
The HBaseView class defines and manages a view of model information.
Definition: HBaseView.h:337
HRenderMode GetRenderMode()
Definition: HBaseView.h:716
self-explanatory
Definition: HBaseView.h:103
void * GetEmitMessageFunctionUserData()
Definition: HBaseView.h:1424
HC_KEY GetViewKey(void)
Definition: HBaseView.h:920
HConstantFrameRate * GetConstantFrameRateObject(void)
Definition: HBaseView.h:766
virtual HBaseModel * GetModel()
Definition: HBaseView.h:709
none view mode
Definition: HBaseView.h:100
bool HasInitialView()
Definition: HBaseView.h:2314
HAnimateMode
Definition: HBaseView.h:1519
HC_KEY m_FakeHLRSource
Definition: HBaseView.h:2416
bool m_bCuttingPlanesExist
Definition: HBaseView.h:2420
virtual float GetDefaultSelectionProximity()
Definition: HBaseView.h:1970
void SetCuttingPlanesKey(HC_KEY cuttingplanes_key)
Definition: HBaseView.h:989
bool m_bSpritingAllowed
Definition: HBaseView.h:2422
HBaseOperator * m_pHandleOperator
Definition: HBaseView.h:2517
bool m_bGeometryChanged
Definition: HBaseView.h:2441
bool GetSuppressUpdateTick()
Definition: HBaseView.h:1674
Segment-level display lists.
Definition: HBaseView.h:192
HMarkupManager * m_pMarkupManager
Definition: HBaseView.h:2448
edges/lines only
Definition: HBaseView.h:68
Square.
Definition: HBaseView.h:290
HVector m_FrontAxis
Definition: HBaseView.h:2456
bool m_bInvertMouseWheelZoom
Definition: HBaseView.h:2526
ViewMode m_ViewMode
Definition: HBaseView.h:2490
image driver shadow generation
Definition: HBaseView.h:248
int m_AxisWindowSize
Definition: HBaseView.h:2424
HSharedKey * GetSharedKey()
Definition: HBaseView.h:1509
bool GetCuttingPlanesVisibility()
Definition: HBaseView.h:758
void * GetWindowHandle()
Definition: HBaseView.h:2025
positive X, positive Y, positive Z (same as HViewISO)
Definition: HBaseView.h:108
void SetAllowInteractiveShadows(bool onoff)
Definition: HBaseView.h:1987
Definition: HConstantFrameRate.h:84
HCamera m_InitialCamera
Definition: HBaseView.h:2522
int m_InUpdateInternal
Definition: HBaseView.h:2499
ViewMode m_IsoDefault
Definition: HBaseView.h:2435
bool GetSuppressUpdate()
Definition: HBaseView.h:1657
HSelectionSet * GetSelection(void)
Definition: HBaseView.h:701
unknown mode
Definition: HBaseView.h:154
The HEventInfo class stores and manages event information.
Definition: HEventInfo.h:214
bool m_bForceFastHiddenLine
Definition: HBaseView.h:2426
indicates shaded rendering; underlying code will use phong if hardware accel is avialable, otherwise gouraud will be used
Definition: HBaseView.h:78
virtual void ClearGeometryChanged()
Definition: HBaseView.h:1569
void SetSelection(HSelectionSet *selection)
Definition: HBaseView.h:706
float m_DefaultSelectionProximity
Definition: HBaseView.h:2520
UpDirection
Definition: HBaseView.h:226
Gooch Shaded.
Definition: HBaseView.h:90
HShadowMode
Definition: HGlobals.h:97
HC_KEY m_SceneKey
Definition: HBaseView.h:2462
void SetMaximumUpdateTime(float mut)
Definition: HBaseView.h:2170
HSharedKey * m_pSharedKey
Definition: HBaseView.h:2497
HShadowMode m_ShadowMode
Definition: HBaseView.h:2496
negative X, positive Y, positive Z
Definition: HBaseView.h:112
This tells the MVO framework to implicitly perform continuous culled, timed updates drawing culled it...
Definition: HBaseView.h:241
hidden line-ish removal
Definition: HBaseView.h:87
HBaseViewEmitMessageFunction GetEmitMessageFunction()
Definition: HBaseView.h:1419
Definition: HUndoManager.h:174
quick-moved geometry was last drawn as XOR (exclusive OR), meaning that colors are often inverted or ...
Definition: HBaseView.h:264
bool GetUpdateRequested()
Definition: HBaseView.h:1632
ProjMode
Definition: HBaseView.h:164
void SetSuppressUpdate(bool suppress)
Definition: HBaseView.h:1647
self-explanatory
Definition: HBaseView.h:222
HOpCameraManipulate * m_pManipulateOperator
Definition: HBaseView.h:2510
bool m_bCameraChanged
Definition: HBaseView.h:2514
self-explanatory
Definition: HBaseView.h:105
bool GetSplatRendering()
Definition: HBaseView.h:2342
bool m_bInitialCameraSet
Definition: HBaseView.h:2523
virtual bool GetInvertMouseWheelZoom()
Definition: HBaseView.h:1898
void SetIntersectPolylinesKey(HC_KEY intersectpolylines_key)
Definition: HBaseView.h:1004
int m_UpdateInterrupted
Definition: HBaseView.h:2498
virtual void SetCameraChanged(bool val=true)
Definition: HBaseView.h:1887
The HTouchManager class stores and manages touch input.
Definition: HEventInfo.h:142
same as HViewIsoXYZ and HViewISO
Definition: HBaseView.h:117
clamps to LOD2
Definition: HBaseView.h:86
HC_KEY m_LightsKey
Definition: HBaseView.h:2487
int GetYSize()
Definition: HBaseView.h:2228
AxisMode
Definition: HBaseView.h:217
The HOpCameraManipulate class combines the Orbit, Pan and Zoom Operators.
Definition: HOpCameraManipulate.h:47
bool m_bHideOverlappedText
Definition: HBaseView.h:2450
Like AxisOn, but centered differently.
Definition: HBaseView.h:221
bool m_bShadowRegenerationToggle
Definition: HBaseView.h:2512
HC_KEY m_lIncludeLinkKey
Definition: HBaseView.h:2486
shell/mesh silhouette edges
Definition: HBaseView.h:70
self-explanatory
Definition: HBaseView.h:219
void SetDebugZBuffer(HDebugZBuffer *dzb)
Definition: HBaseView.h:1038
hidden line removal
Definition: HBaseView.h:71
ViewMode GetIsoDefault()
Definition: HBaseView.h:2107
The HPlane class is the data type of a plane.
Definition: HGlobals.h:339
void SetConstantFrameRateObject(HConstantFrameRate *cf)
Definition: HBaseView.h:771
int GetHardwareAntialiasing()
Definition: HBaseView.h:2366
SplatSymbol GetSplatSymbol()
Definition: HBaseView.h:2354
bool GetInitialCameraSet()
Definition: HBaseView.h:2030
negative X, positive Y, positive Z
Definition: HBaseView.h:109
void SetIncludeLinkKey(HC_KEY link)
Definition: HBaseView.h:927
The driver returns segment trees from selections.
Definition: HBaseView.h:280
radial bloom
Definition: HBaseView.h:256
vertices only
Definition: HBaseView.h:82
void SetWindowspaceKey(HC_KEY winspace_key)
Definition: HBaseView.h:968
Round.
Definition: HBaseView.h:289
Fake hidden line.
Definition: HBaseView.h:212
Definition: HDebugZBuffer.h:34
HTouchManager * GetTouchManager()
Definition: HBaseView.h:2412
HTouchManager * m_TouchManager
Definition: HBaseView.h:2432
The driver returns segment objects from selections.
Definition: HBaseView.h:279
HC_KEY m_CuttingPlaneGeomKey
Definition: HBaseView.h:2474
positive X, positive Y, positive Z (same as HViewISO)
Definition: HBaseView.h:114
int m_WindowColorPercentage
Definition: HBaseView.h:2455
flat shading
Definition: HBaseView.h:74
bool HaveMarkupManager()
Definition: HBaseView.h:490
float m_MaximumUpdateTime
Definition: HBaseView.h:2521
HC_KEY m_ConstructionKey
Definition: HBaseView.h:2470
bool m_bRecordCamera
Definition: HBaseView.h:2524
same as HViewIsoXYz
Definition: HBaseView.h:119
HShadowMode GetShadowMode()
Definition: HBaseView.h:1071
self-explanatory
Definition: HBaseView.h:107
virtual bool GeometryChanged()
Definition: HBaseView.h:1572
same as HViewIsoxYZ
Definition: HBaseView.h:118
bool GetLineAntialiasing()
Definition: HBaseView.h:2079
int GetLightCount()
Definition: HBaseView.h:1266
virtual HBaseOperator * GetHandleOperator()
Definition: HBaseView.h:1965
Definition: HSharedKey.h:84
virtual void SetHandleOperator(HBaseOperator *op)
Definition: HBaseView.h:1960
void GetViewAxis(HVector *front_axis, HVector *top_axis)
Definition: HBaseView.h:2159
HViewSelectionLevel
Definition: HBaseView.h:276
void SetSceneKey(HC_KEY scene_key)
Definition: HBaseView.h:935
void SetTransparentSelectionBoxMode(bool mode)
Definition: HBaseView.h:1103