HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DM_Drawable Class Reference

#include <DM_Drawable.h>

Public Member Functions

 DM_Drawable (DM_SceneManager &scene_manager, const char *name, const char *label, GU_Detail *detail=nullptr)
 
 ~DM_Drawable ()
 
void enable (bool flag)
 
bool enabled () const
 
void show (bool flag)
 
bool visible () const
 
void setVisibleInViewport (const DM_Viewport &vport)
 
void setVisibleInAllViewports ()
 
bool isVisibleInViewport (const DM_Viewport &vport) const
 
UT_Matrix4D transform () const
 
void setTransform (UT_DMatrix4 const &xform)
 
void setXray (bool value)
 
bool isXray () const
 
void setShowMaterials (bool value)
 
bool isShowMaterials () const
 
void setWireframeMode (bool value)
 
bool wireframeMode () const
 
void setWireframeColor (UT_Color const &color)
 
UT_Color wireframeColor () const
 
void setUseWireframeColor (bool value)
 
bool useWireframeColor () const
 
bool isCastShadows () const
 
void setCastShadows (bool value)
 
bool isDrawOutline () const
 
void setDrawOutline (bool value)
 
void setOutlineColor (UT_Vector4F const &color)
 
bool isSeparateOutline () const
 
void setSeparateOutline (bool value)
 
UT_Vector4F getOutlineColor () const
 
bool isOutlineOnly () const
 
void setOutlineOnly (bool value)
 
void setMaterial (RE_MaterialPtr material)
 
void setMaterial (GR_MaterialPtr material)
 
void setIsControl (bool is_control)
 
bool isControl () const
 
const char * name () const
 
const char * label () const
 
void setLabel (char const *label)
 
GU_Detaildetail ()
 
GU_Detail const * detail () const
 
void acquireDetail (GU_DetailHandle const &gdh)
 
GU_ConstDetailHandle detailHandle () const
 
void setSopNode (SOP_Node *node)
 
SOP_NodesopNode () const
 
GUI_DetailLooklook () const
 
void unregister ()
 

Detailed Description

Definition at line 30 of file DM_Drawable.h.

Constructor & Destructor Documentation

DM_Drawable::DM_Drawable ( DM_SceneManager &  scene_manager,
const char *  name,
const char *  label,
GU_Detail detail = nullptr 
)
DM_Drawable::~DM_Drawable ( )

Member Function Documentation

void DM_Drawable::acquireDetail ( GU_DetailHandle const &  gdh)
GU_Detail* DM_Drawable::detail ( )
GU_Detail const* DM_Drawable::detail ( ) const
GU_ConstDetailHandle DM_Drawable::detailHandle ( ) const
void DM_Drawable::enable ( bool  flag)
bool DM_Drawable::enabled ( ) const
UT_Vector4F DM_Drawable::getOutlineColor ( ) const
bool DM_Drawable::isCastShadows ( ) const
bool DM_Drawable::isControl ( ) const
bool DM_Drawable::isDrawOutline ( ) const
bool DM_Drawable::isOutlineOnly ( ) const
bool DM_Drawable::isSeparateOutline ( ) const
bool DM_Drawable::isShowMaterials ( ) const
bool DM_Drawable::isVisibleInViewport ( const DM_Viewport &  vport) const
bool DM_Drawable::isXray ( ) const
const char* DM_Drawable::label ( ) const
GUI_DetailLook* DM_Drawable::look ( ) const
const char* DM_Drawable::name ( ) const
void DM_Drawable::setCastShadows ( bool  value)
void DM_Drawable::setDrawOutline ( bool  value)
void DM_Drawable::setIsControl ( bool  is_control)
void DM_Drawable::setLabel ( char const *  label)
void DM_Drawable::setMaterial ( RE_MaterialPtr  material)
void DM_Drawable::setMaterial ( GR_MaterialPtr  material)
void DM_Drawable::setOutlineColor ( UT_Vector4F const &  color)
void DM_Drawable::setOutlineOnly ( bool  value)
void DM_Drawable::setSeparateOutline ( bool  value)
void DM_Drawable::setShowMaterials ( bool  value)
void DM_Drawable::setSopNode ( SOP_Node node)
void DM_Drawable::setTransform ( UT_DMatrix4 const &  xform)
void DM_Drawable::setUseWireframeColor ( bool  value)
void DM_Drawable::setVisibleInAllViewports ( )
void DM_Drawable::setVisibleInViewport ( const DM_Viewport &  vport)
void DM_Drawable::setWireframeColor ( UT_Color const &  color)
void DM_Drawable::setWireframeMode ( bool  value)
void DM_Drawable::setXray ( bool  value)
void DM_Drawable::show ( bool  flag)
SOP_Node* DM_Drawable::sopNode ( ) const
UT_Matrix4D DM_Drawable::transform ( ) const
void DM_Drawable::unregister ( )
bool DM_Drawable::useWireframeColor ( ) const
bool DM_Drawable::visible ( ) const
UT_Color DM_Drawable::wireframeColor ( ) const
bool DM_Drawable::wireframeMode ( ) const

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