Free Electron
SurfacePointsHoudini.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __surface_SurfacePointsHoudini_h__
8 #define __surface_SurfacePointsHoudini_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 /**************************************************************************//**
16  @brief Houdini Point Cloud
17 
18  @ingroup houdini
19 *//***************************************************************************/
20 class FE_DL_EXPORT SurfacePointsHoudini:
21  public SurfaceCurves,
22  public CastableAs<SurfacePointsHoudini>
23 {
24  public:
26 virtual ~SurfacePointsHoudini(void);
27 
28  //* As Protectable
29 virtual Protectable* clone(Protectable* pInstance=NULL);
30 
31  //* Houdini specific
32  void setGdp(const GU_Detail* a_pGdp)
33  {
34  m_pGdp=a_pGdp;
35  }
36 const GU_Detail* gdp(void) const { return m_pGdp; }
37 
38  void setSubIndex(I32 a_subIndex)
39  { m_subIndex=a_subIndex; }
40  I32 subIndex(void) const
41  { return m_subIndex; }
42 
43  void setGroup(String a_group)
44  { m_group=a_group; }
45  String group(void) const
46  { return m_group; }
47 
48  protected:
49 
50 virtual void cache(void);
51 
52  private:
53 
54 const GU_Detail* m_pGdp;
55  String m_group;
56  I32 m_subIndex;
57 };
58 
59 } /* namespace ext */
60 } /* namespace fe */
61 
62 #endif /* __surface_SurfacePointsHoudini_h__ */
Houdini Point Cloud.
Definition: SurfacePointsHoudini.h:20
Base class providing protection counting for cp<>
Definition: Protectable.h:28
kernel
Definition: namespace.dox:3
Automatically reference-counted string container.
Definition: String.h:128
Segmented Path Surface.
Definition: SurfaceCurves.h:22
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192