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

#include <HOM_ChannelPrim.h>

+ Inheritance diagram for HOM_ChannelPrim:

Public Member Functions

 HOM_ChannelPrim ()
 
 HOM_ChannelPrim (const HOM_ChannelPrim &face)
 
 ~HOM_ChannelPrim () override
 
virtual HOM_Vertexvertex (int index)=0
 
virtual HOM_VertexaddVertex (HOM_Point &point)=0
 
virtual double start ()=0
 
virtual double end ()=0
 
virtual double length ()=0
 
virtual double defaultValue ()=0
 
virtual void setDefaultValue (double value)=0
 
virtual double eval (double frame)=0
 
virtual double _evalSlope (double frame)=0
 
virtual bool hasKeyAtFrame (double frame)=0
 
virtual void insertKey (double frame, bool auto_slope=true)=0
 
virtual void destroyKey (double frame)=0
 
virtual void clear ()=0
 
virtual int keyIndex (double frame)=0
 
virtual bool setKeyValue (double frame, double value, HOM_EnumValue *key_half=nullptr)=0
 
virtual bool setKeySlope (double frame, double slope, HOM_EnumValue *key_half=nullptr)=0
 
virtual bool setKeyAccel (double frame, double accel, HOM_EnumValue *key_half=nullptr)=0
 
virtual bool setKeyAutoSlope (double frame, bool auto_slope, HOM_EnumValue *key_half=nullptr)=0
 
virtual HOM_EnumValuesegmentType (double frame)=0
 Get the type of the segment that starts at the given frame. More...
 
virtual void setSegmentType (double frame, HOM_EnumValue &type)=0
 Set the type of the segment that starts at the given frame. More...
 
virtual std::vector< double > keyFrames ()=0
 
virtual std::vector< double > keyValues ()=0
 
virtual void moveKeyframes (const std::vector< int > &key_indices, const std::vector< double > &frame_offsets)=0
 
virtual void smoothAutoSlopes (bool force=false)=0
 
virtual void smoothAutoSlopesForKeys (int start_index, int end_index=-1, bool force=false)=0
 
- Public Member Functions inherited from HOM_Prim
 HOM_Prim ()
 
 HOM_Prim (const HOM_Prim &)
 
virtual ~HOM_Prim ()
 
virtual bool operator== (HOM_PtrOrNull< HOM_Prim > prim)=0
 
virtual bool operator!= (HOM_PtrOrNull< HOM_Prim > prim)=0
 
virtual int __hash__ ()=0
 
virtual std::string __repr__ ()=0
 
virtual HOM_Geometrygeometry ()=0
 
virtual int number ()=0
 
virtual HOM_EnumValuetype ()=0
 
virtual HOM_EnumValueattribType ()=0
 
virtual HOM_IterableList
< HOM_Vertex > * 
vertices ()=0
 
virtual int numVertices ()=0
 
virtual std::vector
< HOM_ElemPtr< HOM_Edge > > 
edges ()=0
 
virtual int numEdges ()=0
 
virtual double floatAttribValue (const char *name)=0
 
virtual double floatAttribValue (HOM_Attrib &attrib)=0
 
virtual std::vector< double > floatListAttribValue (const char *name)=0
 
virtual std::vector< double > floatListAttribValue (HOM_Attrib &attrib)=0
 
virtual int64 intAttribValue (const char *name)=0
 
virtual int64 intAttribValue (HOM_Attrib &attrib)=0
 
virtual std::vector< int64intListAttribValue (const char *name)=0
 
virtual std::vector< int64intListAttribValue (HOM_Attrib &attrib)=0
 
virtual std::string stringAttribValue (const char *name)=0
 
virtual std::string stringAttribValue (HOM_Attrib &attrib)=0
 
virtual std::vector< std::stringstringListAttribValue (const char *name)=0
 
virtual std::vector< std::stringstringListAttribValue (HOM_Attrib &attrib)=0
 
virtual std::map< std::string,
hboost::any > 
dictAttribValue (const char *name)=0
 
virtual std::map< std::string,
hboost::any > 
dictAttribValue (HOM_Attrib &name)=0
 
virtual std::vector< std::map
< std::string, hboost::any > > 
dictListAttribValue (const char *name)=0
 
virtual std::vector< std::map
< std::string, hboost::any > > 
dictListAttribValue (HOM_Attrib &name)=0
 
virtual void setAttribValue (HOM_Attrib &attrib, int64 attrib_value)=0
 
virtual void setAttribValue (HOM_Attrib &attrib, double attrib_value)=0
 
virtual void setAttribValue (HOM_Attrib &attrib, const char *attrib_value)=0
 
virtual void setAttribValue (HOM_Attrib &attrib, const std::vector< int64 > &attrib_value)=0
 
virtual void setAttribValue (HOM_Attrib &attrib, const std::vector< double > &attrib_value)=0
 
virtual void setAttribValue (HOM_Attrib &attrib, const std::vector< std::string > &attrib_value)=0
 
virtual void setAttribValue (HOM_Attrib &attrib, const std::map< std::string, hboost::any > &attrib_value)=0
 
virtual void setAttribValue (HOM_Attrib &attrib, const std::vector< std::map< std::string, hboost::any > > &attrib_value)=0
 
virtual void setAttribValue (const char *attrib_name, int64 attrib_value)=0
 
virtual void setAttribValue (const char *attrib_name, double attrib_value)=0
 
virtual void setAttribValue (const char *attrib_name, const char *attrib_value)=0
 
virtual void setAttribValue (const char *attrib_name, const std::vector< int64 > &attrib_value)=0
 
virtual void setAttribValue (const char *attrib_name, const std::vector< double > &attrib_value)=0
 
virtual void setAttribValue (const char *attrib_name, const std::vector< std::string > &attrib_value)=0
 
virtual void setAttribValue (const char *attrib_name, const std::map< std::string, hboost::any > &attrib_value)=0
 
virtual void setAttribValue (const char *attrib_name, const std::vector< std::map< std::string, hboost::any > > &attrib_value)=0
 
virtual std::vector< std::stringintrinsicNames ()=0
 
virtual hboost::any intrinsicValue (const char *intrinsic_name)=0
 
virtual size_t intrinsicSize (const char *intrinsic_name)=0
 
virtual bool intrinsicReadOnly (const char *intrinsic_name)=0
 
virtual void setIntrinsicValue (const char *intrinsic_name, double value)=0
 
virtual void setIntrinsicValue (const char *intrinsic_name, int value)=0
 
virtual void setIntrinsicValue (const char *intrinsic_name, int64 value)=0
 
virtual void setIntrinsicValue (const char *intrinsic_name, const char *value)=0
 
virtual void setIntrinsicValue (const char *intrinsic_name, const std::vector< double > &value)=0
 
virtual void setIntrinsicValue (const char *intrinsic_name, const std::vector< int > &value)=0
 
virtual void setIntrinsicValue (const char *intrinsic_name, const std::vector< int64 > &value)=0
 
virtual void setIntrinsicValue (const char *intrinsic_name, const std::vector< std::string > &value)=0
 
virtual HOM_Vector3positionAtInterior (double u, double v, double w=0.0)=0
 
virtual hboost::any boostAnyAttribValueAtInterior (const char *name, double u, double v, double w)=0
 
virtual hboost::any boostAnyAttribValueAtInterior (HOM_Attrib &attrib, double u, double v, double w)=0
 
virtual HOM_Point_nearestPointOnPrimToPosition (const HOM_Vector3 &uvw, const HOM_Vector3 &position)=0
 
virtual HOM_BoundingBox boundingBox ()=0
 
virtual UT_Tuple< double,
double, double > 
nearestToPosition (const std::vector< double > &position)=0
 
virtual std::vector
< HOM_ElemPtr< HOM_PrimGroup > > 
groups ()=0
 
virtual HOM_Vector2primuvConvert (const HOM_Vector2 &uv, int mode)=0
 
virtual HOM_Vector2primuvConvert (const HOM_Vector2 &uv, int mode, double tol)=0
 
virtual double primuConvert (double u, int mode)=0
 
virtual double primuConvert (double u, int mode, double tol)=0
 
virtual void _attribInfo (const char *name, int &attr_data_type, int &attr_size, bool &is_array_type)=0
 

Detailed Description

Definition at line 22 of file HOM_ChannelPrim.h.

Constructor & Destructor Documentation

HOM_ChannelPrim::HOM_ChannelPrim ( )
inline

Definition at line 25 of file HOM_ChannelPrim.h.

HOM_ChannelPrim::HOM_ChannelPrim ( const HOM_ChannelPrim face)
inline

Definition at line 27 of file HOM_ChannelPrim.h.

HOM_ChannelPrim::~HOM_ChannelPrim ( )
inlineoverride

Definition at line 30 of file HOM_ChannelPrim.h.

Member Function Documentation

virtual double HOM_ChannelPrim::_evalSlope ( double  frame)
pure virtual
virtual HOM_Vertex* HOM_ChannelPrim::addVertex ( HOM_Point point)
pure virtual
virtual void HOM_ChannelPrim::clear ( )
pure virtual
virtual double HOM_ChannelPrim::defaultValue ( )
pure virtual
virtual void HOM_ChannelPrim::destroyKey ( double  frame)
pure virtual
virtual double HOM_ChannelPrim::end ( )
pure virtual
virtual double HOM_ChannelPrim::eval ( double  frame)
pure virtual
virtual bool HOM_ChannelPrim::hasKeyAtFrame ( double  frame)
pure virtual
virtual void HOM_ChannelPrim::insertKey ( double  frame,
bool  auto_slope = true 
)
pure virtual
virtual std::vector<double> HOM_ChannelPrim::keyFrames ( )
pure virtual
virtual int HOM_ChannelPrim::keyIndex ( double  frame)
pure virtual

Get the index of the key at the given frame. Returns -1 If there is no key at that frame.

virtual std::vector<double> HOM_ChannelPrim::keyValues ( )
pure virtual
virtual double HOM_ChannelPrim::length ( )
pure virtual
virtual void HOM_ChannelPrim::moveKeyframes ( const std::vector< int > &  key_indices,
const std::vector< double > &  frame_offsets 
)
pure virtual
virtual HOM_EnumValue& HOM_ChannelPrim::segmentType ( double  frame)
pure virtual

Get the type of the segment that starts at the given frame.

virtual void HOM_ChannelPrim::setDefaultValue ( double  value)
pure virtual
virtual bool HOM_ChannelPrim::setKeyAccel ( double  frame,
double  accel,
HOM_EnumValue key_half = nullptr 
)
pure virtual
virtual bool HOM_ChannelPrim::setKeyAutoSlope ( double  frame,
bool  auto_slope,
HOM_EnumValue key_half = nullptr 
)
pure virtual
virtual bool HOM_ChannelPrim::setKeySlope ( double  frame,
double  slope,
HOM_EnumValue key_half = nullptr 
)
pure virtual
virtual bool HOM_ChannelPrim::setKeyValue ( double  frame,
double  value,
HOM_EnumValue key_half = nullptr 
)
pure virtual
virtual void HOM_ChannelPrim::setSegmentType ( double  frame,
HOM_EnumValue type 
)
pure virtual

Set the type of the segment that starts at the given frame.

virtual void HOM_ChannelPrim::smoothAutoSlopes ( bool  force = false)
pure virtual
virtual void HOM_ChannelPrim::smoothAutoSlopesForKeys ( int  start_index,
int  end_index = -1,
bool  force = false 
)
pure virtual
virtual double HOM_ChannelPrim::start ( )
pure virtual
virtual HOM_Vertex* HOM_ChannelPrim::vertex ( int  index)
pure virtual

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