Foxit PDF SDK
fs_pdf3d.h
1 #if (defined(_WIN32) || defined(_WIN64)) || defined(__EMSCRIPTEN__)
2 
16 #ifndef FS_3DPDF_H_
17 #define FS_3DPDF_H_
18 #include "common/fs_common.h"
19 #include "pdf/fs_pdfdoc.h"
20 #include "pdf/annots/fs_annot.h"
26 namespace foxit {
28 namespace addon {
30 namespace pdf3d {
32 class PDF3DAnnotViewData FS_FINAL : public Object{
33  public:
36 
43  this->display_name = other.display_name;
44  this->name = other.name;
45  }
46 
54  this->display_name = data.display_name;
55  this->name = data.name;
56  return *this;
57  }
58 
61 
64 };
65 
68 
69 
74 class ModelNode FS_FINAL : public Base{
75  public:
81  typedef enum _PDF3DModelNodeType {
83  e_TypeModelRoot = 0,
85  e_TypeGroup = 1,
87  e_TypeMesh = 2,
89  e_TypeSprite = 3,
91  e_TypeMarkup = 4,
93  e_TypePunctualLight = 5,
95  e_TypeAmbientLight = 6,
97  e_TypeViewCamera = 7,
99  e_TypeClippingPlane = 8,
101  e_TypeProcedural = 9,
103  e_TypeBone = 10,
105  e_TypeDummy = 11
106  } PDF3DModelNodeType;
107 
110 
116  ModelNode(const ModelNode& other);
117 
119  ~ModelNode();
120 
128  bool IsEmpty() const;
129 
137  ModelNode& operator=(const ModelNode& other);
138 
146  bool operator==(const ModelNode& other) const;
147 
155  bool operator!=(const ModelNode& other) const;
156 
163  PDF3DModelNodeType GetNodeType();
164 
170  ModelNode GetFirstChildNode();
171 
177  ModelNode GetNextSiblingNode();
178 
184  ModelNode GetParentNode();
185 
191  WString GetName();
192 
201  void SetVisible(bool is_visible);
202 
208  bool IsVisible();
209 
210  // User is strongly recommended NOT to use this method; otherwise unknown situation may occur.
211  explicit ModelNode(FS_HANDLE handle);
212 };
213 
219 class PDF3DAnnotInstance FS_FINAL : public Base{
220  public:
226  typedef enum _PDF3DController {
239  } PDF3DController;
240 
246  typedef enum _PDF3DRenderMode {
277  } PDF3DRenderMode;
278 
279 
282 
289 
292 
301 
309  bool operator==(const PDF3DAnnotInstance& other) const;
310 
318  bool operator!=(const PDF3DAnnotInstance& other) const;
319 
327  bool IsEmpty() const;
328 
340  void SetController(PDF3DController tool_tag);
341 
353  void SetRenderMode(PDF3DRenderMode render_mode);
354 
362  FX_HWND ActivateCanvas(FX_HWND screen_canvas_parent);
363 
374  void UpdateCanvas(RectI rect);
375 
386  void OnLButtonDown(int flag, PointF point);
387 
398  void OnLButtonUp(int flag, PointF point);
399 
410  void OnMouseMove(int flag, PointF point);
411 
423  void OnMouseWheel(int flag, int delta, PointF point);
424 
435  void OnRButtonDown(int flag, PointF point);
436 
447  void OnRButtonUp(int flag, PointF point);
448 
456  void ResetDefaultView();
457 
466 
476  void ApplyPresetView(const PDF3DAnnotViewData& view_data);
477 
486 
487  // User is strongly recommended NOT to use this method; otherwise unknown situation may occur.
488  explicit PDF3DAnnotInstance(FS_HANDLE handle);
489 };
492 
493 
494 class PDF3DAnnot FS_FINAL : public Base{
495  public:
501  typedef enum _PDF3DType {
503  e_3DTypeArtwork = 0,
505  e_3DTypeRichMedia = 1
506  } PDF3DType;
507 
508 
510  ~PDF3DAnnot();
511 
517  PDF3DAnnot(const PDF3DAnnot& other);
518 
526  PDF3DAnnot& operator=(const PDF3DAnnot& other);
527 
535  bool operator==(const PDF3DAnnot& other) const;
536 
544  bool operator!=(const PDF3DAnnot& other) const;
545 
553  bool IsEmpty() const;
554 
560  int GetAnnotIndex();
561 
567  pdf::annots::Annot GetAnnot();
568 
575  PDF3DType Get3DAnnotType();
576 
584  PDF3DAnnotInstance Get3DArtworkInstance();
585 
593  PDF3DAnnotInstanceArray GetRichMediaInstances();
594 
595  // User is strongly recommended NOT to use this method; otherwise unknown situation may occur.
596  explicit PDF3DAnnot(FS_HANDLE handle);
597 };
598 FSDK_DEFINE_ARRAY(PDF3DAnnotArray, PDF3DAnnot)
599 
600 
601 class PDF3DLaunchSetting FS_FINAL : public Object {
602  public:
608  typedef enum _PDF3DActivationEnableSetting {
610  e_3DActivationEnableSettingContentClicked = 0,
612  e_3DActivationEnableSettingPageOpened = 1,
614  e_3DActivationEnableSettingPageVisible = 2
615  } PDF3DActivationEnableSetting;
616 
622  typedef enum _PDF3DActivationDisableSetting {
624  e_3DActivationDisableSettingContextMenuSelected = 0,
626  e_3DActivationDisableSettingPageClosed = 1,
628  e_3DActivationDisableSettingPageInvisible = 2
629  } PDF3DActivationDisableSetting;
630 
636  typedef enum _PDF3DActivationPlaybackStyleSetting {
638  e_3DActivationPlaybackStyleOnPage = 0,
640  e_3DActivationPlaybackStyleInFloatingWindow = 1
641  } PDF3DActivationPlaybackStyleSetting;
642 
648  typedef enum _PDF3DAppearanceSettingBorderWidth {
650  e_3DAppearanceSettingBorderWidthNone = 0,
652  e_3DAppearanceSettingBorderWidthThin = 1,
654  e_3DAppearanceSettingBorderWidthMedium = 2,
656  e_3DAppearanceSettingBorderWidthThick = 3
657  } PDF3DAppearanceSettingBorderWidth;
658 
664  typedef enum _PDF3DPosterImageSetting {
666  e_3DPosterImageKeepCurrent = 0,
668  e_3DPosterImageRetrieveFromDefaultView = 1,
670  e_3DPosterImageCreateFromFile = 2
671  } PDF3DPosterImageSetting;
672 
673 
676  : activation_enable(e_3DActivationEnableSettingContentClicked)
677  , activation_disable(e_3DActivationDisableSettingContextMenuSelected)
678  , activation_playback(e_3DActivationPlaybackStyleOnPage)
679  , window_width(320)
680  , window_height(240)
681  , border_width(e_3DAppearanceSettingBorderWidthNone)
682  , is_transparent_background(false)
683  , poster_image(e_3DPosterImageKeepCurrent)
684  , poster_file_path(L"") {
685  }
686 
692  PDF3DLaunchSetting(const PDF3DLaunchSetting& launch_setting)
693  : activation_enable(launch_setting.activation_enable)
694  , activation_disable(launch_setting.activation_disable)
695  , activation_playback(launch_setting.activation_playback)
696  , window_width(launch_setting.window_width)
697  , window_height(launch_setting.window_height)
698  , border_width(launch_setting.border_width)
699  , is_transparent_background(launch_setting.is_transparent_background)
700  , poster_image(launch_setting.poster_image)
701  , poster_file_path(launch_setting.poster_file_path) {
702  }
703 
728  PDF3DActivationPlaybackStyleSetting activation_playback, int window_width, int window_height,
729  PDF3DAppearanceSettingBorderWidth border_width, bool is_transparent_background,
730  PDF3DPosterImageSetting poster_image, WString poster_file_path) {
731  this->activation_enable = activation_enable;
732  this->activation_disable = activation_disable;
733  this->activation_playback = activation_playback;
734  this->window_width = window_width;
735  this->window_height = window_height;
736  this->border_width = border_width;
737  this->is_transparent_background = is_transparent_background;
738  this->poster_image = poster_image;
739  this->poster_file_path = poster_file_path;
740  }
741 
767  void Set(PDF3DActivationEnableSetting activation_enable, PDF3DActivationDisableSetting activation_disable ,
768  PDF3DActivationPlaybackStyleSetting activation_playback, int window_width, int window_height,
769  PDF3DAppearanceSettingBorderWidth border_width, bool is_transparent_background,
770  PDF3DPosterImageSetting poster_image, WString poster_file_path) {
771  this->activation_enable = activation_enable;
772  this->activation_disable = activation_disable;
773  this->activation_playback = activation_playback;
774  this->window_width = window_width;
775  this->window_height = window_height;
776  this->border_width = border_width;
777  this->is_transparent_background = is_transparent_background;
778  this->poster_image = poster_image;
779  this->poster_file_path = poster_file_path;
780  }
781 
790  this->activation_enable = launch_setting.activation_enable;
791  this->activation_disable = launch_setting.activation_disable;
792  this->activation_playback = launch_setting.activation_playback;
793  this->window_width = launch_setting.window_width;
794  this->window_height = launch_setting.window_height;
795  this->border_width = launch_setting.border_width;
796  this->is_transparent_background = launch_setting.is_transparent_background;
797  this->poster_image = launch_setting.poster_image;
798  this->poster_file_path = launch_setting.poster_file_path;
799  return *this;
800  }
801 
808 
815 
822 
827 
832 
839 
845 
852 
858 };
859 
861 class PDF3DAdvancedSetting FS_FINAL : public Object{
862  public:
868  typedef enum _PDF3DLightingScheme {
896 
902  typedef enum _PDF3DRenderingStyle {
936 
942  typedef enum _PDF3DAnimationStyle {
950 
956  typedef enum _PDF3DDefaultViews {
972 
973 
976  : background_color(0x5E5E5E)
981  , is_add_default_views(false)
983  , is_show_tool_bar(true)
984  , is_open_model_tree(false)
985  , script_file_path(L"") {
986  }
987 
994  : background_color(advanced_setting.background_color)
995  , lighting_scheme(advanced_setting.lighting_scheme)
996  , rendering_style(advanced_setting.rendering_style)
997  , animation_style(advanced_setting.animation_style)
998  , default_views(advanced_setting.default_views)
999  , is_add_default_views(advanced_setting.is_add_default_views)
1001  , is_show_tool_bar(advanced_setting.is_show_tool_bar)
1002  , is_open_model_tree(advanced_setting.is_open_model_tree)
1003  , script_file_path(advanced_setting.script_file_path) {
1004  }
1005 
1014  this->background_color = advanced_setting.background_color;
1015  this->lighting_scheme = advanced_setting.lighting_scheme;
1016  this->rendering_style = advanced_setting.rendering_style;
1017  this->animation_style = advanced_setting.animation_style;
1018  this->default_views = advanced_setting.default_views;
1019  this->is_add_default_views = advanced_setting.is_add_default_views;
1021  this->is_show_tool_bar = advanced_setting.is_show_tool_bar;
1022  this->is_open_model_tree = advanced_setting.is_open_model_tree;
1023  this->script_file_path = advanced_setting.script_file_path;
1024  return *this;
1025  }
1026 
1053  this->background_color = background_color;
1054  this->lighting_scheme = lighting_scheme;
1055  this->rendering_style = rendering_style;
1056  this->animation_style = animation_style;
1057  this->default_views = default_views;
1058  this->is_add_default_views = is_add_default_views;
1059  this->is_retain_views_and_comments = is_retain_views_and_comments;
1060  this->is_show_tool_bar = is_show_tool_bar;
1061  this->is_open_model_tree = is_open_model_tree;
1062  this->script_file_path = script_file_path;
1063  }
1092  this->background_color = background_color;
1093  this->lighting_scheme = lighting_scheme;
1094  this->rendering_style = rendering_style;
1095  this->animation_style = animation_style;
1096  this->default_views = default_views;
1097  this->is_add_default_views = is_add_default_views;
1098  this->is_retain_views_and_comments = is_retain_views_and_comments;
1099  this->is_show_tool_bar = is_show_tool_bar;
1100  this->is_open_model_tree = is_open_model_tree;
1101  this->script_file_path = script_file_path;
1102  }
1107 
1114 
1121 
1128 
1135 
1141 
1147 
1153 
1159 
1162 };
1163 
1172 class PDF3DContext FS_FINAL : public Base{
1173  public:
1175  explicit PDF3DContext(const pdf::PDFDoc& doc);
1176 
1182  PDF3DContext(const PDF3DContext& other);
1183 
1185  ~PDF3DContext();
1186 
1194  PDF3DContext& operator=(const PDF3DContext& other);
1195 
1203  bool operator==(const PDF3DContext& other) const;
1204 
1212  bool operator!=(const PDF3DContext& other) const;
1213 
1221  bool IsEmpty() const;
1222 
1231  PDF3DAnnotArray GetPage3DAnnotArray(int page_index);
1232 
1240  void Invalidate();
1241 
1254  PDF3DAnnot Add3DAnnot(const wchar_t* threeD_file_path, int page_index, foxit::RectF rectf, void* screen_canvas_parent,
1255  PDF3DLaunchSetting launch_setting, PDF3DAdvancedSetting advanced_setting);
1256 
1270  PDF3DAnnot Add3DAnnot(foxit::common::file::ReaderCallback* threeD_file_read, int page_index, foxit::RectF rectf, void* screen_canvas_parent, PDF3DLaunchSetting launch_setting, PDF3DAdvancedSetting advanced_setting);
1271 
1272  // User is strongly recommended NOT to use this method; otherwise unknown situation may occur.
1273  explicit PDF3DContext(FS_HANDLE handle = NULL);
1274 };
1275 } //pdf3d
1276 } //addon
1277 } //foxit
1278 #endif //FS_3DPDF_H_
1279 #endif //defined(_WIN32) || defined(_WIN64)
Definition: fs_pdf3d.h:219
PDF3DLightingScheme lighting_scheme
The lighting scheme setting for 3D. Please refer to values starting from PDF3DAdvancedSetting::e_3DLi...
Definition: fs_pdf3d.h:1113
PDF3DDefaultViews default_views
The default views setting for 3D. Please refer to values starting from PDF3DAdvancedSetting::e_3DDefa...
Definition: fs_pdf3d.h:1134
PDF3DAnnotViewData()
Constructor.
Definition: fs_pdf3d.h:35
PDF3DRenderMode
Enumeration for the 3D render mode.
Definition: fs_pdf3d.h:246
void OnRButtonUp(int flag, PointF point)
Call this function when releasing the right button.
int window_width
The window width setting for 3D. Default value is 320.
Definition: fs_pdf3d.h:826
Transparent bounding box.
Definition: fs_pdf3d.h:260
PDF3DLightingScheme
Enumeration for lighting scheme for the 3D advanced setting type.
Definition: fs_pdf3d.h:868
PDF3DActivationDisableSetting
Enumeration for activation disable setting for the 3D launch setting type.
Definition: fs_pdf3d.h:622
CFX_Object Object
Object type.
Definition: fs_basictypes.h:220
PDF3DAnnotInstance & operator=(const PDF3DAnnotInstance &other)
Assign operator.
Header file for PDF document related definitions and classes.
WString name
The name of the view, which is the unique name.
Definition: fs_pdf3d.h:63
foxit::RGB background_color
The background color.Default value: 0x5e5e5e.
Definition: fs_pdf3d.h:1106
void SetRenderMode(PDF3DRenderMode render_mode)
Set model render mode.
PDF3DAnnotArray GetPage3DAnnotArray(int page_index)
Get 3d annot objects array by page index.
PDF3DAnnotViewDataArray GetPresetViewList()
Get the list of all preset views in the 3D model.
PDF3DAnnot Add3DAnnot(const wchar_t *threeD_file_path, int page_index, foxit::RectF rectf, void *screen_canvas_parent, PDF3DLaunchSetting launch_setting, PDF3DAdvancedSetting advanced_setting)
Add a 3D annotation to the PDF page.
PDF3DAnnotInstance()
Constructor.
Definition: fs_pdf3d.h:281
uint32 RGB
RGB color type, 24 bits, ((b) | ((g) << 8) | ((r) << 16)))
Definition: fs_basictypes.h:211
PDF3DAnimationStyle animation_style
The activation animation style setting for 3D. Please refer to values starting from PDF3DAdvancedSett...
Definition: fs_pdf3d.h:1127
void ApplyPresetView(const PDF3DAnnotViewData &view_data)
Apply the preset view .
Definition: fx_coordinates.h:30
This class represents the data of a 3D annotation view.
Definition: fs_pdf3d.h:32
This class represents PDF 3D annotation.
Definition: fs_pdf3d.h:494
WString display_name
The display name of the view. This name can be duplicated with other views.
Definition: fs_pdf3d.h:60
void OnMouseWheel(int flag, int delta, PointF point)
Call this function when scrolling the mouse wheel.
File reading interface.
Definition: fx_stream.h:587
WIDE STRING CLASS.
Definition: fx_string.h:1461
WString script_file_path
This flag indicates the script file path.
Definition: fs_pdf3d.h:1161
Definition: fs_pdf3d.h:1172
PDF3DRenderingStyle rendering_style
The activation rendering style setting for 3D. Please refer to values starting from PDF3DAdvancedSett...
Definition: fs_pdf3d.h:1120
This class represents an array of PDF3DAnnotInstance.
Definition: fs_pdf3d.h:491
Left,top,right,front,bottom,back(all ortho).
Definition: fs_pdf3d.h:968
PDF3DAnnotViewData(const PDF3DAnnotViewData &other)
Constructor, with another 3D annot view data object.
Definition: fs_pdf3d.h:42
WString poster_file_path
The file path of poster image. This field is valid only when poster_image is set to PDF3DLaunchSettin...
Definition: fs_pdf3d.h:857
Definition: fs_pdfdoc.h:776
int window_height
The window height setting for 3D. Default value is 240.
Definition: fs_pdf3d.h:831
bool is_transparent_background
This flag indicates whether the 3D content background is transparent. true means transparent,...
Definition: fs_pdf3d.h:844
void OnLButtonDown(int flag, PointF point)
Call this function when pressing the left button.
void OnRButtonDown(int flag, PointF point)
Call this function when pressing the right button.
FX_HWND ActivateCanvas(FX_HWND screen_canvas_parent)
Activate canvas.
PDF3DActivationEnableSetting activation_enable
The activation enable setting for 3D. Please refer to values starting from PDF3DLaunchSetting::e_3DAc...
Definition: fs_pdf3d.h:807
PDF3DActivationDisableSetting activation_disable
The activation disable setting for 3D. Please refer to values starting from PDF3DLaunchSetting::e_3DA...
Definition: fs_pdf3d.h:814
This class represents an array of PDF3DAnnotViewData.
Definition: fs_pdf3d.h:67
bool is_retain_views_and_comments
This flag indicates whether to retain views and comments. true means to retain, while false means not...
Definition: fs_pdf3d.h:1146
Left,top,front,Iso(all perspective).
Definition: fs_pdf3d.h:962
bool is_add_default_views
This flag indicates whether to add default views. true means to add, while false means not....
Definition: fs_pdf3d.h:1140
bool operator==(const char *str1, const CFX_ByteString &str2)
Check if two byte strings are equal.
Definition: fs_basictypes.h:128
void Set(foxit::RGB background_color, PDF3DLightingScheme lighting_scheme, PDF3DRenderingStyle rendering_style, PDF3DAnimationStyle animation_style, PDF3DDefaultViews default_views, bool is_add_default_views, bool is_retain_views_and_comments, bool is_show_tool_bar, bool is_open_model_tree, WString script_file_path)
Set the values.
Definition: fs_pdf3d.h:1088
Definition: fs_pdf3d.h:74
bool is_open_model_tree
This flag indicates whether to open model tree. true means to open, while false means not....
Definition: fs_pdf3d.h:1158
PDF3DPosterImageSetting
Enumeration for poster image for the 3D launch setting type.
Definition: fs_pdf3d.h:664
PDF3DAppearanceSettingBorderWidth
Enumeration for appearance setting for border width for the 3D launch setting type.
Definition: fs_pdf3d.h:648
PDF3DAdvancedSetting()
Constructor.
Definition: fs_pdf3d.h:975
Header file for annotation related definitions and classes.
bool is_show_tool_bar
This flag indicates whether to show tool bar. true means to show, while false means not....
Definition: fs_pdf3d.h:1152
void * FX_HWND
Window handle: HWND.
Definition: fs_basictypes.h:217
PDF3DLaunchSetting()
Constructor.
Definition: fs_pdf3d.h:675
ModelNode()
Constructor.
Definition: fs_pdf3d.h:109
PDF3DLaunchSetting & operator=(const PDF3DLaunchSetting &launch_setting)
Assign operator.
Definition: fs_pdf3d.h:789
Transparent bounding box outline.
Definition: fs_pdf3d.h:262
bool operator==(const PDF3DContext &other) const
Equal operator.
PDF3DRenderingStyle
Enumeration for rendering style for the 3D advanced setting type.
Definition: fs_pdf3d.h:902
PDF3DAdvancedSetting(const PDF3DAdvancedSetting &advanced_setting)
Constructor, with another 3D advanced setting object.
Definition: fs_pdf3d.h:993
bool operator==(const PDF3DAnnotInstance &other) const
Equal operator.
bool IsEmpty() const
Check whether current object is empty or not.
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:213
PDF3DActivationPlaybackStyleSetting activation_playback
The activation playback setting for 3D. Please refer to values starting from PDF3DLaunchSetting::e_3D...
Definition: fs_pdf3d.h:821
Header file for common definitions and classes.
bool operator!=(const PDF3DAnnotInstance &other) const
Not equal operator.
ModelNode GetRootNode()
Get the root node of the 3D model tree structure.
PDF3DAnimationStyle
Enumeration for animation style for the 3D advanced setting type.
Definition: fs_pdf3d.h:942
PDF3DLaunchSetting(PDF3DActivationEnableSetting activation_enable, PDF3DActivationDisableSetting activation_disable, PDF3DActivationPlaybackStyleSetting activation_playback, int window_width, int window_height, PDF3DAppearanceSettingBorderWidth border_width, bool is_transparent_background, PDF3DPosterImageSetting poster_image, WString poster_file_path)
Constructor with parameter.
Definition: fs_pdf3d.h:727
PDF3DContext & operator=(const PDF3DContext &other)
Assign operator.
Definition: fx_coordinates.h:596
void OnMouseMove(int flag, PointF point)
Call this function when moving the mouse.
Definition: fs_basictypes.h:451
Left,top,front,Iso(all ortho).
Definition: fs_pdf3d.h:960
PDF3DActivationEnableSetting
Enumeration for activation enable setting for the 3D launch setting type.
Definition: fs_pdf3d.h:608
Left,top,front,(ortho)Iso(perspective).
Definition: fs_pdf3d.h:964
Left,top,front,(perspective)Iso(ortho).
Definition: fs_pdf3d.h:966
Definition: fs_annot.h:1006
PDF3DPosterImageSetting poster_image
The poster image. Please refer to values starting from PDF3DLaunchSetting::e_3DPosterImageKeepCurrent...
Definition: fs_pdf3d.h:851
PDF3DLaunchSetting(const PDF3DLaunchSetting &launch_setting)
Constructor, with another 3D launch setting object.
Definition: fs_pdf3d.h:692
void UpdateCanvas(RectI rect)
Update the canvas.
Foxit namespace.
Definition: fs_pdf3d.h:26
PDF3DAdvancedSetting(foxit::RGB background_color, PDF3DLightingScheme lighting_scheme, PDF3DRenderingStyle rendering_style, PDF3DAnimationStyle animation_style, PDF3DDefaultViews default_views, bool is_add_default_views, bool is_retain_views_and_comments, bool is_show_tool_bar, bool is_open_model_tree, WString script_file_path)
Constructor with parameter.
Definition: fs_pdf3d.h:1049
PDF3DAnnotViewData & operator=(const PDF3DAnnotViewData &data)
Assign operator.
Definition: fs_pdf3d.h:53
Definition: fs_pdf3d.h:601
PDF3DAppearanceSettingBorderWidth border_width
The border width setting for 3D. Please refer to values starting from PDF3DLaunchSetting::e_3DAppeara...
Definition: fs_pdf3d.h:838
PDF3DAdvancedSetting & operator=(const PDF3DAdvancedSetting &advanced_setting)
Assign operator.
Definition: fs_pdf3d.h:1013
void Set(PDF3DActivationEnableSetting activation_enable, PDF3DActivationDisableSetting activation_disable, PDF3DActivationPlaybackStyleSetting activation_playback, int window_width, int window_height, PDF3DAppearanceSettingBorderWidth border_width, bool is_transparent_background, PDF3DPosterImageSetting poster_image, WString poster_file_path)
Set the values.
Definition: fs_pdf3d.h:767
#define NULL
The null-pointer value.
Definition: fx_system.h:792
void Invalidate()
Refresh 3D Objects.
void SetController(PDF3DController tool_tag)
Set controller.
bool operator!=(const char *str1, const CFX_ByteString &str2)
Check if two byte strings are not equal.
Definition: fs_basictypes.h:140
bool IsEmpty() const
Check whether current object is empty or not.
PDF3DContext(const pdf::PDFDoc &doc)
Constructor, with a PDF document object.
PDF3DController
Enumeration for the 3D controller tool.
Definition: fs_pdf3d.h:226
PDF3DDefaultViews
Enumeration for default views for the 3D advanced setting type.
Definition: fs_pdf3d.h:956
bool operator!=(const PDF3DContext &other) const
Not equal operator.
PDF3DActivationPlaybackStyleSetting
Enumeration for activation playback style for the 3D launch setting type.
Definition: fs_pdf3d.h:636
void ResetDefaultView()
Reset the view back to the default view, the 3D model will be reset to its default state.
void OnLButtonUp(int flag, PointF point)
Call this function when releasing the left button.
Definition: fx_coordinates.h:771