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

#include <HOM_GeometryViewport.h>

Public Member Functions

 HOM_GeometryViewport ()
 
 HOM_GeometryViewport (const HOM_GeometryViewport &)
 
virtual ~HOM_GeometryViewport ()
 
virtual std::string __repr__ ()=0
 
virtual HOM_EnumValuetype ()=0
 
virtual void changeType (HOM_EnumValue &type)=0
 
virtual
HOM_GeometryViewportSettings
settings ()=0
 
virtual std::string name ()=0
 
virtual void changeName (std::string &name)=0
 
virtual void home ()=0
 
virtual void homeAll ()=0
 
virtual void homeSelected ()=0
 
virtual void homeGrid ()=0
 
virtual void homeNonTemplated ()=0
 
virtual void homeBoundingBox (HOM_BoundingBox *bbox, bool center_to_origin=false)=0
 
virtual void frameAll ()=0
 
virtual void frameBoundingBox (HOM_BoundingBox *bbox=NULL)=0
 
virtual void frameSelected ()=0
 
virtual void frameGrid ()=0
 
virtual void frameNonTemplated ()=0
 
virtual void draw ()=0
 
virtual HOM_Matrix4viewTransform ()=0
 
virtual HOM_Matrix4modelToGeometryTransform ()=0
 
virtual HOM_Matrix4cameraToModelTransform ()=0
 
virtual HOM_Matrix4ndcToCameraTransform ()=0
 
virtual HOM_Matrix4viewportToNDCTransform ()=0
 
virtual HOM_Matrix4windowToViewportTransform ()=0
 
virtual HOM_Vector3viewPivot ()=0
 
virtual std::vector< intresolutionInPixels ()=0
 
virtual HOM_ObjNodecamera ()=0
 
virtual std::string cameraPath ()=0
 
virtual void setCamera (HOM_ObjNode &camera_node)=0
 
virtual void setCamera (const char *camera_path)=0
 
virtual void saveViewToCamera (HOM_ObjNode &camera_node)=0
 
virtual
HOM_GeometryViewportCamera
defaultCamera ()=0
 
virtual void setDefaultCamera (HOM_GeometryViewportCamera *cam_settings)=0
 
virtual void useDefaultCamera ()=0
 
virtual bool isCameraLockedToView ()=0
 
virtual void lockCameraToView (bool)=0
 
virtual bool isViewExportedToCameraContinuously ()=0
 
virtual void exportViewToCameraContinuously (bool)=0
 
virtual bool isActive2D ()=0
 
virtual bool isActive3D ()=0
 
virtual bool usesConstructionPlane ()=0
 
virtual HOM_NodequeryNodeAtPixel (int x, int y, bool pick_templates=false)=0
 
virtual HOM_PrimqueryPrimAtPixel (HOM_Node *node, int x, int y)=0
 
virtual std::vector
< HOM_ElemPtr< HOM_Node > > 
_queryNodesInBox (int x, int y, int w, int h, bool pick_templates=false)=0
 
virtual std::pair< int, int_queryPrimOnDrawables (const std::vector< HOM_Drawable * > &drawables, int x, int y, bool enable_occlusion, bool handle_pick_radius=false)=0
 
virtual std::vector< std::pair
< int, HOM_ElemPtr
< HOM_Selection > > > 
_queryComponentsOnDrawables (const std::vector< HOM_Drawable * > &drawables, HOM_Vector2 &start, HOM_Vector2 *end_inclusive=nullptr, bool enable_occlusion=false, bool contained=false)=0
 
virtual HOM_GeometryqueryInspectedGeometry ()=0
 
virtual HOM_PrimqueryInspectedPrim ()=0
 
virtual std::pair< HOM_ElemPtr
< HOM_Vector3 >, HOM_ElemPtr
< HOM_Vector3 > > 
mapToWorld (double x, double y)=0
 
virtual HOM_Vector2mapToScreen (const HOM_Vector3 &pos)=0
 
virtual std::pair< int, intmapFromMouseChop (double x, double y)=0
 
virtual UT_Tuple< HOM_ElemPtr
< HOM_Vector3 >, HOM_ElemPtr
< HOM_Vector3 >, bool > 
queryWorldPositionAndNormal (int x, int y, const HOM_EnumValue selection_restriction=HOM_snapSelectionMode::SnapToAll)=0
 
virtual std::vector< intsize ()=0
 
virtual std::vector< intgeometry ()=0
 
virtual void addOpaqueEventCallback (void *callback)=0
 
virtual void removeOpaqueEventCallback (void *callback)=0
 
virtual std::vector< void * > opaqueEventCallbacks ()=0
 
virtual void clearOpaqueEventCallbacks ()=0
 

Detailed Description

Definition at line 29 of file HOM_GeometryViewport.h.

Constructor & Destructor Documentation

HOM_GeometryViewport::HOM_GeometryViewport ( )
inline

Definition at line 32 of file HOM_GeometryViewport.h.

HOM_GeometryViewport::HOM_GeometryViewport ( const HOM_GeometryViewport )
inline

Definition at line 34 of file HOM_GeometryViewport.h.

virtual HOM_GeometryViewport::~HOM_GeometryViewport ( )
inlinevirtual

Definition at line 36 of file HOM_GeometryViewport.h.

Member Function Documentation

virtual std::string HOM_GeometryViewport::__repr__ ( )
pure virtual
virtual std::vector<std::pair<int, HOM_ElemPtr<HOM_Selection> > > HOM_GeometryViewport::_queryComponentsOnDrawables ( const std::vector< HOM_Drawable * > &  drawables,
HOM_Vector2 start,
HOM_Vector2 end_inclusive = nullptr,
bool  enable_occlusion = false,
bool  contained = false 
)
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_Node> > HOM_GeometryViewport::_queryNodesInBox ( int  x,
int  y,
int  w,
int  h,
bool  pick_templates = false 
)
pure virtual
virtual std::pair<int, int> HOM_GeometryViewport::_queryPrimOnDrawables ( const std::vector< HOM_Drawable * > &  drawables,
int  x,
int  y,
bool  enable_occlusion,
bool  handle_pick_radius = false 
)
pure virtual
virtual void HOM_GeometryViewport::addOpaqueEventCallback ( void callback)
pure virtual
virtual HOM_ObjNode* HOM_GeometryViewport::camera ( )
pure virtual
virtual std::string HOM_GeometryViewport::cameraPath ( )
pure virtual
virtual HOM_Matrix4* HOM_GeometryViewport::cameraToModelTransform ( )
pure virtual
virtual void HOM_GeometryViewport::changeName ( std::string name)
pure virtual
virtual void HOM_GeometryViewport::changeType ( HOM_EnumValue type)
pure virtual
virtual void HOM_GeometryViewport::clearOpaqueEventCallbacks ( )
pure virtual
virtual HOM_GeometryViewportCamera* HOM_GeometryViewport::defaultCamera ( )
pure virtual
virtual void HOM_GeometryViewport::draw ( )
pure virtual
virtual void HOM_GeometryViewport::exportViewToCameraContinuously ( bool  )
pure virtual
virtual void HOM_GeometryViewport::frameAll ( )
pure virtual
virtual void HOM_GeometryViewport::frameBoundingBox ( HOM_BoundingBox bbox = NULL)
pure virtual
virtual void HOM_GeometryViewport::frameGrid ( )
pure virtual
virtual void HOM_GeometryViewport::frameNonTemplated ( )
pure virtual
virtual void HOM_GeometryViewport::frameSelected ( )
pure virtual
virtual std::vector<int> HOM_GeometryViewport::geometry ( )
pure virtual
virtual void HOM_GeometryViewport::home ( )
pure virtual
virtual void HOM_GeometryViewport::homeAll ( )
pure virtual
virtual void HOM_GeometryViewport::homeBoundingBox ( HOM_BoundingBox bbox,
bool  center_to_origin = false 
)
pure virtual
virtual void HOM_GeometryViewport::homeGrid ( )
pure virtual
virtual void HOM_GeometryViewport::homeNonTemplated ( )
pure virtual
virtual void HOM_GeometryViewport::homeSelected ( )
pure virtual
virtual bool HOM_GeometryViewport::isActive2D ( )
pure virtual
virtual bool HOM_GeometryViewport::isActive3D ( )
pure virtual
virtual bool HOM_GeometryViewport::isCameraLockedToView ( )
pure virtual
virtual bool HOM_GeometryViewport::isViewExportedToCameraContinuously ( )
pure virtual
virtual void HOM_GeometryViewport::lockCameraToView ( bool  )
pure virtual
virtual std::pair<int, int> HOM_GeometryViewport::mapFromMouseChop ( double  x,
double  y 
)
pure virtual
virtual HOM_Vector2* HOM_GeometryViewport::mapToScreen ( const HOM_Vector3 pos)
pure virtual
virtual std::pair<HOM_ElemPtr<HOM_Vector3>, HOM_ElemPtr<HOM_Vector3> > HOM_GeometryViewport::mapToWorld ( double  x,
double  y 
)
pure virtual
virtual HOM_Matrix4* HOM_GeometryViewport::modelToGeometryTransform ( )
pure virtual
virtual std::string HOM_GeometryViewport::name ( )
pure virtual
virtual HOM_Matrix4* HOM_GeometryViewport::ndcToCameraTransform ( )
pure virtual
virtual std::vector<void *> HOM_GeometryViewport::opaqueEventCallbacks ( )
pure virtual
virtual HOM_Geometry* HOM_GeometryViewport::queryInspectedGeometry ( )
pure virtual
virtual HOM_Prim* HOM_GeometryViewport::queryInspectedPrim ( )
pure virtual
virtual HOM_Node* HOM_GeometryViewport::queryNodeAtPixel ( int  x,
int  y,
bool  pick_templates = false 
)
pure virtual
virtual HOM_Prim* HOM_GeometryViewport::queryPrimAtPixel ( HOM_Node node,
int  x,
int  y 
)
pure virtual
virtual UT_Tuple<HOM_ElemPtr<HOM_Vector3>, HOM_ElemPtr<HOM_Vector3>, bool > HOM_GeometryViewport::queryWorldPositionAndNormal ( int  x,
int  y,
const HOM_EnumValue  selection_restriction = HOM_snapSelectionMode::SnapToAll 
)
pure virtual
virtual void HOM_GeometryViewport::removeOpaqueEventCallback ( void callback)
pure virtual
virtual std::vector<int> HOM_GeometryViewport::resolutionInPixels ( )
pure virtual
virtual void HOM_GeometryViewport::saveViewToCamera ( HOM_ObjNode camera_node)
pure virtual
virtual void HOM_GeometryViewport::setCamera ( HOM_ObjNode camera_node)
pure virtual
virtual void HOM_GeometryViewport::setCamera ( const char *  camera_path)
pure virtual
virtual void HOM_GeometryViewport::setDefaultCamera ( HOM_GeometryViewportCamera cam_settings)
pure virtual
virtual HOM_GeometryViewportSettings* HOM_GeometryViewport::settings ( )
pure virtual
virtual std::vector<int> HOM_GeometryViewport::size ( )
pure virtual
virtual HOM_EnumValue& HOM_GeometryViewport::type ( )
pure virtual
virtual void HOM_GeometryViewport::useDefaultCamera ( )
pure virtual
virtual bool HOM_GeometryViewport::usesConstructionPlane ( )
pure virtual
virtual HOM_Vector3* HOM_GeometryViewport::viewPivot ( )
pure virtual
virtual HOM_Matrix4* HOM_GeometryViewport::viewportToNDCTransform ( )
pure virtual
virtual HOM_Matrix4* HOM_GeometryViewport::viewTransform ( )
pure virtual
virtual HOM_Matrix4* HOM_GeometryViewport::windowToViewportTransform ( )
pure virtual

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