mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-14 16:19:36 +00:00
Explicitly mark overriding functions.
This commit is contained in:
parent
360794b3a4
commit
59c81976dc
3d-viewer
3d_cache
dialogs
sg
3d_canvas
3d_rendering
3d_render_ogl_legacy
3d_render_raytracing
accelerators
c3d_render_raytracing.hclight.hcmaterial.hshapes2D
cfilledcircle2d.hcitemlayercsg2d.hcpolygon2d.hcpolygon4pts2d.hcring2d.hcroundsegment2d.hctriangle2d.h
shapes3D
3d_viewer
bitmap2component
common
cvpcb
eeschema
class_sch_screen.h
dialogs
dialog_annotate.cppdialog_bom.cppdialog_choose_component.hdialog_edit_component_in_lib.hdialog_edit_component_in_schematic.cppdialog_edit_label.cppdialog_edit_libentry_fields_in_lib.cppdialog_edit_one_field.hdialog_eeschema_config.cppdialog_eeschema_options.hdialog_erc.hdialog_lib_edit_pin.hdialog_lib_edit_pin_table.cppdialog_lib_edit_pin_table.hdialog_lib_edit_text.hdialog_netlist.cppdialog_plot_schematic.hdialog_print_using_printer.cppdialog_rescue_each.cppdialog_schematic_find.h
eeschema.cpplib_arc.hlib_bezier.hlib_circle.hlib_draw_item.hlib_field.hlib_pin.hlib_polyline.hlib_rectangle.hlib_text.hlibeditframe.hnetlist_exporters
netlist_exporter_cadstar.hnetlist_exporter_generic.hnetlist_exporter_orcadpcb2.hnetlist_exporter_pspice.h
sch_base_frame.hsch_bitmap.hsch_bus_entry.hsch_component.hsch_field.hsch_junction.hsch_line.hsch_marker.hsch_no_connect.hsch_sheet.hsch_text.hsch_validators.hschframe.hviewlib_frame.hgerbview
class_gbr_layer_box_selector.hclass_gbr_screen.hclass_gerber_draw_item.hclass_gerbview_layer_widget.h
dialogs
gerbview.cppgerbview_frame.hselect_layers_to_pcb.hinclude
base_struct.hbasic_gal.hclass_base_screen.hclass_board_item.hclass_draw_panel_gal.hclass_drawpanel.hclass_pcb_screen.hclass_worksheet_dataitem.hconfig_params.hdialog_env_var_config.hdialog_get_component.hdialog_helpers.hdialog_hotkeys_editor.hdialog_shim.hdraw_frame.heda_pattern_match.hfilter_reader.h
gal
cairo
opengl
geometry
html_messagebox.hkiface_i.hkiway.hkiway_express.hkiway_player.horigin_viewitem.hplot_common.hplugins/3dapi
ifsg_appearance.hifsg_colors.hifsg_coordindex.hifsg_coords.hifsg_faceset.hifsg_index.hifsg_normals.hifsg_shape.hifsg_transform.h
reporter.hrichio.htool
ttl/halfedge
view
widgets
worksheet_shape_builder.hworksheet_viewitem.hwxBasePcbFrame.hwxPcbStruct.hwxstruct.hkicad
lib_dxf
pagelayout_editor
pcb_calculator
pcbnew
block.cppboard_commit.hclass_board.hclass_board_connected_item.hclass_dimension.hclass_drawsegment.hclass_edge_mod.hclass_marker_pcb.hclass_mire.hclass_module.hclass_netinfo.hclass_pad.hclass_pcb_layer_box_selector.hclass_pcb_layer_widget.hclass_pcb_text.hclass_text_mod.hclass_track.hclass_zone.hcollectors.h
dialogs
dialog_SVG_print.cppdialog_copper_zones.cppdialog_create_array.hdialog_design_rules.hdialog_design_rules_aux_helper_class.hdialog_display_options.hdialog_drc.hdialog_edit_module_for_BoardEditor.hdialog_edit_module_for_Modedit.hdialog_edit_module_text.hdialog_find.hdialog_footprint_wizard_list.hdialog_fp_lib_table.cppdialog_freeroute_exchange.hdialog_gendrill.hdialog_general_options.hdialog_global_deletion.hdialog_global_edit_tracks_and_vias.hdialog_global_modules_fields_edition.cppdialog_graphic_item_properties.cppdialog_graphic_item_properties_for_Modedit.cppdialog_graphic_items_options.hdialog_layers_setup.cppdialog_mask_clearance.hdialog_modedit_options.cppdialog_move_exact.hdialog_netlist.hdialog_non_copper_zones_properties.cppdialog_pad_properties.hdialog_pcb_text_properties.cppdialog_plot.hdialog_pns_diff_pair_dimensions.hdialog_pns_length_tuning_settings.hdialog_pns_settings.hdialog_print_for_modedit.cppdialog_print_using_printer.cppdialog_select_net_from_list.cppdialog_select_pretty_lib.hdialog_set_grid.cppdialog_track_via_properties.hdialog_track_via_size.hdialog_update_pcb.hwizard_3DShape_Libs_downloader.hwizard_add_fplib.h
eagle_plugin.hexporters
footprint_wizard_frame.hgithub
globaleditpad.cppgpcb_plugin.himport_dxf
kicad_plugin.hlegacy_plugin.hmodule_editor_frame.hmodview_frame.hnetlist_reader.hpcad2kicadpcb_plugin
pcb_base_edit_frame.hpcb_draw_panel_gal.hpcb_painter.hpcbnew.cppprintout_controler.hratsnest.cppratsnest_data.hratsnest_viewitem.hrouter
length_tuner_tool.hpns_diff_pair_placer.hpns_dp_meander_placer.hpns_dragger.hpns_kicad_iface.cpppns_kicad_iface.hpns_line.hpns_line_placer.hpns_meander_placer.hpns_meander_skew_placer.hpns_segment.hpns_solid.hpns_tool_base.hpns_via.hrouter_preview_item.hrouter_tool.h
sel_layer.cppspecctra.htarget_edit.cpptools
bright_box.hdrawing_tool.hedit_constraints.hedit_points.hedit_tool.hmodule_tools.hpcb_editor_control.hpcbnew_control.hpicker_tool.hplacement_tool.hpoint_editor.hselection_area.hselection_tool.hzoom_tool.h
xchgmod.cppplugins
3d/vrml
v1
vrml1_base.hvrml1_coords.hvrml1_faceset.hvrml1_group.hvrml1_matbinding.hvrml1_material.hvrml1_separator.hvrml1_shapehints.hvrml1_switch.hvrml1_transform.h
v2
vrml2_appearance.hvrml2_base.hvrml2_box.hvrml2_color.hvrml2_coords.hvrml2_faceset.hvrml2_inline.hvrml2_lineset.hvrml2_material.hvrml2_norms.hvrml2_pointset.hvrml2_shape.hvrml2_switch.hvrml2_transform.h
x3d
ldr/3d
polygon
utils/idftools
@ -39,16 +39,16 @@ private:
|
||||
|
||||
void initDialog();
|
||||
|
||||
void OnAddAlias( wxCommandEvent& event );
|
||||
void OnDelAlias( wxCommandEvent& event );
|
||||
void OnAliasMoveUp( wxCommandEvent& event );
|
||||
void OnAliasMoveDown( wxCommandEvent& event );
|
||||
void OnConfigEnvVar( wxCommandEvent& event );
|
||||
void OnHelp( wxCommandEvent& event );
|
||||
void OnAddAlias( wxCommandEvent& event ) override;
|
||||
void OnDelAlias( wxCommandEvent& event ) override;
|
||||
void OnAliasMoveUp( wxCommandEvent& event ) override;
|
||||
void OnAliasMoveDown( wxCommandEvent& event ) override;
|
||||
void OnConfigEnvVar( wxCommandEvent& event ) override;
|
||||
void OnHelp( wxCommandEvent& event ) override;
|
||||
|
||||
public:
|
||||
DLG_3D_PATH_CONFIG( wxWindow* aParent, S3D_FILENAME_RESOLVER* aResolver );
|
||||
bool TransferDataFromWindow();
|
||||
bool TransferDataFromWindow() override;
|
||||
|
||||
private:
|
||||
void updateEnvVars( void );
|
||||
|
@ -64,7 +64,7 @@ public:
|
||||
DLG_SELECT_3DMODEL( wxWindow* aParent, S3D_CACHE* aCacheManager, S3D_INFO* aModelItem,
|
||||
wxString& prevModelSelectDir, int& prevModelWildcard );
|
||||
|
||||
bool TransferDataFromWindow();
|
||||
bool TransferDataFromWindow() override;
|
||||
void OnSelectionChanged( wxTreeEvent& event );
|
||||
void OnFileActivated( wxTreeEvent& event );
|
||||
void SetRootDir( wxCommandEvent& event );
|
||||
|
@ -57,8 +57,8 @@ private:
|
||||
bool addNode( SGNODE* aNode, bool isChild );
|
||||
|
||||
public:
|
||||
void unlinkChildNode( const SGNODE* aNode );
|
||||
void unlinkRefNode( const SGNODE* aNode );
|
||||
void unlinkChildNode( const SGNODE* aNode ) override;
|
||||
void unlinkRefNode( const SGNODE* aNode ) override;
|
||||
|
||||
public:
|
||||
// note: order of transformation is Translate, Rotate, Offset
|
||||
@ -73,16 +73,16 @@ public:
|
||||
SCENEGRAPH( SGNODE* aParent );
|
||||
virtual ~SCENEGRAPH();
|
||||
|
||||
virtual bool SetParent( SGNODE* aParent, bool notify = true );
|
||||
SGNODE* FindNode(const char *aNodeName, const SGNODE *aCaller);
|
||||
bool AddRefNode( SGNODE* aNode );
|
||||
bool AddChildNode( SGNODE* aNode );
|
||||
virtual bool SetParent( SGNODE* aParent, bool notify = true ) override;
|
||||
SGNODE* FindNode(const char *aNodeName, const SGNODE *aCaller) override;
|
||||
bool AddRefNode( SGNODE* aNode ) override;
|
||||
bool AddChildNode( SGNODE* aNode ) override;
|
||||
|
||||
void ReNameNodes( void );
|
||||
bool WriteVRML( std::ofstream& aFile, bool aReuseFlag );
|
||||
void ReNameNodes( void ) override;
|
||||
bool WriteVRML( std::ofstream& aFile, bool aReuseFlag ) override;
|
||||
|
||||
bool WriteCache( std::ofstream& aFile, SGNODE* parentNode );
|
||||
bool ReadCache( std::ifstream& aFile, SGNODE* parentNode );
|
||||
bool WriteCache( std::ofstream& aFile, SGNODE* parentNode ) override;
|
||||
bool ReadCache( std::ifstream& aFile, SGNODE* parentNode ) override;
|
||||
|
||||
bool Prepare( const glm::dmat4* aTransform,
|
||||
S3D::MATLIST& materials, std::vector< SMESH >& meshes );
|
||||
|
@ -41,14 +41,14 @@ public:
|
||||
SGCOLOR emissive; // default 0.0 0.0 0.0
|
||||
SGCOLOR specular; // default 0.0 0.0 0.0
|
||||
|
||||
void unlinkChildNode( const SGNODE* aNode );
|
||||
void unlinkRefNode( const SGNODE* aNode );
|
||||
void unlinkChildNode( const SGNODE* aNode ) override;
|
||||
void unlinkRefNode( const SGNODE* aNode ) override;
|
||||
|
||||
public:
|
||||
SGAPPEARANCE( SGNODE* aParent );
|
||||
virtual ~SGAPPEARANCE();
|
||||
|
||||
virtual bool SetParent( SGNODE* aParent, bool notify = true );
|
||||
virtual bool SetParent( SGNODE* aParent, bool notify = true ) override;
|
||||
|
||||
bool SetEmissive( float aRVal, float aGVal, float aBVal );
|
||||
bool SetEmissive( const SGCOLOR* aRGBColor );
|
||||
@ -66,15 +66,15 @@ public:
|
||||
bool SetAmbient( const SGCOLOR* aRGBColor );
|
||||
bool SetAmbient( const SGCOLOR& aRGBColor );
|
||||
|
||||
SGNODE* FindNode(const char *aNodeName, const SGNODE *aCaller);
|
||||
bool AddRefNode( SGNODE* aNode );
|
||||
bool AddChildNode( SGNODE* aNode );
|
||||
SGNODE* FindNode(const char *aNodeName, const SGNODE *aCaller) override;
|
||||
bool AddRefNode( SGNODE* aNode ) override;
|
||||
bool AddChildNode( SGNODE* aNode ) override;
|
||||
|
||||
void ReNameNodes( void );
|
||||
bool WriteVRML( std::ofstream& aFile, bool aReuseFlag );
|
||||
void ReNameNodes( void ) override;
|
||||
bool WriteVRML( std::ofstream& aFile, bool aReuseFlag ) override;
|
||||
|
||||
bool WriteCache( std::ofstream& aFile, SGNODE* parentNode );
|
||||
bool ReadCache( std::ifstream& aFile, SGNODE* parentNode );
|
||||
bool WriteCache( std::ofstream& aFile, SGNODE* parentNode ) override;
|
||||
bool ReadCache( std::ifstream& aFile, SGNODE* parentNode ) override;
|
||||
};
|
||||
|
||||
#endif // SG_APPEARANCE_H
|
||||
|
@ -37,29 +37,29 @@ class SGCOLORS : public SGNODE
|
||||
public:
|
||||
std::vector< SGCOLOR > colors;
|
||||
|
||||
void unlinkChildNode( const SGNODE* aNode );
|
||||
void unlinkRefNode( const SGNODE* aNode );
|
||||
void unlinkChildNode( const SGNODE* aNode ) override;
|
||||
void unlinkRefNode( const SGNODE* aNode ) override;
|
||||
|
||||
public:
|
||||
SGCOLORS( SGNODE* aParent );
|
||||
virtual ~SGCOLORS();
|
||||
|
||||
virtual bool SetParent( SGNODE* aParent, bool notify = true );
|
||||
virtual bool SetParent( SGNODE* aParent, bool notify = true ) override;
|
||||
|
||||
SGNODE* FindNode(const char *aNodeName, const SGNODE *aCaller);
|
||||
bool AddRefNode( SGNODE* aNode );
|
||||
bool AddChildNode( SGNODE* aNode );
|
||||
SGNODE* FindNode(const char *aNodeName, const SGNODE *aCaller) override;
|
||||
bool AddRefNode( SGNODE* aNode ) override;
|
||||
bool AddChildNode( SGNODE* aNode ) override;
|
||||
|
||||
bool GetColorList( size_t& aListSize, SGCOLOR*& aColorList );
|
||||
void SetColorList( size_t aListSize, const SGCOLOR* aColorList );
|
||||
void AddColor( double aRedValue, double aGreenValue, double aBlueValue );
|
||||
void AddColor( const SGCOLOR& aColor );
|
||||
|
||||
void ReNameNodes( void );
|
||||
bool WriteVRML( std::ofstream& aFile, bool aReuseFlag );
|
||||
void ReNameNodes( void ) override;
|
||||
bool WriteVRML( std::ofstream& aFile, bool aReuseFlag ) override;
|
||||
|
||||
bool WriteCache( std::ofstream& aFile, SGNODE* parentNode );
|
||||
bool ReadCache( std::ifstream& aFile, SGNODE* parentNode );
|
||||
bool WriteCache( std::ofstream& aFile, SGNODE* parentNode ) override;
|
||||
bool ReadCache( std::ifstream& aFile, SGNODE* parentNode ) override;
|
||||
};
|
||||
|
||||
#endif // SG_COLORS_H
|
||||
|
@ -39,18 +39,18 @@ class SGCOORDS : public SGNODE
|
||||
public:
|
||||
std::vector< SGPOINT > coords;
|
||||
|
||||
void unlinkChildNode( const SGNODE* aNode );
|
||||
void unlinkRefNode( const SGNODE* aNode );
|
||||
void unlinkChildNode( const SGNODE* aNode ) override;
|
||||
void unlinkRefNode( const SGNODE* aNode ) override;
|
||||
|
||||
public:
|
||||
SGCOORDS( SGNODE* aParent );
|
||||
virtual ~SGCOORDS();
|
||||
|
||||
virtual bool SetParent( SGNODE* aParent, bool notify = true );
|
||||
virtual bool SetParent( SGNODE* aParent, bool notify = true ) override;
|
||||
|
||||
SGNODE* FindNode(const char *aNodeName, const SGNODE *aCaller);
|
||||
bool AddRefNode( SGNODE* aNode );
|
||||
bool AddChildNode( SGNODE* aNode );
|
||||
SGNODE* FindNode(const char *aNodeName, const SGNODE *aCaller) override;
|
||||
bool AddRefNode( SGNODE* aNode ) override;
|
||||
bool AddChildNode( SGNODE* aNode ) override;
|
||||
|
||||
bool GetCoordsList( size_t& aListSize, SGPOINT*& aCoordsList );
|
||||
void SetCoordsList( size_t aListSize, const SGPOINT* aCoordsList );
|
||||
@ -64,11 +64,11 @@ public:
|
||||
*/
|
||||
bool CalcNormals( SGFACESET* callingNode, SGNODE** aPtr = NULL );
|
||||
|
||||
void ReNameNodes( void );
|
||||
bool WriteVRML( std::ofstream& aFile, bool aReuseFlag );
|
||||
void ReNameNodes( void ) override;
|
||||
bool WriteVRML( std::ofstream& aFile, bool aReuseFlag ) override;
|
||||
|
||||
bool WriteCache( std::ofstream& aFile, SGNODE* parentNode );
|
||||
bool ReadCache( std::ifstream& aFile, SGNODE* parentNode );
|
||||
bool WriteCache( std::ofstream& aFile, SGNODE* parentNode ) override;
|
||||
bool ReadCache( std::ifstream& aFile, SGNODE* parentNode ) override;
|
||||
};
|
||||
|
||||
#endif // SG_COORDS_H
|
||||
|
@ -60,8 +60,8 @@ public:
|
||||
SGCOORDS* m_RCoords;
|
||||
SGNORMALS* m_RNormals;
|
||||
|
||||
void unlinkChildNode( const SGNODE* aNode );
|
||||
void unlinkRefNode( const SGNODE* aNode );
|
||||
void unlinkChildNode( const SGNODE* aNode ) override;
|
||||
void unlinkRefNode( const SGNODE* aNode ) override;
|
||||
// validate the data held by this face set
|
||||
bool validate( void );
|
||||
|
||||
@ -69,19 +69,19 @@ public:
|
||||
SGFACESET( SGNODE* aParent );
|
||||
virtual ~SGFACESET();
|
||||
|
||||
virtual bool SetParent( SGNODE* aParent, bool notify = true );
|
||||
virtual bool SetParent( SGNODE* aParent, bool notify = true ) override;
|
||||
|
||||
SGNODE* FindNode( const char *aNodeName, const SGNODE *aCaller );
|
||||
bool AddRefNode( SGNODE* aNode );
|
||||
bool AddChildNode( SGNODE* aNode );
|
||||
SGNODE* FindNode( const char *aNodeName, const SGNODE *aCaller ) override;
|
||||
bool AddRefNode( SGNODE* aNode ) override;
|
||||
bool AddChildNode( SGNODE* aNode ) override;
|
||||
|
||||
bool CalcNormals( SGNODE** aPtr );
|
||||
|
||||
void ReNameNodes( void );
|
||||
bool WriteVRML( std::ofstream& aFile, bool aReuseFlag );
|
||||
void ReNameNodes( void ) override;
|
||||
bool WriteVRML( std::ofstream& aFile, bool aReuseFlag ) override;
|
||||
|
||||
bool WriteCache( std::ofstream& aFile, SGNODE* parentNode );
|
||||
bool ReadCache( std::ifstream& aFile, SGNODE* parentNode );
|
||||
bool WriteCache( std::ofstream& aFile, SGNODE* parentNode ) override;
|
||||
bool ReadCache( std::ifstream& aFile, SGNODE* parentNode ) override;
|
||||
|
||||
/**
|
||||
* Function GatherCoordIndices
|
||||
|
@ -42,18 +42,18 @@ protected:
|
||||
public:
|
||||
// for internal SG consumption only
|
||||
std::vector< int > index;
|
||||
void unlinkChildNode( const SGNODE* aCaller );
|
||||
void unlinkRefNode( const SGNODE* aCaller );
|
||||
void unlinkChildNode( const SGNODE* aCaller ) override;
|
||||
void unlinkRefNode( const SGNODE* aCaller ) override;
|
||||
|
||||
public:
|
||||
SGINDEX( SGNODE* aParent );
|
||||
virtual ~SGINDEX();
|
||||
|
||||
virtual bool SetParent( SGNODE* aParent, bool notify = true );
|
||||
virtual bool SetParent( SGNODE* aParent, bool notify = true ) override;
|
||||
|
||||
SGNODE* FindNode(const char *aNodeName, const SGNODE *aCaller);
|
||||
bool AddRefNode( SGNODE* aNode );
|
||||
bool AddChildNode( SGNODE* aNode );
|
||||
SGNODE* FindNode(const char *aNodeName, const SGNODE *aCaller) override;
|
||||
bool AddRefNode( SGNODE* aNode ) override;
|
||||
bool AddChildNode( SGNODE* aNode ) override;
|
||||
|
||||
/**
|
||||
* Function GetIndices
|
||||
@ -88,11 +88,11 @@ public:
|
||||
*/
|
||||
void AddIndex( int aIndex );
|
||||
|
||||
void ReNameNodes( void );
|
||||
bool WriteVRML( std::ofstream& aFile, bool aReuseFlag );
|
||||
void ReNameNodes( void ) override;
|
||||
bool WriteVRML( std::ofstream& aFile, bool aReuseFlag ) override;
|
||||
|
||||
bool WriteCache( std::ofstream& aFile, SGNODE* parentNode );
|
||||
bool ReadCache( std::ifstream& aFile, SGNODE* parentNode );
|
||||
bool WriteCache( std::ofstream& aFile, SGNODE* parentNode ) override;
|
||||
bool ReadCache( std::ifstream& aFile, SGNODE* parentNode ) override;
|
||||
};
|
||||
|
||||
#endif // SG_INDEX_H
|
||||
|
@ -37,29 +37,29 @@ class SGNORMALS : public SGNODE
|
||||
public:
|
||||
std::vector< SGVECTOR > norms;
|
||||
|
||||
void unlinkChildNode( const SGNODE* aNode );
|
||||
void unlinkRefNode( const SGNODE* aNode );
|
||||
void unlinkChildNode( const SGNODE* aNode ) override;
|
||||
void unlinkRefNode( const SGNODE* aNode ) override;
|
||||
|
||||
public:
|
||||
SGNORMALS( SGNODE* aParent );
|
||||
virtual ~SGNORMALS();
|
||||
|
||||
virtual bool SetParent( SGNODE* aParent, bool notify = true );
|
||||
virtual bool SetParent( SGNODE* aParent, bool notify = true ) override;
|
||||
|
||||
SGNODE* FindNode(const char *aNodeName, const SGNODE *aCaller);
|
||||
bool AddRefNode( SGNODE* aNode );
|
||||
bool AddChildNode( SGNODE* aNode );
|
||||
SGNODE* FindNode(const char *aNodeName, const SGNODE *aCaller) override;
|
||||
bool AddRefNode( SGNODE* aNode ) override;
|
||||
bool AddChildNode( SGNODE* aNode ) override;
|
||||
|
||||
bool GetNormalList( size_t& aListSize, SGVECTOR*& aNormalList );
|
||||
void SetNormalList( size_t aListSize, const SGVECTOR* aNormalList );
|
||||
void AddNormal( double aXValue, double aYValue, double aZValue );
|
||||
void AddNormal( const SGVECTOR& aNormal );
|
||||
|
||||
void ReNameNodes( void );
|
||||
bool WriteVRML( std::ofstream& aFile, bool aReuseFlag );
|
||||
void ReNameNodes( void ) override;
|
||||
bool WriteVRML( std::ofstream& aFile, bool aReuseFlag ) override;
|
||||
|
||||
bool WriteCache( std::ofstream& aFile, SGNODE* parentNode );
|
||||
bool ReadCache( std::ifstream& aFile, SGNODE* parentNode );
|
||||
bool WriteCache( std::ofstream& aFile, SGNODE* parentNode ) override;
|
||||
bool ReadCache( std::ifstream& aFile, SGNODE* parentNode ) override;
|
||||
};
|
||||
|
||||
#endif // SG_NORMALS_H
|
||||
|
@ -51,24 +51,24 @@ public:
|
||||
SGAPPEARANCE* m_RAppearance;
|
||||
SGFACESET* m_RFaceSet;
|
||||
|
||||
void unlinkChildNode( const SGNODE* aNode );
|
||||
void unlinkRefNode( const SGNODE* aNode );
|
||||
void unlinkChildNode( const SGNODE* aNode ) override;
|
||||
void unlinkRefNode( const SGNODE* aNode ) override;
|
||||
|
||||
public:
|
||||
SGSHAPE( SGNODE* aParent );
|
||||
virtual ~SGSHAPE();
|
||||
|
||||
virtual bool SetParent( SGNODE* aParent, bool notify = true );
|
||||
virtual bool SetParent( SGNODE* aParent, bool notify = true ) override;
|
||||
|
||||
SGNODE* FindNode(const char *aNodeName, const SGNODE *aCaller);
|
||||
bool AddRefNode( SGNODE* aNode );
|
||||
bool AddChildNode( SGNODE* aNode );
|
||||
SGNODE* FindNode(const char *aNodeName, const SGNODE *aCaller) override;
|
||||
bool AddRefNode( SGNODE* aNode ) override;
|
||||
bool AddChildNode( SGNODE* aNode ) override;
|
||||
|
||||
void ReNameNodes( void );
|
||||
bool WriteVRML( std::ofstream& aFile, bool aReuseFlag );
|
||||
void ReNameNodes( void ) override;
|
||||
bool WriteVRML( std::ofstream& aFile, bool aReuseFlag ) override;
|
||||
|
||||
bool WriteCache( std::ofstream& aFile, SGNODE* parentNode );
|
||||
bool ReadCache( std::ifstream& aFile, SGNODE* parentNode );
|
||||
bool WriteCache( std::ofstream& aFile, SGNODE* parentNode ) override;
|
||||
bool ReadCache( std::ifstream& aFile, SGNODE* parentNode ) override;
|
||||
|
||||
bool Prepare( const glm::dmat4* aTransform,
|
||||
S3D::MATLIST& materials, std::vector< SMESH >& meshes );
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
m_hasMessage = false;
|
||||
}
|
||||
|
||||
REPORTER& Report( const wxString& aText, SEVERITY aSeverity = RPT_UNDEFINED )
|
||||
REPORTER& Report( const wxString& aText, SEVERITY aSeverity = RPT_UNDEFINED ) override
|
||||
{
|
||||
if( !aText.IsEmpty() )
|
||||
m_hasMessage = true;
|
||||
|
@ -64,10 +64,10 @@ public:
|
||||
~C3D_RENDER_OGL_LEGACY();
|
||||
|
||||
// Imported from C3D_RENDER_BASE
|
||||
void SetCurWindowSize( const wxSize &aSize );
|
||||
bool Redraw( bool aIsMoving, REPORTER *aStatusTextReporter );
|
||||
void SetCurWindowSize( const wxSize &aSize ) override;
|
||||
bool Redraw( bool aIsMoving, REPORTER *aStatusTextReporter ) override;
|
||||
|
||||
int GetWaitForEditingTimeOut();
|
||||
int GetWaitForEditingTimeOut() override;
|
||||
|
||||
private:
|
||||
bool initializeOpenGL();
|
||||
|
@ -118,10 +118,10 @@ public:
|
||||
~CBVH_PBRT();
|
||||
|
||||
// Imported from CGENERICACCELERATOR
|
||||
bool Intersect( const RAY &aRay, HITINFO &aHitInfo ) const;
|
||||
bool Intersect( const RAY &aRay, HITINFO &aHitInfo, unsigned int aAccNodeInfo ) const;
|
||||
bool Intersect(const RAYPACKET &aRayPacket, HITINFO_PACKET *aHitInfoPacket ) const;
|
||||
bool IntersectP( const RAY &aRay, float aMaxDistance ) const;
|
||||
bool Intersect( const RAY &aRay, HITINFO &aHitInfo ) const override;
|
||||
bool Intersect( const RAY &aRay, HITINFO &aHitInfo, unsigned int aAccNodeInfo ) const override;
|
||||
bool Intersect(const RAYPACKET &aRayPacket, HITINFO_PACKET *aHitInfoPacket ) const override;
|
||||
bool IntersectP( const RAY &aRay, float aMaxDistance ) const override;
|
||||
|
||||
private:
|
||||
|
||||
|
@ -76,8 +76,8 @@ private:
|
||||
class CCONTAINER : public CGENERICCONTAINER
|
||||
{
|
||||
public:
|
||||
bool Intersect( const RAY &aRay, HITINFO &aHitInfo ) const;
|
||||
bool IntersectP( const RAY &aRay, float aMaxDistance ) const;
|
||||
bool Intersect( const RAY &aRay, HITINFO &aHitInfo ) const override;
|
||||
bool IntersectP( const RAY &aRay, float aMaxDistance ) const override;
|
||||
};
|
||||
|
||||
#endif // _CCONTAINER_H_
|
||||
|
@ -80,7 +80,7 @@ public:
|
||||
|
||||
// Imported from CGENERICCONTAINER2D
|
||||
void GetListObjectsIntersects( const CBBOX2D & aBBox,
|
||||
CONST_LIST_OBJECT2D &aOutList ) const;
|
||||
CONST_LIST_OBJECT2D &aOutList ) const override;
|
||||
};
|
||||
|
||||
|
||||
@ -117,7 +117,7 @@ public:
|
||||
|
||||
// Imported from CGENERICCONTAINER2D
|
||||
void GetListObjectsIntersects( const CBBOX2D & aBBox,
|
||||
CONST_LIST_OBJECT2D &aOutList ) const;
|
||||
CONST_LIST_OBJECT2D &aOutList ) const override;
|
||||
};
|
||||
|
||||
#endif // _CCONTAINER2D_H_
|
||||
|
@ -64,10 +64,10 @@ public:
|
||||
~C3D_RENDER_RAYTRACING();
|
||||
|
||||
// Imported from C3D_RENDER_BASE
|
||||
void SetCurWindowSize( const wxSize &aSize );
|
||||
bool Redraw(bool aIsMoving, REPORTER *aStatusTextReporter );
|
||||
void SetCurWindowSize( const wxSize &aSize ) override;
|
||||
bool Redraw(bool aIsMoving, REPORTER *aStatusTextReporter ) override;
|
||||
|
||||
int GetWaitForEditingTimeOut();
|
||||
int GetWaitForEditingTimeOut() override;
|
||||
|
||||
private:
|
||||
bool initializeOpenGL();
|
||||
|
@ -83,7 +83,7 @@ public:
|
||||
void GetLightParameters( const SFVEC3F &aHitPoint,
|
||||
SFVEC3F &aOutVectorToLight,
|
||||
SFVEC3F &aOutLightColor,
|
||||
float &aOutDistance ) const
|
||||
float &aOutDistance ) const override
|
||||
{
|
||||
const SFVEC3F vectorLight = m_position - aHitPoint;
|
||||
|
||||
@ -134,7 +134,7 @@ public:
|
||||
void GetLightParameters( const SFVEC3F &aHitPoint,
|
||||
SFVEC3F &aOutVectorToLight,
|
||||
SFVEC3F &aOutLightColor,
|
||||
float &aOutDistance ) const
|
||||
float &aOutDistance ) const override
|
||||
{
|
||||
(void)aHitPoint; // unused
|
||||
|
||||
|
@ -123,7 +123,7 @@ public:
|
||||
const SFVEC3F &aDiffuseObjColor,
|
||||
const SFVEC3F &aDirToLight,
|
||||
const SFVEC3F &aLightColor,
|
||||
float aShadowAttenuationFactor ) const;
|
||||
float aShadowAttenuationFactor ) const override;
|
||||
};
|
||||
|
||||
#endif // _CMATERIAL_H_
|
||||
|
@ -48,11 +48,11 @@ public:
|
||||
CFILLEDCIRCLE2D( const SFVEC2F &aCenter, float aRadius, const BOARD_ITEM &aBoardItem );
|
||||
|
||||
// Imported from COBJECT2D
|
||||
bool Overlaps( const CBBOX2D &aBBox ) const;
|
||||
bool Intersects( const CBBOX2D &aBBox ) const;
|
||||
bool Intersect( const RAYSEG2D &aSegRay, float *aOutT, SFVEC2F *aNormalOut ) const;
|
||||
INTERSECTION_RESULT IsBBoxInside( const CBBOX2D &aBBox ) const;
|
||||
bool IsPointInside( const SFVEC2F &aPoint ) const;
|
||||
bool Overlaps( const CBBOX2D &aBBox ) const override;
|
||||
bool Intersects( const CBBOX2D &aBBox ) const override;
|
||||
bool Intersect( const RAYSEG2D &aSegRay, float *aOutT, SFVEC2F *aNormalOut ) const override;
|
||||
INTERSECTION_RESULT IsBBoxInside( const CBBOX2D &aBBox ) const override;
|
||||
bool IsPointInside( const SFVEC2F &aPoint ) const override;
|
||||
};
|
||||
|
||||
|
||||
|
@ -91,11 +91,11 @@ public:
|
||||
~CITEMLAYERCSG2D();
|
||||
|
||||
// Imported from COBJECT2D
|
||||
bool Overlaps( const CBBOX2D &aBBox ) const;
|
||||
bool Intersects( const CBBOX2D &aBBox ) const;
|
||||
bool Intersect( const RAYSEG2D &aSegRay, float *aOutT, SFVEC2F *aNormalOut ) const;
|
||||
INTERSECTION_RESULT IsBBoxInside( const CBBOX2D &aBBox ) const;
|
||||
bool IsPointInside( const SFVEC2F &aPoint ) const;
|
||||
bool Overlaps( const CBBOX2D &aBBox ) const override;
|
||||
bool Intersects( const CBBOX2D &aBBox ) const override;
|
||||
bool Intersect( const RAYSEG2D &aSegRay, float *aOutT, SFVEC2F *aNormalOut ) const override;
|
||||
INTERSECTION_RESULT IsBBoxInside( const CBBOX2D &aBBox ) const override;
|
||||
bool IsPointInside( const SFVEC2F &aPoint ) const override;
|
||||
};
|
||||
|
||||
|
||||
|
@ -102,11 +102,11 @@ public:
|
||||
const BOARD_ITEM &aBoardItem );
|
||||
|
||||
// Imported from COBJECT2D
|
||||
bool Overlaps( const CBBOX2D &aBBox ) const;
|
||||
bool Intersects( const CBBOX2D &aBBox ) const;
|
||||
bool Intersect( const RAYSEG2D &aSegRay, float *aOutT, SFVEC2F *aNormalOut ) const;
|
||||
INTERSECTION_RESULT IsBBoxInside( const CBBOX2D &aBBox ) const;
|
||||
bool IsPointInside( const SFVEC2F &aPoint ) const;
|
||||
bool Overlaps( const CBBOX2D &aBBox ) const override;
|
||||
bool Intersects( const CBBOX2D &aBBox ) const override;
|
||||
bool Intersect( const RAYSEG2D &aSegRay, float *aOutT, SFVEC2F *aNormalOut ) const override;
|
||||
INTERSECTION_RESULT IsBBoxInside( const CBBOX2D &aBBox ) const override;
|
||||
bool IsPointInside( const SFVEC2F &aPoint ) const override;
|
||||
};
|
||||
|
||||
|
||||
@ -126,11 +126,11 @@ public:
|
||||
CDUMMYBLOCK2D( const CBBOX2D &aBBox, const BOARD_ITEM &aBoardItem );
|
||||
|
||||
// Imported from COBJECT2D
|
||||
bool Overlaps( const CBBOX2D &aBBox ) const;
|
||||
bool Intersects( const CBBOX2D &aBBox ) const;
|
||||
bool Intersect( const RAYSEG2D &aSegRay, float *aOutT, SFVEC2F *aNormalOut ) const;
|
||||
INTERSECTION_RESULT IsBBoxInside( const CBBOX2D &aBBox ) const;
|
||||
bool IsPointInside( const SFVEC2F &aPoint ) const;
|
||||
bool Overlaps( const CBBOX2D &aBBox ) const override;
|
||||
bool Intersects( const CBBOX2D &aBBox ) const override;
|
||||
bool Intersect( const RAYSEG2D &aSegRay, float *aOutT, SFVEC2F *aNormalOut ) const override;
|
||||
INTERSECTION_RESULT IsBBoxInside( const CBBOX2D &aBBox ) const override;
|
||||
bool IsPointInside( const SFVEC2F &aPoint ) const override;
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -62,11 +62,11 @@ public:
|
||||
const SFVEC2F &GetN3() const { return m_seg_normal[3]; }
|
||||
|
||||
// Imported from COBJECT2D
|
||||
bool Overlaps( const CBBOX2D &aBBox ) const;
|
||||
bool Intersects( const CBBOX2D &aBBox ) const;
|
||||
bool Intersect( const RAYSEG2D &aSegRay, float *aOutT, SFVEC2F *aNormalOut ) const;
|
||||
INTERSECTION_RESULT IsBBoxInside( const CBBOX2D &aBBox ) const;
|
||||
bool IsPointInside( const SFVEC2F &aPoint ) const;
|
||||
bool Overlaps( const CBBOX2D &aBBox ) const override;
|
||||
bool Intersects( const CBBOX2D &aBBox ) const override;
|
||||
bool Intersect( const RAYSEG2D &aSegRay, float *aOutT, SFVEC2F *aNormalOut ) const override;
|
||||
INTERSECTION_RESULT IsBBoxInside( const CBBOX2D &aBBox ) const override;
|
||||
bool IsPointInside( const SFVEC2F &aPoint ) const override;
|
||||
};
|
||||
|
||||
|
||||
|
@ -54,11 +54,11 @@ public:
|
||||
const BOARD_ITEM &aBoardItem );
|
||||
|
||||
// Imported from COBJECT2D
|
||||
bool Overlaps( const CBBOX2D &aBBox ) const;
|
||||
bool Intersects( const CBBOX2D &aBBox ) const;
|
||||
bool Intersect( const RAYSEG2D &aSegRay, float *aOutT, SFVEC2F *aNormalOut ) const;
|
||||
INTERSECTION_RESULT IsBBoxInside( const CBBOX2D &aBBox ) const;
|
||||
bool IsPointInside( const SFVEC2F &aPoint ) const;
|
||||
bool Overlaps( const CBBOX2D &aBBox ) const override;
|
||||
bool Intersects( const CBBOX2D &aBBox ) const override;
|
||||
bool Intersect( const RAYSEG2D &aSegRay, float *aOutT, SFVEC2F *aNormalOut ) const override;
|
||||
INTERSECTION_RESULT IsBBoxInside( const CBBOX2D &aBBox ) const override;
|
||||
bool IsPointInside( const SFVEC2F &aPoint ) const override;
|
||||
};
|
||||
|
||||
|
||||
|
@ -78,11 +78,11 @@ public:
|
||||
const SFVEC2F &GetRightDir() const { return m_rightDir; }
|
||||
|
||||
// Imported from COBJECT2D
|
||||
bool Overlaps( const CBBOX2D &aBBox ) const;
|
||||
bool Intersects( const CBBOX2D &aBBox ) const;
|
||||
bool Intersect( const RAYSEG2D &aSegRay, float *aOutT, SFVEC2F *aNormalOut ) const;
|
||||
INTERSECTION_RESULT IsBBoxInside( const CBBOX2D &aBBox ) const;
|
||||
bool IsPointInside( const SFVEC2F &aPoint ) const;
|
||||
bool Overlaps( const CBBOX2D &aBBox ) const override;
|
||||
bool Intersects( const CBBOX2D &aBBox ) const override;
|
||||
bool Intersect( const RAYSEG2D &aSegRay, float *aOutT, SFVEC2F *aNormalOut ) const override;
|
||||
INTERSECTION_RESULT IsBBoxInside( const CBBOX2D &aBBox ) const override;
|
||||
bool IsPointInside( const SFVEC2F &aPoint ) const override;
|
||||
};
|
||||
|
||||
static const float s_min_dot = (FLT_EPSILON * 4.0f) ;
|
||||
|
@ -60,11 +60,11 @@ public:
|
||||
const SFVEC2F &GetP3() const { return p3; }
|
||||
|
||||
// Imported from COBJECT2D
|
||||
bool Overlaps( const CBBOX2D &aBBox ) const;
|
||||
bool Intersects( const CBBOX2D &aBBox ) const;
|
||||
bool Intersect( const RAYSEG2D &aSegRay, float *aOutT, SFVEC2F *aNormalOut ) const;
|
||||
INTERSECTION_RESULT IsBBoxInside( const CBBOX2D &aBBox ) const;
|
||||
bool IsPointInside( const SFVEC2F &aPoint ) const;
|
||||
bool Overlaps( const CBBOX2D &aBBox ) const override;
|
||||
bool Intersects( const CBBOX2D &aBBox ) const override;
|
||||
bool Intersect( const RAYSEG2D &aSegRay, float *aOutT, SFVEC2F *aNormalOut ) const override;
|
||||
INTERSECTION_RESULT IsBBoxInside( const CBBOX2D &aBBox ) const override;
|
||||
bool IsPointInside( const SFVEC2F &aPoint ) const override;
|
||||
};
|
||||
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user