HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HOM_SceneViewer Class Referenceabstract

#include <HOM_SceneViewer.h>

+ Inheritance diagram for HOM_SceneViewer:

Public Member Functions

 HOM_SceneViewer ()
 
 HOM_SceneViewer (const HOM_SceneViewer &pane)
 
virtual ~HOM_SceneViewer ()
 
virtual std::vector
< HOM_ElemPtr
< HOM_GeometryViewport > > 
viewports ()=0
 
virtual HOM_GeometryViewportfindViewport (const char *name)=0
 
virtual HOM_GeometryViewportcurViewport ()=0
 
virtual std::string currentState ()=0
 
virtual void enterViewState (bool wait_for_exit=false)=0
 
virtual void enterCurrentNodeState (bool wait_for_exit=false)=0
 
virtual void enterTranslateToolState (bool wait_for_exit=false)=0
 
virtual void enterRotateToolState (bool wait_for_exit=false)=0
 
virtual void enterScaleToolState (bool wait_for_exit=false)=0
 
virtual void setCurrentState (const char *state, bool wait_for_exit=false, const HOM_EnumValue &generate=HOM_stateGenerateMode::Insert, bool request_new_on_generate=false)=0
 
virtual bool isCreateInContext ()=0
 
virtual HOM_EnumValueviewportLayout ()=0
 
virtual void setViewportLayout (HOM_EnumValue &layout, int single=-1)=0
 
virtual std::vector
< HOM_ElemPtr< HOM_Node > > 
selectObjects (const char *prompt="Select objects", int sel_index=0, bool allow_drag=false, bool quick_select=false, bool use_existing_selection=true, bool allow_multisel=true, const std::vector< std::string > &allowed_types=std::vector< std::string >(1,"*"), const char *icon=NULL, const char *label=NULL, const std::vector< std::string > &prior_selection_paths=std::vector< std::string >(), const std::vector< std::string > &prior_selection_ids=std::vector< std::string >(), const std::vector< HOM_Selection * > &prior_selections=std::vector< HOM_Selection * >(), HOM_ParmTemplateGroup *toolbox_templategroup=nullptr, HOM_ParmTemplateGroup *toolbox1_templategroup=nullptr, bool confirm_existing=false)=0
 
virtual HOM_GeometrySelectionselectGeometry (const char *prompt="Select geometry", int sel_index=0, bool allow_drag=false, bool quick_select=false, bool use_existing_selection=true, const char *initial_selection=NULL, HOM_EnumValue *initial_selection_type=NULL, bool ordered=false, const std::vector< HOM_EnumValue * > geometry_types=std::vector< HOM_EnumValue * >(), const std::vector< HOM_EnumValue * > primitive_types=std::vector< HOM_EnumValue * >(), bool allow_obj_sel=true, const char *icon=NULL, const char *label=NULL, const std::vector< std::string > &prior_selection_paths=std::vector< std::string >(), const std::vector< std::string > &prior_selection_ids=std::vector< std::string >(), const std::vector< HOM_Selection * > &prior_selections=std::vector< HOM_Selection * >(), bool allow_other_sops=true, bool consume_selections=true)=0
 
virtual std::vector
< HOM_ElemPtr< HOM_DopData > > 
selectDynamics (const char *prompt="Select dynamics objects", int sel_index=0, bool allow_objects=true, bool allow_modifiers=false, bool quick_select=false, bool use_existing_selection=true, bool allow_multisel=true, const char *icon=NULL, const char *label=NULL, const std::vector< std::string > &prior_selection_paths=std::vector< std::string >(), const std::vector< std::string > &prior_selection_ids=std::vector< std::string >(), const std::vector< HOM_Selection * > &prior_selections=std::vector< HOM_Selection * >())=0
 
virtual std::vector< std::pair
< HOM_ElemPtr< HOM_DopData >
, HOM_ElemPtr
< HOM_GeometrySelection > > > 
selectDynamicsPoints (const char *prompt="Select dynamics points", int sel_index=0, bool quick_select=false, bool use_existing_selection=true, bool allow_multisel=true, bool only_select_points=true, bool object_based_point_selection=false, bool use_last_selected_object=false, const char *icon=NULL, const char *label=NULL, const std::vector< std::string > &prior_selection_paths=std::vector< std::string >(), const std::vector< std::string > &prior_selection_ids=std::vector< std::string >(), const std::vector< HOM_Selection * > &prior_selections=std::vector< HOM_Selection * >())=0
 
virtual std::vector< std::pair
< HOM_ElemPtr< HOM_DopData >
, HOM_ElemPtr
< HOM_GeometrySelection > > > 
selectDynamicsPolygons (const char *prompt="Select dynamics polygons", int sel_index=0, bool quick_select=false, bool use_existing_selection=true, bool object_based_point_selection=false, bool use_last_selected_object=false, const char *icon=NULL, const char *label=NULL, const std::vector< std::string > &prior_selection_paths=std::vector< std::string >(), const std::vector< std::string > &prior_selection_ids=std::vector< std::string >(), const std::vector< HOM_Selection * > &prior_selections=std::vector< HOM_Selection * >())=0
 
virtual std::vector
< HOM_ElemPtr< HOM_Vector3 > > 
selectPositions (const char *prompt="Click to specify a position", int number_of_positions=1, bool connect_positions=true, bool show_coordinates=true, const HOM_BoundingBox &bbox=HOM_BoundingBox(), HOM_EnumValue &position_type=HOM_positionType::WorldSpace, const char *icon=NULL, const char *label=NULL)=0
 
virtual HOM_GeometrySelectioncurrentGeometrySelection ()=0
 
virtual void setCurrentGeometrySelection (HOM_EnumValue &geometry_type, const std::vector< HOM_Node * > &nodes, const std::vector< HOM_Selection * > &selections)=0
 
virtual HOM_EnumValuesnappingMode ()=0
 
virtual void setSnappingMode (HOM_EnumValue &snapping_mode)=0
 
virtual bool isSnappingToTemplates ()=0
 
virtual void setSnapToTemplates (bool on)=0
 
virtual bool isSnappingToOtherObjects ()=0
 
virtual void setSnapToOtherObjects (bool on)=0
 
virtual bool isDepthSnapping ()=0
 
virtual void setDepthSnapping (bool on)=0
 
virtual bool isOrientingOnSnap ()=0
 
virtual void setOrientOnSnap (bool on)=0
 
virtual bool isPickingVisibleGeometry ()=0
 
virtual void setPickingVisibleGeometry (bool on)=0
 
virtual bool isPickingContainedGeometry ()=0
 
virtual void setPickingContainedGeometry (bool on)=0
 
virtual bool isGroupPicking ()=0
 
virtual void setGroupPicking (bool on)=0
 
virtual bool isWholeGeometryPicking ()=0
 
virtual void setWholeGeometryPicking (bool on)=0
 
virtual bool isSecureSelection ()=0
 
virtual void setSecureSelection (bool on)=0
 
virtual bool isPickingCurrentNode ()=0
 
virtual void setPickingCurrentNode (bool on)=0
 
virtual HOM_EnumValuepickGeometryType ()=0
 
virtual void setPickGeometryType (HOM_EnumValue &geometry_type)=0
 
virtual HOM_EnumValueselectionMode ()=0
 
virtual void setSelectionMode (HOM_EnumValue &style)=0
 
virtual HOM_EnumValuepickStyle ()=0
 
virtual void setPickStyle (HOM_EnumValue &style)=0
 
virtual HOM_EnumValuepickModifier ()=0
 
virtual void setPickModifier (HOM_EnumValue &modifier)=0
 
virtual HOM_EnumValuedefaultPickModifier ()=0
 
virtual void setDefaultPickModifier (HOM_EnumValue &modifier)=0
 
virtual HOM_EnumValuepickFacing ()=0
 
virtual void setPickFacing (HOM_EnumValue &facing)=0
 
virtual bool isGroupListVisible ()=0
 
virtual void setGroupListVisible (bool on)=0
 
virtual bool isGroupListColoringGeometry ()=0
 
virtual void setGroupListColoringGeometry (bool on)=0
 
virtual bool isGroupListShowingEmptyGroups ()=0
 
virtual void setGroupListShowingEmptyGroups (bool on)=0
 
virtual bool isGroupListShowingOnlyPreSelectedGroups ()=0
 
virtual void setGroupListShowingOnlyPreSelectedGroups (bool on)=0
 
virtual bool isGroupListCondensingPathHierarchies ()=0
 
virtual void setGroupListCondensingPathHierarchies (bool on)=0
 
virtual HOM_Vector2groupListSize ()=0
 
virtual void setGroupListSize (double width, double height)=0
 
virtual HOM_EnumValuegroupListType ()=0
 
virtual void setGroupListType (HOM_EnumValue &group_list_type)=0
 
virtual std::string groupListMask ()=0
 
virtual void setGroupListMask (const char *mask)=0
 
virtual HOM_ConstructionPlaneconstructionPlane ()=0
 
virtual HOM_FlipbookSettingsflipbookSettings ()=0
 
virtual void flipbook (HOM_GeometryViewport *viewport=NULL, HOM_FlipbookSettings *settings=NULL, bool open_dialog=false)=0
 
virtual void runShelfTool (const char *tool_name)=0
 
virtual void displayRadialMenu (const std::string &name)=0
 
- Public Member Functions inherited from HOM_PathBasedPaneTab
 HOM_PathBasedPaneTab ()
 
 HOM_PathBasedPaneTab (const HOM_PathBasedPaneTab &pane)
 
virtual ~HOM_PathBasedPaneTab ()
 
virtual HOM_Nodepwd ()=0
 
virtual void setPwd (HOM_Node &node)=0
 
virtual void cd (const char *path)=0
 
virtual HOM_NodecurrentNode ()=0
 
virtual void setCurrentNode (HOM_Node &node, bool pick_node=true)=0
 
- Public Member Functions inherited from HOM_PaneTab
 HOM_PaneTab ()
 
 HOM_PaneTab (const HOM_PaneTab &)
 
virtual ~HOM_PaneTab ()
 
virtual bool operator== (HOM_PtrOrNull< HOM_PaneTab > pane_tab)=0
 
virtual bool operator!= (HOM_PtrOrNull< HOM_PaneTab > pane_tab)=0
 
virtual int __hash__ ()=0
 
virtual std::string __repr__ ()=0
 
virtual HOM_Panepane ()=0
 
virtual HOM_FloatingPanelfloatingPanel ()=0
 
virtual std::string name ()=0
 
virtual void setName (const char *name)=0
 
virtual bool isCurrentTab ()=0
 
virtual void setIsCurrentTab ()=0
 
virtual bool isFloating ()=0
 
virtual HOM_PaneTabclone ()=0
 
virtual void close ()=0
 
virtual HOM_EnumValuetype ()=0
 
virtual HOM_PaneTabsetType (HOM_EnumValue &type)=0
 
virtual HOM_EnumValuelinkGroup ()=0
 
virtual void setLinkGroup (HOM_EnumValue &group)=0
 
virtual bool isPin ()=0
 
virtual void setPin (bool pin)=0
 

Detailed Description

Definition at line 29 of file HOM_SceneViewer.h.

Constructor & Destructor Documentation

HOM_SceneViewer::HOM_SceneViewer ( )
inline

Definition at line 32 of file HOM_SceneViewer.h.

HOM_SceneViewer::HOM_SceneViewer ( const HOM_SceneViewer pane)
inline

Definition at line 38 of file HOM_SceneViewer.h.

virtual HOM_SceneViewer::~HOM_SceneViewer ( )
inlinevirtual

Definition at line 42 of file HOM_SceneViewer.h.

Member Function Documentation

virtual HOM_ConstructionPlane* HOM_SceneViewer::constructionPlane ( )
pure virtual
virtual HOM_GeometrySelection* HOM_SceneViewer::currentGeometrySelection ( )
pure virtual
virtual std::string HOM_SceneViewer::currentState ( )
pure virtual
virtual HOM_GeometryViewport* HOM_SceneViewer::curViewport ( )
pure virtual
virtual HOM_EnumValue& HOM_SceneViewer::defaultPickModifier ( )
pure virtual
virtual void HOM_SceneViewer::displayRadialMenu ( const std::string name)
pure virtual
virtual void HOM_SceneViewer::enterCurrentNodeState ( bool  wait_for_exit = false)
pure virtual
virtual void HOM_SceneViewer::enterRotateToolState ( bool  wait_for_exit = false)
pure virtual
virtual void HOM_SceneViewer::enterScaleToolState ( bool  wait_for_exit = false)
pure virtual
virtual void HOM_SceneViewer::enterTranslateToolState ( bool  wait_for_exit = false)
pure virtual
virtual void HOM_SceneViewer::enterViewState ( bool  wait_for_exit = false)
pure virtual
virtual HOM_GeometryViewport* HOM_SceneViewer::findViewport ( const char *  name)
pure virtual
virtual void HOM_SceneViewer::flipbook ( HOM_GeometryViewport viewport = NULL,
HOM_FlipbookSettings settings = NULL,
bool  open_dialog = false 
)
pure virtual
virtual HOM_FlipbookSettings* HOM_SceneViewer::flipbookSettings ( )
pure virtual
virtual std::string HOM_SceneViewer::groupListMask ( )
pure virtual
virtual HOM_Vector2* HOM_SceneViewer::groupListSize ( )
pure virtual
virtual HOM_EnumValue& HOM_SceneViewer::groupListType ( )
pure virtual
virtual bool HOM_SceneViewer::isCreateInContext ( )
pure virtual
virtual bool HOM_SceneViewer::isDepthSnapping ( )
pure virtual
virtual bool HOM_SceneViewer::isGroupListColoringGeometry ( )
pure virtual
virtual bool HOM_SceneViewer::isGroupListCondensingPathHierarchies ( )
pure virtual
virtual bool HOM_SceneViewer::isGroupListShowingEmptyGroups ( )
pure virtual
virtual bool HOM_SceneViewer::isGroupListShowingOnlyPreSelectedGroups ( )
pure virtual
virtual bool HOM_SceneViewer::isGroupListVisible ( )
pure virtual
virtual bool HOM_SceneViewer::isGroupPicking ( )
pure virtual
virtual bool HOM_SceneViewer::isOrientingOnSnap ( )
pure virtual
virtual bool HOM_SceneViewer::isPickingContainedGeometry ( )
pure virtual
virtual bool HOM_SceneViewer::isPickingCurrentNode ( )
pure virtual
virtual bool HOM_SceneViewer::isPickingVisibleGeometry ( )
pure virtual
virtual bool HOM_SceneViewer::isSecureSelection ( )
pure virtual
virtual bool HOM_SceneViewer::isSnappingToOtherObjects ( )
pure virtual
virtual bool HOM_SceneViewer::isSnappingToTemplates ( )
pure virtual
virtual bool HOM_SceneViewer::isWholeGeometryPicking ( )
pure virtual
virtual HOM_EnumValue& HOM_SceneViewer::pickFacing ( )
pure virtual
virtual HOM_EnumValue& HOM_SceneViewer::pickGeometryType ( )
pure virtual
virtual HOM_EnumValue& HOM_SceneViewer::pickModifier ( )
pure virtual
virtual HOM_EnumValue& HOM_SceneViewer::pickStyle ( )
pure virtual
virtual void HOM_SceneViewer::runShelfTool ( const char *  tool_name)
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_DopData> > HOM_SceneViewer::selectDynamics ( const char *  prompt = "Select dynamics objects",
int  sel_index = 0,
bool  allow_objects = true,
bool  allow_modifiers = false,
bool  quick_select = false,
bool  use_existing_selection = true,
bool  allow_multisel = true,
const char *  icon = NULL,
const char *  label = NULL,
const std::vector< std::string > &  prior_selection_paths = std::vector< std::string >(),
const std::vector< std::string > &  prior_selection_ids = std::vector< std::string >(),
const std::vector< HOM_Selection * > &  prior_selections = std::vector< HOM_Selection * >() 
)
pure virtual
virtual std::vector<std::pair<HOM_ElemPtr<HOM_DopData>, HOM_ElemPtr<HOM_GeometrySelection> > > HOM_SceneViewer::selectDynamicsPoints ( const char *  prompt = "Select dynamics points",
int  sel_index = 0,
bool  quick_select = false,
bool  use_existing_selection = true,
bool  allow_multisel = true,
bool  only_select_points = true,
bool  object_based_point_selection = false,
bool  use_last_selected_object = false,
const char *  icon = NULL,
const char *  label = NULL,
const std::vector< std::string > &  prior_selection_paths = std::vector< std::string >(),
const std::vector< std::string > &  prior_selection_ids = std::vector< std::string >(),
const std::vector< HOM_Selection * > &  prior_selections = std::vector< HOM_Selection * >() 
)
pure virtual
virtual std::vector<std::pair<HOM_ElemPtr<HOM_DopData>, HOM_ElemPtr<HOM_GeometrySelection> > > HOM_SceneViewer::selectDynamicsPolygons ( const char *  prompt = "Select dynamics polygons",
int  sel_index = 0,
bool  quick_select = false,
bool  use_existing_selection = true,
bool  object_based_point_selection = false,
bool  use_last_selected_object = false,
const char *  icon = NULL,
const char *  label = NULL,
const std::vector< std::string > &  prior_selection_paths = std::vector< std::string >(),
const std::vector< std::string > &  prior_selection_ids = std::vector< std::string >(),
const std::vector< HOM_Selection * > &  prior_selections = std::vector< HOM_Selection * >() 
)
pure virtual
virtual HOM_GeometrySelection* HOM_SceneViewer::selectGeometry ( const char *  prompt = "Select geometry",
int  sel_index = 0,
bool  allow_drag = false,
bool  quick_select = false,
bool  use_existing_selection = true,
const char *  initial_selection = NULL,
HOM_EnumValue initial_selection_type = NULL,
bool  ordered = false,
const std::vector< HOM_EnumValue * >  geometry_types = std::vector< HOM_EnumValue * >(),
const std::vector< HOM_EnumValue * >  primitive_types = std::vector< HOM_EnumValue * >(),
bool  allow_obj_sel = true,
const char *  icon = NULL,
const char *  label = NULL,
const std::vector< std::string > &  prior_selection_paths = std::vector< std::string >(),
const std::vector< std::string > &  prior_selection_ids = std::vector< std::string >(),
const std::vector< HOM_Selection * > &  prior_selections = std::vector< HOM_Selection * >(),
bool  allow_other_sops = true,
bool  consume_selections = true 
)
pure virtual
virtual HOM_EnumValue& HOM_SceneViewer::selectionMode ( )
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_Node> > HOM_SceneViewer::selectObjects ( const char *  prompt = "Select objects",
int  sel_index = 0,
bool  allow_drag = false,
bool  quick_select = false,
bool  use_existing_selection = true,
bool  allow_multisel = true,
const std::vector< std::string > &  allowed_types = std::vector< std::string >(1,"*"),
const char *  icon = NULL,
const char *  label = NULL,
const std::vector< std::string > &  prior_selection_paths = std::vector< std::string >(),
const std::vector< std::string > &  prior_selection_ids = std::vector< std::string >(),
const std::vector< HOM_Selection * > &  prior_selections = std::vector< HOM_Selection * >(),
HOM_ParmTemplateGroup toolbox_templategroup = nullptr,
HOM_ParmTemplateGroup toolbox1_templategroup = nullptr,
bool  confirm_existing = false 
)
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_Vector3> > HOM_SceneViewer::selectPositions ( const char *  prompt = "Click to specify a position",
int  number_of_positions = 1,
bool  connect_positions = true,
bool  show_coordinates = true,
const HOM_BoundingBox bbox = HOM_BoundingBox(),
HOM_EnumValue position_type = HOM_positionType::WorldSpace,
const char *  icon = NULL,
const char *  label = NULL 
)
pure virtual
virtual void HOM_SceneViewer::setCurrentGeometrySelection ( HOM_EnumValue geometry_type,
const std::vector< HOM_Node * > &  nodes,
const std::vector< HOM_Selection * > &  selections 
)
pure virtual
virtual void HOM_SceneViewer::setCurrentState ( const char *  state,
bool  wait_for_exit = false,
const HOM_EnumValue generate = HOM_stateGenerateMode::Insert,
bool  request_new_on_generate = false 
)
pure virtual
virtual void HOM_SceneViewer::setDefaultPickModifier ( HOM_EnumValue modifier)
pure virtual
virtual void HOM_SceneViewer::setDepthSnapping ( bool  on)
pure virtual
virtual void HOM_SceneViewer::setGroupListColoringGeometry ( bool  on)
pure virtual
virtual void HOM_SceneViewer::setGroupListCondensingPathHierarchies ( bool  on)
pure virtual
virtual void HOM_SceneViewer::setGroupListMask ( const char *  mask)
pure virtual
virtual void HOM_SceneViewer::setGroupListShowingEmptyGroups ( bool  on)
pure virtual
virtual void HOM_SceneViewer::setGroupListShowingOnlyPreSelectedGroups ( bool  on)
pure virtual
virtual void HOM_SceneViewer::setGroupListSize ( double  width,
double  height 
)
pure virtual
virtual void HOM_SceneViewer::setGroupListType ( HOM_EnumValue group_list_type)
pure virtual
virtual void HOM_SceneViewer::setGroupListVisible ( bool  on)
pure virtual
virtual void HOM_SceneViewer::setGroupPicking ( bool  on)
pure virtual
virtual void HOM_SceneViewer::setOrientOnSnap ( bool  on)
pure virtual
virtual void HOM_SceneViewer::setPickFacing ( HOM_EnumValue facing)
pure virtual
virtual void HOM_SceneViewer::setPickGeometryType ( HOM_EnumValue geometry_type)
pure virtual
virtual void HOM_SceneViewer::setPickingContainedGeometry ( bool  on)
pure virtual
virtual void HOM_SceneViewer::setPickingCurrentNode ( bool  on)
pure virtual
virtual void HOM_SceneViewer::setPickingVisibleGeometry ( bool  on)
pure virtual
virtual void HOM_SceneViewer::setPickModifier ( HOM_EnumValue modifier)
pure virtual
virtual void HOM_SceneViewer::setPickStyle ( HOM_EnumValue style)
pure virtual
virtual void HOM_SceneViewer::setSecureSelection ( bool  on)
pure virtual
virtual void HOM_SceneViewer::setSelectionMode ( HOM_EnumValue style)
pure virtual
virtual void HOM_SceneViewer::setSnappingMode ( HOM_EnumValue snapping_mode)
pure virtual
virtual void HOM_SceneViewer::setSnapToOtherObjects ( bool  on)
pure virtual
virtual void HOM_SceneViewer::setSnapToTemplates ( bool  on)
pure virtual
virtual void HOM_SceneViewer::setViewportLayout ( HOM_EnumValue layout,
int  single = -1 
)
pure virtual
virtual void HOM_SceneViewer::setWholeGeometryPicking ( bool  on)
pure virtual
virtual HOM_EnumValue& HOM_SceneViewer::snappingMode ( )
pure virtual
virtual HOM_EnumValue& HOM_SceneViewer::viewportLayout ( )
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_GeometryViewport> > HOM_SceneViewer::viewports ( )
pure virtual

The documentation for this class was generated from the following file: